Chromium segfaults immediately: $ chromium Segmentation fault $ emerge --info chromium Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_Q9300_@_2.53GHz-with-gentoo-1.12.13 Timestamp of tree: Thu, 03 Dec 2009 07:45:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/" LANG="en_US" LC_ALL="en_US" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/mozilla /usr/local/portage/unsupported" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acpi acpid alsa amd64 amr applet artworkextra aspell async automount avahi bash-completion berkdb bluetooth boundschecking branding bzip2 cairo cdda cddb cdr cli consolekit cpudetection cracklib crypt cscope css cups dbus dell devhelp device-mapper dga dia disk-partition diskio doc dri dts dvd dvdr elf emboss encode exif fam ffmpeg fftw firefox fuse galago gd gedit geoip gif gimp gimpprint git glade glitz gnome gnome-keyring gnome-print gnomecd gnuplot gpm gstreamer gtk hal iconv id3 id3tag imagemagick imap inherit-graph inkjar ipv6 java java6 javascript jce jpeg laptop libnotify libsamplerate lm_sensors logrotate lzma lzo mad mfd-rewrites mikmod mime mjpeg mmx mmxext modules mono moonlight mozbranding mozilla moznoirc mozsvg mp3 mp4 mpeg mudflap multilib nautilus ncurses network network-cron nfs nptl nptlonly nsplugin ntp nvidia ogg opengl openmp pam pcmcia pcre pdf perl pidgin png policykit pop ppds pppd prediction pulseaudio python quicktime rdesktop readline reflection samba sasl scanner sdl session slp smp soundex soup sourceview spell spl sqlite sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs syslog tcl tcpd templates theora threads thunar thunderbird tiff truetype unicode usb valgrind vim vim-syntax vorbis winbind wmf x264 xcb xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= www-client/chromium-4.0.260.0 was built with the following: USE="ffmpeg (multilib)"
Created attachment 212102 [details] strace log of Chromium's pains.
Chromium-bin runs on my system. This is of low importance to me (just playing around, thought I'd try it out), but figured I'd mention it.
Same here # emerge --info chromium Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 06 Dec 2009 11:00:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv ipod java jpeg kde kerberos ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg msn mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vim-syntax vnc vorbis x264 xcb xinerama xml xorg xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= www-client/chromium-4.0.260.0 was built with the following: USE="ffmpeg (multilib)"
A gdb backtrace might prove more useful than a system call trace...
This seems to only be a amd64 problem. works fine on all my x86 boxes but same problem on my amd64 box.
Hi, thanks for the report! There were some known crash issues recently, most notably tbhis one: http://code.google.com/p/chromium/issues/detail?id=28526 I've just committed 4.0.266.0 to portage, can you try and report if it also fixes your crash issues?
Crash disappeared for me after emerging (for other reasons) unstable x11-drivers/nvidia-drivers-190.42-r3 instead of x11-drivers/nvidia-drivers-185.18.36, not sure if it's related 1260124572: Started emerge on: Dec 06, 2009 19:36:12 1260124572: *** emerge --newuse --deep --update world 1260124580: >>> emerge (1 of 5) x11-libs/libvdpau-0.2 to / 1260124607: ::: completed emerge (1 of 5) x11-libs/libvdpau-0.2 to / 1260124613: >>> emerge (2 of 5) app-admin/eselect-1.2.8 to / 1260124621: ::: completed emerge (2 of 5) app-admin/eselect-1.2.8 to / 1260124621: >>> emerge (3 of 5) app-admin/eselect-opengl-1.1.1-r2 to / 1260124629: ::: completed emerge (3 of 5) app-admin/eselect-opengl-1.1.1-r2 to / 1260124629: >>> emerge (4 of 5) x11-drivers/nvidia-drivers-190.42-r3 to / 1260124660: ::: completed emerge (4 of 5) x11-drivers/nvidia-drivers-190.42-r3 to / 1260124660: >>> emerge (5 of 5) media-video/nvidia-settings-190.42 to / 1260124690: ::: completed emerge (5 of 5) media-video/nvidia-settings-190.42 to / I've also run lafilefixer --justfixit (as suggested while emerging eselect-opengl)
(In reply to comment #6) > There were some known crash issues recently, most notably tbhis one: > http://code.google.com/p/chromium/issues/detail?id=28526 > I've just committed 4.0.266.0 to portage, can you try and report if it also > fixes your crash issues? Still happens with 4.0.266.0. (In reply to comment #4) > A gdb backtrace might prove more useful than a system call trace... I rebuild chromium itself debug and get this backtrace: ---------------------------------------------------------------------------- $ gdb ${PROGDIR}/chrome GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... (gdb) r Starting program: /usr/lib64/chromium-browser/chrome [Thread debugging using libthread_db enabled] [New Thread 0x7f06db35e790 (LWP 20840)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f06db35e790 (LWP 20840)] 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x000000000090fcc3 in malloc (size=8) at base/process_util_linux.cc:563 #2 0x0000000000c30696 in v8::internal::Malloced::New (size=8) at v8/src/allocation.cc:38 #3 0x0000000000c2e352 in ThreadHandle (this=0x25a0d88, kind=v8::internal::ThreadHandle::SELF) at v8/src/allocation.h:70 #4 0x0000000000be5dcb in global constructors keyed to _ZN2v86Locker7active_E () at v8/src/v8threads.cc:265 #5 0x000000000162c0f5 in ?? () #6 0x00000000035c7a68 in ?? () #7 0x000000000162c030 in ?? () #8 0x0000000000000000 in ?? () ---------------------------------------------------------------------------- I'm going to guess that's not going to be enough. Is there something else I should be building debug? I just changed CFLAGS & added nostrip to FEATURES and reinstalled chromium. Is there something else I should do? NOTE: I also turned off optimizations when I rebuilt. -O0 and no -march specified.
www-client/chromium-4.0.251.0 works on my amd64 system. Both www-client/chromium-4.0.260.0 and www-client/chromium-4.0.266.0 segfault.
(In reply to comment #7) > Crash disappeared for me after emerging (for other reasons) unstable > x11-drivers/nvidia-drivers-190.42-r3 instead of > x11-drivers/nvidia-drivers-185.18.36, not sure if it's related > I can confirm this worked for me as well on kernel 2.6.31
So it seems this appears only on stable amd64 systems with nvidia binary drivers? (like it already happened before at http://code.google.com/p/chromium/issues/detail?id=16800 ) (In reply to comment #9) Appending -ggdb to CFLAGS and disabling stripping should be enough indeed, the missing parts of the backtrace come from other packages not built with debug infos. It seems to fail on a memory allocation test? (from base/process_util_linux.cc:563)
It is not ONLY AMD64 + nvidia. I have AMD64 and ati(xorg) driver and I have the same problem: Segfault all the time. (In reply to comment #11) > So it seems this appears only on stable amd64 systems with nvidia binary > drivers? (like it already happened before at > http://code.google.com/p/chromium/issues/detail?id=16800 ) > > (In reply to comment #9) > Appending -ggdb to CFLAGS and disabling stripping should be enough indeed, the > missing parts of the backtrace come from other packages not built with debug > infos. It seems to fail on a memory allocation test? (from > base/process_util_linux.cc:563) >
Okay, updating to x11-drivers/nvidia-drivers-190.29 fixed the problem for me. Note that 190.29 is older than what others had updated to. Chromium starts without crashing. This required upgrading to app-admin/eselect-opengl-1.1.1-r2 and app-admin/eselect-1.2.7, which also requrired a run of "lafilefixer --justfixit" per comment 7 from Daniele Gaffuri. I also ran revdep-rebuild to be safe.
CC-ing the soon-to-be co-maintainer of this package ;) So to sum it up, current versions again have a problem with "old" binary nvidia drivers (i.e < 190.29 for recent cards): as there were already some problems with these versions, we'll probably add a postinst warning message, including recommendation to upgrade to 190.xx if it crashes Radek, can you get a backtrace in your case?
I have rebuilded in debug and the problem went away. The rebuild forced some update, so I quess it was different problem and was fixed else where. (In reply to comment #14) > CC-ing the soon-to-be co-maintainer of this package ;) > > So to sum it up, current versions again have a problem with "old" binary nvidia > drivers (i.e < 190.29 for recent cards): as there were already some problems > with these versions, we'll probably add a postinst warning message, including > recommendation to upgrade to 190.xx if it crashes > > Radek, can you get a backtrace in your case? >
This worked for me. nvidia-drivers-190.29 makes chromium work fine. (In reply to comment #13) > Okay, updating to x11-drivers/nvidia-drivers-190.29 fixed the problem for me. > Note that 190.29 is older than what others had updated to. Chromium starts > without crashing. > > This required upgrading to app-admin/eselect-opengl-1.1.1-r2 and > app-admin/eselect-1.2.7, which also requrired a run of "lafilefixer > --justfixit" per comment 7 from Daniele Gaffuri. I also ran revdep-rebuild to > be safe. >
I'm on x11-drivers/nvidia-drivers-190.42-r3, chromium-bin-9999 (rev 34565) It crashes here.
(In reply to comment #17) > I'm on x11-drivers/nvidia-drivers-190.42-r3, chromium-bin-9999 (rev 34565) > > It crashes here. > With -9999 live ebuild, this may be another problem, as upstream bug does look at the old nvidia drivers as probable cause. Does this happen for you with tagged releases? (4.0.260.0_p33405 or 4.0.266.0_p33995 for -bin)
Not AMD64 only! This happens on x86 for me, too. I'm on nvidia 180.60, chromium 4.0.266.0-r1.
Based on the reports here, things work fine with x11-drivers/nvidia-drivers-190.42-r3 (please report any issues with the -bin package in separate bugs, this is only about www-client/chromium). If you have >=x11-drivers/nvidia-drivers-190.42-r3 and still experience chromium crashes, please re-open or request re-opening this bug.