Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373397 - www-client/firefox-5.0-r1 crashes with "pure virtual method called"
Summary: www-client/firefox-5.0-r1 crashes with "pure virtual method called"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 19:16 UTC by Martin Wegner
Modified: 2012-01-28 06:03 UTC (History)
6 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 Martin Wegner 2011-06-28 19:16:15 UTC
After upgrade to www-client/firefox-5.0-r1 firefox crashes with the following error when browsing some websites (e.g. github.com):

pure virtual method called
terminate called without an active exception
[1]    8491 abort      firefox

Nothing else is printed.

This was reproduced with a clean, newly created profile without any addons, etc.

Reproducible: Always

Steps to Reproduce:
1. emerge =www-client/firefox-5.0-r1
2. Create new firefox profile
3. Browse to e.g. github.com
Actual Results:  
Firefox crashes.

Expected Results:  
Should not crash, of course.

Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo-r2-odin x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r2-odin-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 28 Jun 2011 18:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.3.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo x-portage gnome
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distcc distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10 -l6"
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 /var/lib/layman/gnome"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 amr berkdb bluetooth branding bzip2 cairo cdda cli consolekit cracklib crypt cups cxx dbus dirac divx dri dts dvb emboss encode exif faac faad fam ffmpeg firefox flac fuse gdbm gdu gif gnome gnome-keyring gstreamer gtk gtk3 iconv idn inotify introspection ipv6 jpeg lame lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python readline realmedia samba schroedinger sdl session spell sse sse2 ssl startup-notification svg sysfs syslog tcpd theora tiff truetype udev unicode usb v4l v4l2 vim-syntax vorbis wmp x264 xcb xinerama xml xorg xulrunner xv xvid zlib zsh-completion" 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 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

www-client/firefox-5.0-r1 was built with the following:
USE="alsa dbus ipc libnotify (multilib) startup-notification webm -bindist -custom-optimization -debug -gconf -hardened -pgo -system-sqlite -wifi" LINGUAS="-af -ak -ar -ast -be -bg -bn -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en -eo -es -es_ES -et -eu -fa -fi -fr -fy -fy_NL -ga -ga_IE -gd -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -hy -hy_AM -id -is -it -ja -kk -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -nso -or -pa -pa_IN -pl -pt -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zu"
CFLAGS="-march=core2 -pipe -Wno-return-type -w -mno-avx"
CXXFLAGS="-march=core2 -pipe -Wno-return-type -w -mno-avx"
Comment 1 Rafał Mużyło 2011-06-28 19:28:49 UTC
In a way it's a dupe of bug 372825...
Not quite though - that bug is being hijacked by this problem.
Comment 2 Pim Vullers 2011-06-30 13:25:53 UTC
I can confirm this issue. As already mentioned this is also discussed in bug 372825, which is however closed with NEEDINFO. 

This bug being UNCONFIRMED I do not see how this problem is going to be tackled.
Comment 3 Sergey Urzhumskov 2011-07-04 13:28:05 UTC
I ran into this bug too.

Here on a russian forum http://www.linux.org.ru/forum/general/6457365 it is suggested that this is cured with:

USE="-xulrunner" emerge -uDN world

This rebuilds libproxy without the xulrunner support, and somehow the error is gone. (I haven't checked this myself yet, though)
Comment 4 Brad Laue 2011-07-05 00:38:18 UTC
A datapoint: Rebuilding libproxy with USE="-xulrunner" solved this for me.
Comment 5 Brad Laue 2011-07-05 00:40:31 UTC
Er, I should add that I'm also using the combination of Firefox 5.0-r1 and GNOME3 from the gnome overlay.

I'd also have tried unmerging xulrunner-2.0.1 itself, but I have other things depending on it right now (libreoffice, gjs).

Excelsior:~ # emerge --info
Portage 2.1.10.4 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Intel-R-_Xeon-R-_CPU_E5606_@_2.13GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 04 Jul 2011 19:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo gnome x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula dlj-1.1 AdobeFlash-10.1 google-talkplugin"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="/var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apng applet autoipd automount avahi beagle berkdb binfilter bluetooth bzip2 cairo canberra cdda cddax cddb cdio cdr chm cli consolekit cracklib crypt css cups cxx daap dbus dc1394 deskbar device-mapper dhcpcd dirac djvu dri dts dvb dvd dvdr dvi encode exif expat extras faac faad ffmpeg flac fontconfig foomaticdb fortran fuse galago gconf gdbm gdu gif gnome gnome-keyring gnutls gpm gs gsf gsm gstreamer gtk gtk3 gtkstyle html iconv icu id3tag idn ieee1394 imap introspection ipod iptc ipv6 iscsi jpeg karma kdrive lame lcms ldap libnotify libsamplerate libsysfs lightning lirc live lvm lzma lzo mad matroska mdnsresponder-compat mmx mmxext mng modules mono moonlight mp3 mpeg msn mtp mudflap multilib musicbrainz nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin nss ofx ogg openexr opengl openmp openssl pam pango pcre pdf perl playlist png podcast policykit ppds pppd pulseaudio python qemu qt3support quotes raw readline resolvconf rtsp samba schroedinger secure-delete session sip smime smp speex spell spice sqlite sse sse2 ssl startup-notification stream svg sysfs system-sqlite t1lib taglib tcpd templates theora threads thunderbird tiff truetype twolame udev unicode unlock-notify upnp usb vcdinfo vdpau vorbis wav webkit wma-fixed wmf x264 xattr xcomposite xft xinerama xml xmp xorg xscreensaver xvfb 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 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Sergey Urzhumskov 2011-07-05 14:24:19 UTC
I too confirm that USE=-xulrunner emerge -1 libproxy did solve it for me.
Comment 7 Rafał Mużyło 2011-07-05 19:15:13 UTC
Now, there's a funny thing...
Yes, [-xulrunner] did help, but that useflag for libproxy refers actually to mozjs. I've tried libproxy 0.4.7 (not in portage yet) with spidermonkey 1.8.5 (masked) and the crash still happened while [xulrunner] was set.
I'd think a symbol clash, but there seems to be something more.

On that note: xulrunner was built with '--with-shared-js', for firefox 5.0, there's no xulrunner - perhaps that option should be passed here too ?
Cause I managed to get "out of memory" crash without it (for the moment, with about the same session, things seem to work fine after I've passed that option).
Comment 8 Nirbheek Chauhan (RETIRED) gentoo-dev 2012-01-28 06:03:53 UTC
libproxy no longer has USE=xulrunner. It was removed due to bug 360893. Marking this as fixed now.