Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360585 - www-client/firefox-4.0-r1: segmentation fault when using zotero 2.1.1 add-on
Summary: www-client/firefox-4.0-r1: segmentation fault when using zotero 2.1.1 add-on
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL: https://www.zotero.org/svn/extension/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-26 17:15 UTC by svenvermant
Modified: 2011-06-26 14:49 UTC (History)
2 users (show)

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


Attachments
zotero running in ff-4 (zotero.jpg,70.33 KB, image/jpeg)
2011-03-27 17:00 UTC, Jory A. Pratt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description svenvermant 2011-03-26 17:15:01 UTC
After updating firefox to version 4.0 and at the same time upgrading the zotero add-on to version 2.1.1 (which is the most recent one and the only that works with firefox 4.0), I cannot start firefox any longer. It just dies with a segmentation fault. Only after starting firefox in safe-mode and disabling zotero, I am able to restart firefox... until I enable zotero again.

Reproducible: Always

Steps to Reproduce:
1.Enable Zotero
2.Restart Firefox
3.Get Segmentation fault
Actual Results:  
As soon as I try to start firefox from the console, I just get a segmentation fault.

Expected Results:  
Firefox should have started regularly and be ready to use.
Comment 1 svenvermant 2011-03-26 17:16:17 UTC
emerge --info
Portage 2.2.0_alpha28 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.36-tuxonice-r3-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 26 Mar 2011 07:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo astronomy kde local-overlay
Installed sets: @kde-4.6, @system
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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 /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.utf-8"
LC_ALL="de_DE.utf-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
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="/var/lib/layman/astronomy /var/lib/layman/kde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="#-redland X aac accessibility acl acpi addbookmarks alias alsa archive autoreplace avahi bash-completion beagle berkdb bzip2 cairo cdaudio chm cli clucene connectionstatus consolekit contactnotes context cracklib crypt cuda cups cxx daemon dbus deprecated djvu dri dvd dvdr dvipdfm enblend encode exif extra facebook fam fbcon fbcondecor ffmpeg fftw flac fortran fts3 gdbm geoip gif glib gnuplot gpm graphics gsl gstreamer iconv icq imagemagick inotify ipv6 ipw4965 ipython jabber java java5 jpeg jpeg2k kde kipi kontact kpathsea laptop latex ldap lm_sensors mac mdnsresponder-compat messenger mikmod mmx mng modules mono mp3 mp4 mpeg msn mudflap musepack musicbrainz mysql ncurses nepomuk nls npp nptl nptlonly nsplugin nvidia offensive ogg old-daemons opengl openmp oscar pam pcre pdf perl plasma plotutils png policykit postscript pppd pstricks publishers python qq qt qt3 qt3support qt4 readline resolvconf sasl science semantic-desktop sesame2 session sift spell sse sse2 ssl ssse3 svg symlink sysfs tcpd threads thunderbird tiff tk truetype udev unicode userlocales utempter v4l v4l2 vdpau virtuoso vorbis wavpack webkit wifi win32codecs wlm x86 xcomposite xorg xscreensaver xulrunner yahoo zeroconf zip 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 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" CAMERAS="ptp2 canon" 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" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vga 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jory A. Pratt gentoo-dev 2011-03-27 14:45:44 UTC
Plugins that cause problems need to be reported to the maintainer, has nothing to do with gentoo, if you can not duplicate the failure with firefox-bin feel free to reopen at that point, as it will be a gentoo problem.
Comment 3 svenvermant 2011-03-27 16:38:21 UTC
I first reported this bug to the zotero developers. They told me, that it seems to be a gentoo-related bug as it does not occur to them using the standard binaries from mozilla. Additionally, I have the problem that the portage tree currently does not offer a firefox 4.0 binary version.
Comment 4 Jory A. Pratt gentoo-dev 2011-03-27 16:53:01 UTC
(In reply to comment #3)
> I first reported this bug to the zotero developers. They told me, that it seems
> to be a gentoo-related bug as it does not occur to them using the standard
> binaries from mozilla. Additionally, I have the problem that the portage tree
> currently does not offer a firefox 4.0 binary version.

I can fix the binary issue for you if you are interested in testing the binary to see if you can duplicate the results.
Comment 5 svenvermant 2011-03-27 16:54:21 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I first reported this bug to the zotero developers. They told me, that it seems
> > to be a gentoo-related bug as it does not occur to them using the standard
> > binaries from mozilla. Additionally, I have the problem that the portage tree
> > currently does not offer a firefox 4.0 binary version.
> 
> I can fix the binary issue for you if you are interested in testing the binary
> to see if you can duplicate the results.

I just downloaded the binary version form mozilla directly. With this version, zotero works flawlessly.
Comment 6 Jory A. Pratt gentoo-dev 2011-03-27 17:00:32 UTC
Created attachment 267421 [details]
zotero running in ff-4

I am unable to reproduce this crash, could you get a proper bt of the failure so we can see what lib is crashing please.
Comment 7 svenvermant 2011-03-27 17:03:17 UTC
(In reply to comment #6)
> Created attachment 267421 [details]
> zotero running in ff-4
> 
> I am unable to reproduce this crash, could you get a proper bt of the failure
> so we can see what lib is crashing please.

Sorry, but what is a bt?
Comment 8 Jory A. Pratt gentoo-dev 2011-03-27 17:07:55 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Created attachment 267421 [details]
> > zotero running in ff-4
> > 
> > I am unable to reproduce this crash, could you get a proper bt of the failure
> > so we can see what lib is crashing please.
> 
> Sorry, but what is a bt?

backtrace :)

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 9 svenvermant 2011-03-27 18:03:44 UTC
I hope I was able to create a proper bt. This is what I got:

Starting program: /usr/bin/firefox 
[Thread debugging using libthread_db enabled]                                                                
[New Thread 0xb7d68b70 (LWP 13767)]                                                                          
[New Thread 0xb7567b70 (LWP 13768)]                                                                          
[New Thread 0xb6b79b70 (LWP 13769)]                                                                          
[New Thread 0xb6208b70 (LWP 13770)]                                                                          
[New Thread 0xb5a07b70 (LWP 13771)]                                                                          
[New Thread 0xb5206b70 (LWP 13772)]                                                                          
[New Thread 0xb41ddb70 (LWP 13787)]                                                                          
[New Thread 0xb2db3b70 (LWP 13790)]                                                                          
[New Thread 0xb2533b70 (LWP 13791)]                                                                          
[New Thread 0xb0bffb70 (LWP 13805)]                                                                          
[New Thread 0xb01fdb70 (LWP 13806)]                                                                          
[New Thread 0xaf9fcb70 (LWP 13807)]                                                                          
[New Thread 0xad9eab70 (LWP 13810)]                                                                          
[New Thread 0xad1e9b70 (LWP 13811)]                                                                          
[New Thread 0xac9e8b70 (LWP 13812)]                                                                          
[New Thread 0xab4e0b70 (LWP 13825)]                                                                          
[New Thread 0xaacdfb70 (LWP 13829)]                                                                          
[Thread 0xaacdfb70 (LWP 13829) exited]                                                                       
[New Thread 0xaacdfb70 (LWP 13830)]                                                                          
[New Thread 0xaa45fb70 (LWP 13831)]                                                                          
[New Thread 0xa9c5eb70 (LWP 13832)]                                                                          
[New Thread 0xa9240b70 (LWP 13833)]
[New Thread 0xa86feb70 (LWP 13848)]
[New Thread 0xa7affb70 (LWP 13964)]

Program received signal SIGSEGV, Segmentation fault.
0x4ab36a09 in ?? () from /lib/libc.so.6
Comment 10 Christoph Junghans (RETIRED) gentoo-dev 2011-04-02 22:09:07 UTC
Same for me on firefox-4.0-r2 with zotero 2.1.[1234]. (firefox-bin-4.0 works.)
Comment 11 Constantine Kardaris 2011-04-06 10:25:18 UTC
same here segfaults on x86 but works on x64 box
reopen?
Comment 12 Christoph Junghans (RETIRED) gentoo-dev 2011-04-07 07:25:20 UTC
(In reply to comment #11)
> same here segfaults on x86 but works on x64 box
> reopen?
I am on x86, too.

Forum discussion: 
<http://forums.gentoo.org/viewtopic-t-870539.html>
Comment 13 Christoph Junghans (RETIRED) gentoo-dev 2011-06-26 12:48:25 UTC
The combination www-client/firefox-5.0 and zotero-2.1.8 works on my x86 again.

Sven, can you confirm that on your machine?
Comment 14 svenvermant 2011-06-26 14:03:59 UTC
Yeah, works indeed!
Comment 15 Christoph Junghans (RETIRED) gentoo-dev 2011-06-26 14:46:07 UTC
So use firefox-5.0
Comment 16 svenvermant 2011-06-26 14:49:28 UTC
That's what I'm doing right now :)