Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293539 - www-client/chromium-4.0.248.0 segfaults on start (amd64)
Summary: www-client/chromium-4.0.248.0 segfaults on start (amd64)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 20:22 UTC by Justin Rittenhouse
Modified: 2009-12-21 16:27 UTC (History)
3 users (show)

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


Attachments
strace output from start-up trial (trace,52.16 KB, text/plain)
2009-12-21 15:50 UTC, Jan Kohnert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Rittenhouse 2009-11-17 20:22:18 UTC
I upgraded to Chromium 4.0.248.0, and have recompiled it twice with the same results: when starting, I get "Segmentation fault".  I've moved to the live (-9999) ebuild, which resolves the problem.

Reproducible: Always

Steps to Reproduce:
1. Emerge =www-client/chromium-4.0.248.0
2. Run chromium
3. Segmentation Fault

Actual Results:  
Segmentation Fault

Expected Results:  
Chromium starts.

emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 17 Nov 2009 14:15:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 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.5, 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=native -O2 -pipe"
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/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://ftp.ussg.iu.edu/pub/linux/gentoo/ http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
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/jrittenh /usr/local/portage/layman/vmware /usr/local/portage/layman/sunrise /usr/local/portage/layman/x11 /usr/local/portage/layman/vmware /usr/local/portage/layman/sunrise /usr/local/portage/layman/x11"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 ao artworkextra bash-completion berkdb bzip2 cairo cdda cddb cdr cleartype cli cracklib crypt css cups dbus dri dts dvd dvdr emerald esd exif ffmpeg flac fortran fuse gdbm gif git gnome gnome-keyring gpm gps gsm gstreamer gtk guile hal hddtemp iconv id3tag ieee1394 java jpeg jpeg2k laptop libnotify lm_sensors mad mmx modules mono moonlight mp3 mpeg mudflap multilib mysql nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png pppd pulseaudio python quicktime raw readline reflection samba schroedinger sdl session speechd speex spell spl sqlite sse sse2 ssl subversion svg sysfs syslog tcpd theora tiff truetype unicode usb v4l v4l2 vcd vcdinfo vcdx vdpau vorbis wifi x264 xcb xcomposite xml xorg xprint 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Justin Rittenhouse 2009-11-17 20:23:24 UTC
I should note that this appears similar to bug 293338, but for the source version rather than the binary.
Comment 2 Bernard Cafarelli gentoo-dev 2009-11-18 13:53:13 UTC
He, indeed I was wondering if this would happen. And you are on stable, as in bug #293338

I'll bump to 4.0.251.0 when upstream publishes the release file for it, as this version works with chromiumb-in
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2009-11-18 15:18:25 UTC
I have that version on my amd64 box, and I don't have any problem.

# eix chromium | grep Installed
     Installed versions:  4.0.248.0(10:57:09 16/11/09)

# uname -a
Linux fujitsu 2.6.30-gentoo-r5 #4 Sat Nov 7 10:07:16 CET 2009 x86_64 AMD Sempron(tm) Processor 3800+ AuthenticAMD GNU/Linux

Do you have a log file for chromium where we can see the error?
Comment 4 Justin Rittenhouse 2009-11-18 15:31:14 UTC
I am stable, with an asterisk...I've unmasked quite a few packages for one reason or another.

As for a logfile...I didn't do any specific logging, and unless there's a file somewhere I'm not aware of, I don't believe Chromium spit anything out either...when started from a command line, it appeared literally as:

jrittenh-laptop ~ $ chromium
Segmentation Fault
jrittenh-laptop ~ $

I could revert back to 248, but it's a PITA to recompile Chromium (takes something like an hour, hour and a half on my machine).  If it would be useful, I'd be willing to do this, but since it's not an issue in the current trunk release (as of yesterday afternoon) I'm not sure how useful that is.
Comment 5 Bernard Cafarelli gentoo-dev 2009-11-18 22:17:00 UTC
Yes, compiling it takes time, and creating source tarballs too ;)

Anyway, 4.0.251.0 added to tree, it should fix the problem, thanks for the report!
Comment 6 Vicente Olivert Riera (RETIRED) gentoo-dev 2009-11-18 23:02:19 UTC
When you add the 4.0.251.0 ebuild, try to kill two bugs with one shot -> http://bugs.gentoo.org/show_bug.cgi?id=293666

Thank you.
Comment 7 Jan Kohnert 2009-12-21 15:48:44 UTC
Well I have a similar problem (thus probably related to the problem mentioned here). Chromium segfaults at start-up since 4.0.248.0, but the problem persists at the latest version (4.0.266.0). I will attach the strace output lateron. If I can help with a backtrace feel free to comment, but I will have to rebuild chromium first (nostrip, and gcc -g) to get useful information...

Please reopen, or at least, tell me to open a new bug for the new version.

Best regards jan
Comment 8 Jan Kohnert 2009-12-21 15:50:45 UTC
Created attachment 213681 [details]
strace output from start-up trial

This is the output of a trial to start-up chromium. mprotect() returns -1 (NOMEM), and so the browser segfaults.
Comment 9 Bernard Cafarelli gentoo-dev 2009-12-21 16:11:31 UTC
From your strace:
open("//usr/lib64/opengl/nvidia/lib/libGL.so.1", O_RDONLY) = 3

That's the crash on startup with binary nvidia drivers/stable amd64: bug #295756 (not fixed yet, workaround: update nvidia drivers)
Comment 10 Jan Kohnert 2009-12-21 16:27:42 UTC
(In reply to comment #9) 
> That's the crash on startup with binary nvidia drivers/stable amd64: bug
> #295756 (not fixed yet, workaround: update nvidia drivers)

Thanks! I will have a look at that one.

Regards Jan