Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334367 - chromium-9999 version 7.0.505.0_p57257: crash at start
Summary: chromium-9999 version 7.0.505.0_p57257: crash at start
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Chromium Project
URL:
Whiteboard: ht-wanted
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-25 02:03 UTC by fkhp
Modified: 2010-10-26 16:27 UTC (History)
4 users (show)

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


Attachments
strace log (strace.log,194.89 KB, text/plain)
2010-08-25 02:06 UTC, fkhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-08-25 02:03:57 UTC
# chromium
Gtk-Message: Failed to load module "gnomebreakpad": /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so: cannot open shared object file: No such file or directory
Inconsistency detected by ld.so: dl-open.c: 612: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!


Reproducible: Always
Comment 1 fkhp 2010-08-25 02:06:40 UTC
Created attachment 244481 [details]
strace log

the log shows chromium looks for libpng12.so.0, but it is not exit as libpng1.2 is not installed, libpng1.4 installed but it is not linked to libpnt1.4
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-08-26 05:37:30 UTC
Can anyone else reproduce this? Please post emerge --info.
Comment 3 Jason A. Donenfeld gentoo-dev 2010-08-29 03:44:28 UTC
I believe this is a problem with the ebuild in 333579.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-08-30 01:22:48 UTC
(In reply to comment #3)
> I believe this is a problem with the ebuild in 333579.

Interesting. Even then, it shouldn't crash the browser... if we confirm that's indeed the problem from bug #333579, we should report this upstream.
Comment 5 fkhp 2010-08-30 22:47:30 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I believe this is a problem with the ebuild in 333579.
> 
> Interesting. Even then, it shouldn't crash the browser... if we confirm that's
> indeed the problem from bug #333579, we should report this upstream.
> 

it seems google-talkplugin ebuild in 33357 might be the cause.

http://bugs.gentoo.org/show_bug.cgi?id=333579#c37
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-09-04 03:19:58 UTC
(In reply to comment #5)
> it seems google-talkplugin ebuild in 33357 might be the cause.
> 
> http://bugs.gentoo.org/show_bug.cgi?id=333579#c37

Could you please report it upstream and post the link here? No plugin should be able to crash Chrome.
Comment 7 Andriy Baranskyy 2010-10-04 20:55:13 UTC
I have identical issue with chromium 7.0.536.2.
My emerge --info:
andriy revdep-rebuild # emerge --info
Portage 2.2_rc88 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-tuxonice-r4 i686)
=================================================================
System uname: Linux-2.6.35-tuxonice-r4-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 04 Oct 2010 02:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68                                                                                                                                                     
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                                                                                                                             
sys-devel/binutils:  2.20.1-r1                                                                                                                                                      
sys-devel/gcc:       4.4.4-r2                                                                                                                                                       
sys-devel/gcc-config: 1.4.1                                                                                                                                                         
sys-devel/libtool:   2.2.10                                                                                                                                                         
sys-devel/make:      3.81-r2                                                                                                                                                        
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)                                                                                                                              
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="uk_UA.UTF-8"
LC_ALL="uk_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl uk be de en_GB"
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 /usr/local/portage/layman/ikelos"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow 3dnowext 7zip X Xaw3d a52 aac aalib accessibility acl acpi adns alsa amarok amr amrnb amrr amrwb ao arts aspnet auto-completion autoipd automount avahi bash-completion bidi bittorrent-external bluetooth bonjour bookmarks branding bzip2 c++ cairo calendar caps cdaudio cdda cddb cdparanoia chm cisco cli consolekit context cracklib crypt css cups curl cxx cyrillic daap dbus desktopglobe detex dga dia directfb divx djvu docbook dot dri drm dts dv dvd dvdnav dvdr dvdread dvi2tty ebook embedded emovix enca encode exceptions exif expat extra extras fam fax fbcon ffmpeg firefox flac font-server fontconfig fortran ftp fts3 games gd gdbm geoip geolocation ggi gif glib glitz gmail gmedia gnutls google google-gadgets gpg2-experimental gphoto2 gpm gps graphics gsm gstreamer gtk h224 h281 h323 html htmlhandbook http humanities hyperestraier iconv icq icu ide idn imagemagick inotify ipod ipv6 ipw3945 jadetex java javascript jce jpeg jpeg2k justify kde kerberos kpathsea ladspa lame laptop lastfm latex latex3 lcms lensfun libcaca libsamplerate libwww live lm_sensors lzo mad marble matroska matrox mbrola md5sum mdnsresponder-compat mjpeg mmap mmx mmxext mng modplug modules moonlight motif mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msn mtp mudflap musepack music musicbrainz mysql nas ncurses neXt net netbeans netboot network network-cron networking nfs nis nls npp nptl nptlonly nsplugin nss ntfs ntp nvidia nvram nvtv obex ogg omega openal openct openexr opengl openmp openssh openvpn oss overlays pam pch pcmcia pcre pcsc-lite pda pdf perl phonon plasma player plotutils plugins pmu png policykit pppd pstricks publishers python python3 qalculate qos qt qt3support qt4 quicktime radio rar raw rdesktop rdp readline realmedia reflection reiser4 reiserfs rss rtc rtf samba sasl scanner science sdl semantic-desktop session sip skype slang slp smartcard smbclient sms sndfile snmp socks5 sourceview speech speex spell sql sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcl tcpd templates tetex tex4ht tga theora threads tiff timidity tk tools truetype unicode usb v4l v4l2 vcd video vidix visualization vorbis wav wavpack webinterface webkit wifi win32codecs wma wmf wmp wps wxwindows x264 x86 xanim xcb xcomposite xetex xindy xine xinerama xml xorg xpm xprint xulrunner xv xvid xvmc yv12 zeroconf zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks                   iec958 ioplug ladspa lfloat linear meter 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 cgi cgid 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="nikon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl uk be de en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-10-05 09:38:59 UTC
(In reply to comment #7)
> I have identical issue with chromium 7.0.536.2.

Please report the bug upstream (http://new.crbug.com) and post the link here.
Comment 9 Richard 2010-10-06 22:55:55 UTC
I am having the same problem on amd64:

$ chromium  
Attempting to load libmoonloaderxpi 
sh: /usr/lib64/nspluginwrapper/i386/linux/npviewer: No such file or directory
Inconsistency detected by ld.so: dl-open.c: 612: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!

It started today after I did some updates to my system. The majority of the updates were the KDE 4.5.2 packages. Another notible (and possibly related) update was libpng 1.4.4.

I tried deleting my ~/.config/chromium, but the only thing that did was show a menu at start asking which search engine I wanted to use and after making a selection, chromium crashes.
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-10-07 06:11:01 UTC
(In reply to comment #9)
> I am having the same problem on amd64:
> 
> $ chromium  
> Attempting to load libmoonloaderxpi 
> sh: /usr/lib64/nspluginwrapper/i386/linux/npviewer: No such file or directory
> Inconsistency detected by ld.so: dl-open.c: 612: _dl_open: Assertion
> `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!

I wonder... does it also happen when you launch chromium with --disable-plugins commandline switch?

> It started today after I did some updates to my system. The majority of the
> updates were the KDE 4.5.2 packages. Another notible (and possibly related)
> update was libpng 1.4.4.

That might be a clue. Does the problem persist after re-emerging chromium? Please try --disable-plugins first though. I've noticed there are cases where chromium can crash when loading a plugin.

> I tried deleting my ~/.config/chromium, but the only thing that did was show a
> menu at start asking which search engine I wanted to use and after making a
> selection, chromium crashes.

That's also a good observation. It'd seem to indicated that chromium crashes when loading a plugin. If the chromium binary itself wouldn't have consistent linking, it would crash before displaying the dialog.
Comment 11 Richard 2010-10-07 07:24:00 UTC
I have tried using both --disable-plugins and --disable-extensions with no significant change in the situation. The only change I have observed is that the "sh: /usr/lib64/nspluginwrapper/i386/linux/npviewer: No such file or directory" message usually does not appear. I am not sure what I did to trigger it, but when I first started troubleshooting this, it was not there and after I finished troubleshooting it, it was gone. It only appeared when I was trying to diagnose the cause of the issue.

I have run revdep-rebuild on the system and it claims that all of the dynamic links are consistent. I have also tried going back to older versions of chromium, but the problem persists with them.

I have tried the following versions:

www-client/chromium-7.0.517.8
www-client/chromium-7.0.517.24
www-client/chromium-7.0.536.2
www-client/chromium-7.0.536.2-r1
Comment 12 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-10-07 09:09:58 UTC
(In reply to comment #11)
> I have tried using both --disable-plugins and --disable-extensions with no
> significant change in the situation. The only change I have observed is that
> the "sh: /usr/lib64/nspluginwrapper/i386/linux/npviewer: No such file or
> directory" message usually does not appear. I am not sure what I did to trigger
> it, but when I first started troubleshooting this, it was not there and after I
> finished troubleshooting it, it was gone. It only appeared when I was trying to
> diagnose the cause of the issue.

Interesting. Could you file a good upstream bug report about that (http://new.crbug.com) and post the link here?

> I have tried the following versions:
> 
> www-client/chromium-7.0.517.8
> www-client/chromium-7.0.517.24
> www-client/chromium-7.0.536.2
> www-client/chromium-7.0.536.2-r1

If you have a while, it would be interesting to see if the problem also reproduces with a version from 5.x series. I guess it would reproduce.
Comment 13 Micah Shennum 2010-10-07 23:46:15 UTC
I also get this using firefox 
Comment 14 Richard 2010-10-08 01:04:04 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > I have tried using both --disable-plugins and --disable-extensions with no
> > significant change in the situation. The only change I have observed is that
> > the "sh: /usr/lib64/nspluginwrapper/i386/linux/npviewer: No such file or
> > directory" message usually does not appear. I am not sure what I did to trigger
> > it, but when I first started troubleshooting this, it was not there and after I
> > finished troubleshooting it, it was gone. It only appeared when I was trying to
> > diagnose the cause of the issue.
> 
> Interesting. Could you file a good upstream bug report about that
> (http://new.crbug.com) and post the link here?
> 
> > I have tried the following versions:
> > 
> > www-client/chromium-7.0.517.8
> > www-client/chromium-7.0.517.24
> > www-client/chromium-7.0.536.2
> > www-client/chromium-7.0.536.2-r1
> 
> If you have a while, it would be interesting to see if the problem also
> reproduces with a version from 5.x series. I guess it would reproduce.
> 

The latest version of chromium seems to have semi-fixed this. I tried starting chromium after an emerge and it crashed, but I could see the window. I tried again and it actually started:

$ chromium 
Attempting to load libmoonloaderxpi 
Inconsistency detected by ld.so: dl-open.c: 612: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
richard@home ~ $ chromium
[25302:25356:90649576497:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576538:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576545:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576552:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576558:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576565:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576571:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576577:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576584:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576590:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12
[25302:25356:90649576596:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)] Registration failed with code: 12

This behavior appears to repeat, so the issue is already fixed, although those error messages are an issue.

I am very busy with offline work, so I have not had a chance to file an upstream bug report. Would you still like me to file it when I get a chance?
Comment 15 Richard 2010-10-08 01:09:10 UTC
Ignore what I just posted. =www-client/chromium-7.0.544.0 crashes whenever I try to view a JPEG in its own tab, so an upstream bug report is still needed. I will try to make time to file one with as much detail as soon as I have code written to meet some offline deadlines.
Comment 16 Micah Shennum 2010-10-08 01:50:53 UTC
(In reply to comment #13)
> I also get this using firefox 
> 

Sorry, just noticed I not post output of firefox:
Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory
Inconsistency detected by ld.so: dl-open.c: 612: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
Comment 17 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-10-08 06:13:38 UTC
(In reply to comment #14)
> The latest version of chromium seems to have semi-fixed this. I tried starting
> chromium after an emerge and it crashed, but I could see the window. I tried
> again and it actually started:

Do you mean 7.0.544.0?

> This behavior appears to repeat, so the issue is already fixed, although those
> error messages are an issue.

Those error messages are about sync:

> [25302:25356:90649576596:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)]
> Registration failed with code: 12

> I am very busy with offline work, so I have not had a chance to file an
> upstream bug report. Would you still like me to file it when I get a chance?

Yes, please.
Comment 18 Richard 2010-10-08 17:32:09 UTC
(In reply to comment #17)
> (In reply to comment #14)
> > The latest version of chromium seems to have semi-fixed this. I tried starting
> > chromium after an emerge and it crashed, but I could see the window. I tried
> > again and it actually started:
> 
> Do you mean 7.0.544.0?
> 
> > This behavior appears to repeat, so the issue is already fixed, although those
> > error messages are an issue.
> 
> Those error messages are about sync:
> 
> > [25302:25356:90649576596:ERROR:chrome/browser/sync/notifier/registration_manager.cc(126)]
> > Registration failed with code: 12
> 
> > I am very busy with offline work, so I have not had a chance to file an
> > upstream bug report. Would you still like me to file it when I get a chance?
> 
> Yes, please.
> 

Yes, I mean www-client/chromium-7.0.544.0. I have a backup of my ~/.config/chromium directory that I had restored when I had those issues with www-client/chromium-7.0.544.0. I have given www-client/chromium-7.0.544.0 the same treatment that I had given to the previous versions and I can reproduce the assertion failures that were occurring on start. The only change is that I need to navigate to specific web pages to get the assertion failure to occur. Running chromium with --disable-plugins makes those pages immune to failure, but it is still possible for me to crash the browser by visiting "chrome://plugin", at which point the same assertion failure occurs.

I have filed the bug report you requested:

http://code.google.com/p/chromium/issues/detail?id=58510

I tried to provide every detail I thought would be helpful. The only thing I did not do was provide an strace. My time is limited, so because of time constraints, I am going to wait until someone asks me to provide an strace under certain conditions so that I do not waste my time producing an strace that likely will not be useful.

It would have taken longer before I filed that bug report, but my web browser issues I am having are not isolated to chromium and other web browsers on my system are also experiencing issues, which makes this more than a simple annoyance that I can easily workaround. Interestingly, I have x86 (32-bit) system (i.e. my laptop) that has a similar software configuration and it is experiencing no issues.

On my amd64 desktop, Konqueror is experiencing the same assertion error that Chromium experiences and I mentioned that in the upstream bug report. Firefox has no assertion error that I can reproduce, but loading gmail caused its GUI to stall for at least 10 seconds and scripts on other web pages caused GUI stalls as well. I recompiled firefox and xulrunner without ipc and installed noscript to try to reduce the overhead that I assumed was causing issues. With those changes in place, Firefox is now in a usable state where the GUI will not stall in an obvious manner and I can get my work done.
Comment 19 Richard 2010-10-08 21:03:21 UTC
I have discovered the cause of this issue. The media-libs/libpng-1.4.4 update on October 6, somehow corrupted libpng:1.2. Running "emerge -1v libpng:1.2" fixes the issue.
Comment 20 Andriy Baranskyy 2010-10-08 21:06:45 UTC
(In reply to comment #19)
> I have discovered the cause of this issue. The media-libs/libpng-1.4.4 update
> on October 6, somehow corrupted libpng:1.2. Running "emerge -1v libpng:1.2"
> fixes the issue.
> 

Same here!
Comment 21 Simeon Maryasin 2010-10-09 08:27:05 UTC
Had same issue (www-client/chromium-6.0.472.63-r1 and www-client/chromium-7.0.517.24 crashed on start saying
Inconsistency detected by ld.so: dl-open.c: 612: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
and www-client/firefox-3.6.9-r1 crashed with same message on loading some pages (for example, google's bug with link to this bug)). I'm writing this message from elinks...
It turned out that for some reason I haven't /usr/lib/libpng12.so.0, although have media-libs/libpng-1.2.44 installed. I rebuilt libpng-1.2.44 and problem gone.