Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380229 - mail-client/thunderbird-3.1.10 segfault on start (lightning plugin?)
Summary: mail-client/thunderbird-3.1.10 segfault on start (lightning plugin?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 13:38 UTC by cnu
Modified: 2011-09-08 21:24 UTC (History)
0 users

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 cnu 2011-08-22 13:38:23 UTC
Thunderbird crashes when I start it.

It works if I comment out the second line in ~/.thunderbird/*/extensions.ini (Extension0=/usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103})! install.rdf in that directory says <em:name>Lightning</em:name>.

I tried compiling with -ggdb3, but ran out of space so the the backtrace isn't very detailed.

$ rm -rf ~/.thunderbird
$ thunderbird -g
/usr/lib64/thunderbird/run-mozilla.sh -g /usr/lib64/thunderbird/thunderbird-bin
MOZILLA_FIVE_HOME=/usr/lib64/thunderbird
  LD_LIBRARY_PATH=/usr/lib64/thunderbird:/usr/lib64/thunderbird/plugins:/usr/lib64/thunderbird
DISPLAY=:0
DYLD_LIBRARY_PATH=/usr/lib64/thunderbird:/usr/lib64/thunderbird
     LIBRARY_PATH=/usr/lib64/thunderbird:/usr/lib64/thunderbird/components:/usr/lib64/thunderbird
       SHLIB_PATH=/usr/lib64/thunderbird:/usr/lib64/thunderbird
          LIBPATH=/usr/lib64/thunderbird:/usr/lib64/thunderbird
       ADDON_PATH=/usr/lib64/thunderbird
      MOZ_PROGRAM=/usr/lib64/thunderbird/thunderbird-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=
/usr/lib64/thunderbird/run-mozilla.sh: line 118: type: ddd: not found
/usr/bin/gdb --args /usr/lib64/thunderbird/thunderbird-bin
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 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 "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/lib64/thunderbird/thunderbird-bin...Reading symbols from /usr/lib64/debug/usr/lib64/thunderbird/thunderbird-bin.debug...(no debugging symbols found)...done.
(no debugging symbols found)...done.
(gdb) start
Temporary breakpoint 1 at 0x401adf
Starting program: /usr/lib64/thunderbird/thunderbird-bin 
[Thread debugging using libthread_db enabled]

Temporary breakpoint 1, 0x0000000000401adf in main ()
(gdb) c
Continuing.
[New Thread 0x7fffecc53700 (LWP 17184)]
[New Thread 0x7fffeb2d7700 (LWP 17185)]
[New Thread 0x7fffeaad6700 (LWP 17186)]
[New Thread 0x7fffe7eff700 (LWP 17187)]
[New Thread 0x7fffe363d700 (LWP 17188)]
[New Thread 0x7fffe1dff700 (LWP 17189)]
Warning: Warning:  Using guessed timezone
  Europe/Paris (UTC+0100/+0200).
This ZoneInfo timezone seems to match the operating system timezone this year.
This ZoneInfo timezone was chosen based on matching the operating system
timezone with likely timezones for internet users using US English.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffeb309519 in XPCConvert::JSData2Native(XPCCallContext&, void*, long, nsXPTType const&, int, nsID const*, unsigned int*) () from /usr/lib64/thunderbird/components/libxpconnect.so
(gdb) bt
#0  0x00007fffeb309519 in XPCConvert::JSData2Native(XPCCallContext&, void*, long, nsXPTType const&, int, nsID const*, unsigned int*) () from /usr/lib64/thunderbird/components/libxpconnect.so
#1  0x00007fffeb3180fd in nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) ()
   from /usr/lib64/thunderbird/components/libxpconnect.so
#2  0x00007ffff7752b35 in PrepareAndDispatch () from /usr/lib64/thunderbird/libxpcom_core.so
#3  0x00007ffff7751ff7 in SharedStub () from /usr/lib64/thunderbird/libxpcom_core.so
#4  0x00007ffff7751f6a in NS_InvokeByIndex_P () from /usr/lib64/thunderbird/libxpcom_core.so
#5  0x00007fffeb31b8d0 in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) () from /usr/lib64/thunderbird/components/libxpconnect.so
#6  0x00007fffeb323c2b in XPC_WN_CallMethod(JSContext*, JSObject*, unsigned int, long*, long*) () from /usr/lib64/thunderbird/components/libxpconnect.so
#7  0x00007ffff6c8e167 in js_Invoke () from /usr/lib64/thunderbird/libmozjs.so
#8  0x00007ffff6c7fe9c in js_Interpret () from /usr/lib64/thunderbird/libmozjs.so
#9  0x00007ffff6c8e66d in js_Invoke () from /usr/lib64/thunderbird/libmozjs.so
#10 0x00007fffeb318841 in nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) ()
   from /usr/lib64/thunderbird/components/libxpconnect.so
#11 0x00007ffff7752b35 in PrepareAndDispatch () from /usr/lib64/thunderbird/libxpcom_core.so
#12 0x00007ffff7751ff7 in SharedStub () from /usr/lib64/thunderbird/libxpcom_core.so
#13 0x00007fffec249247 in NotifyObserver(char const*, void*) () from /usr/lib64/thunderbird/components/libpref.so
#14 0x00007fffec24c94e in pref_DoCallback(char const*) () from /usr/lib64/thunderbird/components/libpref.so
#15 0x00007fffec24cb49 in pref_HashPref(char const*, PrefValue, PrefType, int) () from /usr/lib64/thunderbird/components/libpref.so
#16 0x00007fffec248de8 in nsPrefBranch::SetCharPref(char const*, char const*) () from /usr/lib64/thunderbird/components/libpref.so
#17 0x00007ffff7751f6a in NS_InvokeByIndex_P () from /usr/lib64/thunderbird/libxpcom_core.so
#18 0x00007fffeb31b8d0 in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) () from /usr/lib64/thunderbird/components/libxpconnect.so
#19 0x00007fffeb323c2b in XPC_WN_CallMethod(JSContext*, JSObject*, unsigned int, long*, long*) () from /usr/lib64/thunderbird/components/libxpconnect.so
#20 0x00007ffff6c8e167 in js_Invoke () from /usr/lib64/thunderbird/libmozjs.so
#21 0x00007ffff6c7fe9c in js_Interpret () from /usr/lib64/thunderbird/libmozjs.so
#22 0x00007ffff6c8e66d in js_Invoke () from /usr/lib64/thunderbird/libmozjs.so
#23 0x00007ffff6c8f03e in js_InternalGetOrSet () from /usr/lib64/thunderbird/libmozjs.so
#24 0x00007ffff6c98d51 in js_NativeGet () from /usr/lib64/thunderbird/libmozjs.so
#25 0x00007ffff6ca1ed4 in T.934 () from /usr/lib64/thunderbird/libmozjs.so
#26 0x00007ffff6c3824b in JS_GetProperty () from /usr/lib64/thunderbird/libmozjs.so
#27 0x00007fffeb317e0e in nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) ()
   from /usr/lib64/thunderbird/components/libxpconnect.so
#28 0x00007ffff7752b35 in PrepareAndDispatch () from /usr/lib64/thunderbird/libxpcom_core.so
#29 0x00007ffff7751ff7 in SharedStub () from /usr/lib64/thunderbird/libxpcom_core.so
#30 0x00007ffff7751f6a in NS_InvokeByIndex_P () from /usr/lib64/thunderbird/libxpcom_core.so
#31 0x00007fffeb31b8d0 in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) () from /usr/lib64/thunderbird/components/libxpconnect.so
#32 0x00007fffeb323b47 in XPC_WN_GetterSetter(JSContext*, JSObject*, unsigned int, long*, long*) () from /usr/lib64/thunderbird/components/libxpconnect.so
#33 0x00007ffff6c8e167 in js_Invoke () from /usr/lib64/thunderbird/libmozjs.so
#34 0x00007ffff6c8f03e in js_InternalGetOrSet () from /usr/lib64/thunderbird/libmozjs.so
#35 0x00007ffff6c98d51 in js_NativeGet () from /usr/lib64/thunderbird/libmozjs.so
#36 0x00007ffff6c9d92f in js_GetPropertyHelper () from /usr/lib64/thunderbird/libmozjs.so
#37 0x00007ffff6c7f4a2 in js_Interpret () from /usr/lib64/thunderbird/libmozjs.so
#38 0x00007ffff6c8e66d in js_Invoke () from /usr/lib64/thunderbird/libmozjs.so
#39 0x00007ffff6c8eee0 in js_InternalInvoke () from /usr/lib64/thunderbird/libmozjs.so
#40 0x00007ffff6c382ea in JS_CallFunctionValue () from /usr/lib64/thunderbird/libmozjs.so
#41 0x00007fffe445cbd1 in nsXBLProtoImplAnonymousMethod::Execute(nsIContent*) () from /usr/lib64/thunderbird/components/libgklayout.so
#42 0x00007fffe4454196 in nsXBLBinding::ExecuteAttachedHandler() () from /usr/lib64/thunderbird/components/libgklayout.so
---Type <return> to continue, or q <return> to quit---
#43 0x00007fffe4454196 in nsXBLBinding::ExecuteAttachedHandler() () from /usr/lib64/thunderbird/components/libgklayout.so
#44 0x00007fffe4465eb6 in nsBindingManager::ProcessAttachedQueue(unsigned int) () from /usr/lib64/thunderbird/components/libgklayout.so
#45 0x00007fffe422b666 in PresShell::InitialReflow(int, int) () from /usr/lib64/thunderbird/components/libgklayout.so
#46 0x00007fffe446ef4f in nsXULDocument::StartLayout() () from /usr/lib64/thunderbird/components/libgklayout.so
#47 0x00007fffe446f21c in nsXULDocument::DoneWalking() () from /usr/lib64/thunderbird/components/libgklayout.so
#48 0x00007fffe4474b3e in nsXULDocument::ResumeWalk() () from /usr/lib64/thunderbird/components/libgklayout.so
#49 0x00007fffe4474de1 in nsXULDocument::OnStreamComplete(nsIStreamLoader*, nsISupports*, unsigned int, unsigned int, unsigned char const*) ()
   from /usr/lib64/thunderbird/components/libgklayout.so
#50 0x00007fffeccb4f19 in nsStreamLoader::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) () from /usr/lib64/thunderbird/components/libnecko.so
#51 0x00007fffeb58f306 in nsJARChannel::OnStopRequest(nsIRequest*, nsISupports*, unsigned int) () from /usr/lib64/thunderbird/components/libjar50.so
#52 0x00007fffecca0903 in nsInputStreamPump::OnStateStop() () from /usr/lib64/thunderbird/components/libnecko.so
#53 0x00007fffecca0b70 in nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) () from /usr/lib64/thunderbird/components/libnecko.so
#54 0x00007ffff77340ee in nsInputStreamReadyEvent::Run() () from /usr/lib64/thunderbird/libxpcom_core.so
#55 0x00007ffff774709d in nsThread::ProcessNextEvent(int, int*) () from /usr/lib64/thunderbird/libxpcom_core.so
#56 0x00007ffff771b720 in NS_ProcessNextEvent_P(nsIThread*, int) () from /usr/lib64/thunderbird/libxpcom_core.so
#57 0x00007fffea0a8c55 in nsBaseAppShell::Run() () from /usr/lib64/thunderbird/components/libwidget_gtk2.so
#58 0x00007fffe8720c4e in nsAppStartup::Run() () from /usr/lib64/thunderbird/components/libtoolkitcomps.so
#59 0x00007ffff79ada79 in XRE_main () from /usr/lib64/thunderbird/libxul.so
#60 0x0000000000401b8f in main ()

[ebuild   R    ] mail-client/thunderbird-3.1.10  USE="alsa crypt dbus libnotify lightning startup-notification -bindist -custom-cflags -custom-optimization -debug -gnome -ldap -mozdom -system-sqlite -wifi" LINGUAS="-af -ar -be -bg -bn -bn_BD -ca -cs -da -de -el -en -en_GB -en_US -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -he -hu -id -is -it -ja -ko -lt -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 0 kB                                                                                   

Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39.3 x86_64)                                                                                            
=================================================================                                                                                                                               
System uname: Linux-2.6.39.3-x86_64-Intel-R-_Core-TM-_i5-2540M_CPU_@_2.60GHz-with-gentoo-2.0.3                                                                                                  
Timestamp of tree: Mon, 22 Aug 2011 09:30:01 +0000                                                                                                                                              
app-shells/bash:          4.1_p9                                                                                                                                                                
dev-lang/python:          2.7.1-r1, 3.1.3-r1                                                                                                                                                    
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.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo cnu
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
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"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr avx berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus declarative dirac dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm gps iconv idn iproute2 ipv6 jpeg kde kipi lcms libnotify mad matroska mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 readline schroedinger sdl session sse sse2 sse3 sse4 sse4_1 sse4a ssl ssse3 startup-notification svg sysfs tcpd theora tiff truetype udev unicode usb vim-syntax vorbis x264 xcb xcomposite xml xorg xscreensaver 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 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="kexi words flow plan stage tables krita karbon braindump active" 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 synaptics" 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="intel nvidia nouveau nv" 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
Comment 1 Agostino Sarubbo gentoo-dev 2011-08-24 10:30:38 UTC
Please add long output as attachment, for the next time.

Please also try major version, 3.1.12 should be in tree in a few time.
Comment 2 cnu 2011-09-08 21:24:20 UTC
It works now with 3.1.12. Not sure if this is related: before upgrading to 3.1.12 I had to change CFLAGS to -mno-avx because of a gcc bug (it crashed recompiling itself - it's in another bug here).