Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290070 - www-client/chromium-4.0.222.6_p28888 crashes on start
Summary: www-client/chromium-4.0.222.6_p28888 crashes on start
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-21 21:51 UTC by Karl Ernst Brunk
Modified: 2010-01-16 14:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ernst Brunk 2009-10-21 21:51:37 UTC
After compiling i try to start chromium. It crashes with :
-------------------------
[15436:15436:16076787811:ERROR:chrome/browser/first_run_gtk.cc(21)] Not implemen
ted reached in static bool FirstRun::ProcessMasterPreferences(const FilePath&, c
onst FilePath&, std::vector<std::basic_string<wchar_t, std::char_traits<wchar_t>
, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char
_traits<wchar_t>, std::allocator<wchar_t> > > >*, int*, bool*)
Bus error
--------------------
Another try direct after that :
------------------
Bus error
my@host ~ $ [8958:8960:16438946458:ERROR:ipc/ipc_channel_posix.cc(814)] pipe 
error on 9: Broken pipe
------------------
This did happen on two different machines.

Reproducible: Always

Steps to Reproduce:
1.emerge chromium
2.start chromium
3.

Actual Results:  
crash

Expected Results:  
startup

Portage 2.2_rc46 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3, glibc-2.9_p20081201
-r2, 2.6.31-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gent
oo-2.1.6
Timestamp of tree: Tue, 20 Oct 2009 05:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.1.6
sys-apps/openrc:     0.5.0-r2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=amdfam10 -pipe -mfpmath=sse -fprefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/
postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc
/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/
updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=amdfam10 -pipe -mfpmath=sse -fprefetch-loop-arrays"
DISTDIR="/mnt/ext-hd-lin/distfiles"
FEATURES="assume-digests distlocks fixpackages news noinfo parallel-fetch preserve-libs 
protect-owned sandbox sfperms strict suidctl unmerge-logs unmerge-orphans userfetch user
priv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp.hea
net.ie/pub/gentoo http://distfiles.gentoo.org http://www.gigaload.org/gentoo.org/"
LANG="de_DE.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force 
--whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --excl
ude=/packages"
PORTAGE_TMPDIR="/var/tmp/compile"
PORTDIR="/var/tmp/portage"
PORTDIR_OVERLAY="/usr/local/portage_overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cap
s cdparanoia cdr cracklib crypt cups curl custom-optimization dbus dga directfb divx dri
 dvb dvd dvdr dvdread enca encode exif expat fbcon ffmpeg flac fontconfig fortran gif gi
mp gnutls gpm gs hal iconv imagemagick imlib ipv6 ithreads java java6 jpeg jpeg2k lame l
atex lcms lzo mad md5sum mmx mmxext modules mp3 mpeg mudflap mysql ncurses nls nptl nptl
only nsplugin opengl openmp pam pch pcre perl pmu png python qt4 readline rle rtc sessio
n smp spl sse sse2 ssl svg sysfs tcpd threads tiff truetype unicode usb v4l v4l2 wmf x26
4 xcb xml xorg xpm xulrunner xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="ad
pcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lflo
at linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MO
DULES="alias dir auth_basic auth_digest authz_user authz_default authz_host ident includ
e mime userdir vhost-alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="l
inux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_RS
YNC_EXTRA_OPTS

-O3 does not matter. The second machine is a Core2 with -O2 and very normal FLAGS.
Comment 1 Bernard Cafarelli gentoo-dev 2009-10-23 09:44:55 UTC
The firstrun warning is harmless, but "Bus error"? Do you have your home on NFS or other not-local storage?

Linux chromium is still developing rapidly, you may have better luck with latest version (4.0.223.5 added in portage 2 days ago).

