Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209954 - www-client/mozilla-firefox-2.0.0.12 crash when visiting one specific website
Summary: www-client/mozilla-firefox-2.0.0.12 crash when visiting one specific website
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 02:19 UTC by Mariusz Kozlowski
Modified: 2008-04-18 16:58 UTC (History)
2 users (show)

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 Mariusz Kozlowski 2008-02-13 02:19:46 UTC
When you visit that page firefox will silently die (closing all windows on all desktops which is irritating).

Reproducible: Always

Steps to Reproduce:
1. launch firefox
2. open http://pgnig.pl/

Actual Results:  
When I run it in console I can see:

$ /usr/lib/mozilla-firefox/firefox-bin http://pgnig.pl

GLib-ERROR **: file gmain.c: line 2064 (g_main_dispatch): assertion failed: (current->source == &current_source_link)
aborting...
Aborted (core dumped)

Expected Results:  
should render the page

Not sure it this is useful, anyway here is the output from gdb:

$ gdb /usr/lib/mozilla-firefox/firefox-bin                
GNU gdb 6.7.1
Copyright (C) 2007 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 "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run http://pgnig.pl
Starting program: /usr/lib/mozilla-firefox/firefox-bin http://pgnig.pl
[Thread debugging using libthread_db enabled]
[New Thread 0xb72116d0 (LWP 5518)]
[New Thread 0xb7061b90 (LWP 5523)]
[New Thread 0xb669cb90 (LWP 5524)]
[New Thread 0xb5376b90 (LWP 5527)]
[New Thread 0xb4a38b90 (LWP 5528)]
[New Thread 0xb4088b90 (LWP 5529)]
[New Thread 0xb3887b90 (LWP 5530)]
[New Thread 0xb2ff8b90 (LWP 5532)]
[New Thread 0xb26f9b90 (LWP 5533)]
[New Thread 0xb1ef8b90 (LWP 5534)]
[Thread 0xb1ef8b90 (LWP 5534) exited]
[New Thread 0xb16f7b90 (LWP 5535)]
[Thread 0xb16f7b90 (LWP 5535) exited]
[New Thread 0xb16f7b90 (LWP 5536)]
[Thread 0xb16f7b90 (LWP 5536) exited]
[New Thread 0xb16f7b90 (LWP 5537)]
[New Thread 0xb1ef8b90 (LWP 5538)]
[New Thread 0xaf46bb90 (LWP 5542)]
[New Thread 0xaebb9b90 (LWP 5543)]

GLib-ERROR **: file gmain.c: line 2064 (g_main_dispatch): assertion failed: (current->source == &current_source_link)
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb72116d0 (LWP 5518)]
0xb7f34410 in __kernel_vsyscall ()
(gdb)

If I can provide you with more accurate info please let me know.

Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24 i686)
=================================================================
System uname: 2.6.24 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Sat, 09 Feb 2008 18:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O1 -pipe -mmmx -msse -msse2 -ggdb"
CHOST="i686-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/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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O1 -pipe -mmmx -msse -msse2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus dri dvd dvdr eds emboss encode fam firefox fortran gdbm gif gstreamer gtk hal iconv isdnlog jpeg kde ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses network nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcmcia pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd tetex truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Niklas Närhinen 2008-02-13 04:40:10 UTC
I can confirm this also with 3b2.

 $ emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.7-r1, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Tue, 29 Jan 2008 15:47:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.public.fix.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="fi en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/mozilla /usr/portage/local/layman/finnish /usr/local/portage /usr/portage/local/java-experimental"
SYNC="rsync://rsync.fi.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo exif fam ffmpeg firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kdeenablefinal kdehiddenvisibility kerberos lcms ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3support quicktime readline reflection sdl session source spell spl ssl startup-notification svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xcomposite xinerama xml xorg xscreensaver xv 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 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi en_US" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

[ebuild   R   ] www-client/mozilla-firefox-bin-3.0_beta2
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-02-13 08:37:32 UTC
Try with mozilla-firefox-bin
Comment 3 Mariusz Kozlowski 2008-02-13 11:47:05 UTC
(In reply to comment #2)
> Try with mozilla-firefox-bin

Just curious ... what's the point?

It dies the same way. Only difference is that it does not produce any debug info (assertion failed etc.).
Comment 4 Szymon Olko 2008-03-12 08:31:27 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=416094
(In reply to comment #2)
> Try with mozilla-firefox-bin
> 

I can confirm that this happens both with binary and compiled versions of firefox.

This bug came with changes in glib

http://svn.gnome.org/viewvc/glib/tags/GLIB_2_14_3/glib/gmain.c?r1=5139&r2=5407
line 2064.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2008-04-18 16:58:46 UTC
Not a gentoo bug then