Other possible ideas: problem with a stable lib (your other system is stable too right?), you can try with chromium-bin too (if possible), it's fast to install as it's binary-only
Comment 2 Karl Ernst Brunk 2009-10-23 13:18:42 UTC
Bus error -> Yes i saw some comments to that NFS-direction. But no - i don't have any NFS. The only things i could think of - system is running on raid-1 and 0 and behind a router-firewall. And maybe connected also : the /usr-Partition is running ro. Maybe chromium ist trying to write there. I will check with deactivated firewall and set rw on /usr.
There are some ~arch-libs but the don't harm the rest. Pretty high stability. No crashes at all.
So no change with firewall down.
No change with rw /usr.
and on plus :
-----------------
my@host ~ $ chromium-bin
[27163:27164:4494753889:ERROR:/b/slave/chromium-rel-linux-64/build/src/ipc/ipc_channel_posix.cc(451)] pipe error (7): Connection reset by peer
Bus error
-----------------

Don't put to much thinking in that. It was just interest how chromium is handling surfing. Firefox is doing good.
So where is the pipe and ipc pointing to?
One vague guess is also that my system is -gnome and there might be some more gtk/gnome dependencies like just orbit and gconf which are pulled by emerge ???
so long Karl
Comment 3 Bernard Cafarelli gentoo-dev 2009-11-05 13:24:11 UTC
The pipe and ipc are all for intra-communication between all the chrome processes (one by tab, renderer, sandbox, ...). A bug on this was fixed in recent versions, you could try with 4.0.236.0 (I've just pushed it in tree)
Comment 4 dE 2009-12-11 09:21:26 UTC
So apparent I find unmerging the browser safer since it's unusable.

[1212/070641:ERROR:base/process_util_linux.cc(502)] Not implemented reached in void base::EnableTerminationOnOutOfMemory()
[1212/070641:ERROR:base/process_util_linux.cc(502)] Not implemented reached in void base::EnableTerminationOnOutOfMemory()
[14716:14724:54769899667:ERROR:base/shared_memory_posix.cc(192)] Creating shared memory in /dev/shm/org.chromium.ptf0dV failed: No such file or directory
[14716:14716:54770125966:ERROR:base/shared_memory_posix.cc(192)] Creating shared memory in /dev/shm/org.chromium.ItopeL failed: No such file or directory
[14716:14726:54776693643:ERROR:base/shared_memory_posix.cc(192)] Creating shared memory in /dev/shm/org.chromium.zO85mH failed: No such file or directory
[14716:14726:54776693757:FATAL:chrome/browser/renderer_host/async_resource_handler.cc(178)] Check failed: read_buffer_->data(). 
Trace/breakpoint trap
Comment 5 Bernard Cafarelli gentoo-dev 2009-12-11 10:22:41 UTC
Ah this is more verbose :)

I think you have the same problem as in:
http://code.google.com/p/chromium/issues/detail?id=24213

What are the permissions on /dev/shm ? it may not be mounted correctly, should be something like:
none on /dev/shm type tmpfs (rw,relatime)

Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-01-14 17:26:24 UTC
The upstream bug has been closed as fixed, you should now get a better error message in case of permission problems with /dev/shm.
Comment 7 Karl Ernst Brunk 2010-01-15 15:05:27 UTC
today i tried ones more just to give it a chance :
emerge chromium-4.0.295.0_p35884
compiled well started and asked for import of firefox-preferences.
1. i agreed and the same story goes on : Bus Error
deleted all .config/chromium
2. i disagreed import of firefox-prefs
a window pops up as if it wanted to start and then closes with the following message in xterm :
--------------
The program 'chrome' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 967 error_code 8 request_code 12 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
---------------
3. Run with --sync leads to "Bus Error"

So my conclusion is the same as #4 for the moment. Here it's definitely no /dev/shm Problem.

Sorry to reopen a non-important bug. But it still sucks.
Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-01-16 10:51:34 UTC
Looks like we have multiple bugs in one report, eh. But anyway: please report the bug upstream, and post the link here.
Comment 9 Karl Ernst Brunk 2010-01-16 14:04:46 UTC
 Upstream now :
Issue 32461:  	 Bus Errors at start of every single version
Karl