Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345469 - =mail-client/thunderbird-3.1.9 fails to start on hardened profile
Summary: =mail-client/thunderbird-3.1.9 fails to start on hardened profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard: [Was 3.1.{6,7}]
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 00:27 UTC by Agostino Sarubbo
Modified: 2011-04-01 13:11 UTC (History)
2 users (show)

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


Attachments
I have the same issue with thunderbird. Even when it is built with -ggdb and splitdebug the backtrace is bad (thunderbird-gdb.log,3.51 KB, text/plain)
2010-12-29 07:18 UTC, Dillon
Details
strace thunderbird (tb.log,23.92 KB, text/plain)
2011-01-16 23:08 UTC, Agostino Sarubbo
Details
thunderbird -g (gdb_tb,1.44 KB, text/plain)
2011-01-16 23:10 UTC, Agostino Sarubbo
Details
Build log (strace.log.bz2,50.76 KB, application/x-bzip2 )
2011-01-16 23:35 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2010-11-15 00:27:38 UTC
$ thunderbird 
/usr/lib/thunderbird/run-mozilla.sh: line 131:  4745 Segmentation fault      "$prog" ${1+"$@"}
Comment 1 Agostino Sarubbo gentoo-dev 2010-11-15 12:17:02 UTC
solved with paxtcl -m /usr/lib/thunderbird/thunderbird-bin

I think that he needs pax-mark in the ebuild
Comment 2 Jory A. Pratt gentoo-dev 2010-11-15 15:15:02 UTC
(In reply to comment #1)
> solved with paxtcl -m /usr/lib/thunderbird/thunderbird-bin
> 
> I think that he needs pax-mark in the ebuild
> 

Incorrect. If you have plugins installed you need to list them, also your emerge info is missing.
Comment 3 Agostino Sarubbo gentoo-dev 2010-11-15 15:28:37 UTC
Portage 2.1.9.24 (hardened/linux/x86/10.0, gcc-4.4.5, glibc-2.11.2-r3, 2.6.36-hardened i686)
=================================================================
System uname: Linux-2.6.36-hardened-i686-Intel-R-_Celeron-R-_M_CPU_430_@_1.73GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 14 Nov 2010 23:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  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.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -g0 -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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"
CXXFLAGS="-O2 -march=prescott -g0 -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-z,now"
LINGUAS="it"
MAKEOPTS="-j1"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://134.68.240.40/gentoo-portage"
USE="X acl acpi alsa apic bash-completion berkdb bzip2 cli cracklib crypt custom-cflags custom-optimization cxx dbus dri dvd extras ffmpeg gdbm gpm gstreamer gtk hal hardened iconv jpeg jpeg2k kde lame lm_sensors mmx modules mp3 mudflap ncurses networkmanager nls nptl nptlonly nsplugin opengl openmp pam pcre perl pic png pppd python qt3support qt4 readline session sse sse2 ssl svg symlink sysfs tcpd tiff urandom x264 x86 xorg 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 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" 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="input mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-2" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Agostino Sarubbo gentoo-dev 2010-11-15 15:29:06 UTC
Using only enigmail


[I] x11-plugins/enigmail
     Available versions:  1.1.2-r2 ~1.1.2-r3 {custom-optimization dbus gnome startup-notification system-sqlite}                                                                                                      
     Installed versions:  1.1.2-r2(14:37:42 14/11/2010)(custom-optimization dbus -gnome -startup-notification -system-sqlite)                                                                                         
     Homepage:            http://enigmail.mozdev.org
     Description:         GnuPG encryption plugin for thunderbird.
Comment 5 Jory A. Pratt gentoo-dev 2010-11-19 12:50:54 UTC
Please refer to a proper backtrace in gentoo guide for more detail on how to obtain the info that will be required to fix your problem. Without any info as to what part of the memory is causing a segfault we can not address it.

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 6 Agostino Sarubbo gentoo-dev 2010-11-21 10:04:50 UTC
ago@devil ~ $ gdb /usr/lib/thunderbird/thunderbird-bin
GNU gdb 6.8
Copyright (C) 2008 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"...
(no debugging symbols found)
(no debugging symbols found)
(gdb) run
Starting program: /usr/lib/thunderbird/thunderbird-bin 
(no debugging symbols found)
(no debugging symbols found)
/usr/lib/thunderbird/thunderbird-bin: error while loading shared libraries: libxpcom_core.so: cannot open shared object file: No such file or directory

Program exited with code 0177.
(gdb) 

Anyway, i see no debbugging symbols found, but i've compiled it with -ggdb and of course, for that library, revdep-rebuild does not find anything ( is part of thunderbird that i'vejust compiled )
Comment 7 Agostino Sarubbo gentoo-dev 2010-11-21 10:05:25 UTC
ago@devil ~ $ strace /usr/lib/thunderbird/thunderbird-bin
execve("/usr/lib/thunderbird/thunderbird-bin", ["/usr/lib/thunderbird/thunderbird"...], [/* 52 vars */]) = 0
brk(0)                                  = 0x17680b54
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x51f74000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/sse2", 0x5fda62d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0x5fda62d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/sse2", 0x5fda62d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0x5fda62d0)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/sse2", 0x5fda62d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0x5fda62d0)     = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/sse2", 0x5fda62d0)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=86016, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=94512, ...}) = 0
mmap2(NULL, 94512, PROT_READ, MAP_PRIVATE, 3, 0) = 0x51f5c000
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360I\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=116430, ...}) = 0
mmap2(NULL, 98540, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x51f43000
mmap2(0x51f58000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0x51f58000
mmap2(0x51f5a000, 4332, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x51f5a000
close(3)                                = 0
open("/usr/lib/libxul.so", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("//usr/lib/xulrunner-1.9.2/libxul.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pH\34\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=19333200, ...}) = 0
mmap2(NULL, 19418920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x50cbe000
mmap2(0x51e35000, 1024000, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1176) = 0x51e35000
mmap2(0x51f2f000, 81704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x51f2f000
close(3)                                = 0
open("/usr/lib/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/sse2/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/sse2", 0x5fda6298) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0x5fda6298)     = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/sse2", 0x5fda6298)     = -1 ENOENT (No such file or directory)
open("/lib/tls/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0x5fda6298)          = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/sse2", 0x5fda6298)    = -1 ENOENT (No such file or directory)
open("/lib/i686/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0x5fda6298)         = -1 ENOENT (No such file or directory)
open("/lib/sse2/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/sse2", 0x5fda6298)         = -1 ENOENT (No such file or directory)
open("/lib/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/libxpcom_core.so", O_RDONLY) = -1 ENOENT (No such file or directory)
writev(2, [{"/usr/lib/thunderbird/thunderbird"..., 36}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libxpcom_core.so", 16}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10/usr/lib/thunderbird/thunderbird-bin: error while loading shared libraries: libxpcom_core.so: cannot open shared object file: No such file or directory
) = 152
exit_group(127)                         = ?
Comment 8 Agostino Sarubbo gentoo-dev 2010-11-21 16:42:19 UTC
sorry if I caused confusion, I should do the attachment. This is the real output of gdb launched properly.



ago@devil ~ $ thunderbird -g
/usr/lib/thunderbird/run-mozilla.sh -g /usr/lib/thunderbird/thunderbird-bin
MOZILLA_FIVE_HOME=/usr/lib/thunderbird
  LD_LIBRARY_PATH=/usr/lib/thunderbird:/usr/lib/thunderbird/plugins:/usr/lib/thunderbird
DISPLAY=:0
DYLD_LIBRARY_PATH=/usr/lib/thunderbird:/usr/lib/thunderbird
     LIBRARY_PATH=/usr/lib/thunderbird:/usr/lib/thunderbird/components:/usr/lib/thunderbird
       SHLIB_PATH=/usr/lib/thunderbird:/usr/lib/thunderbird
          LIBPATH=/usr/lib/thunderbird:/usr/lib/thunderbird
       ADDON_PATH=/usr/lib/thunderbird
      MOZ_PROGRAM=/usr/lib/thunderbird/thunderbird-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=
/usr/lib/thunderbird/run-mozilla.sh: line 118: type: ddd: not found
/usr/bin/gdb /usr/lib/thunderbird/thunderbird-bin -x /tmp/mozargs.AIQUmJ
GNU gdb 6.8
Copyright (C) 2008 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"...
(no debugging symbols found)
(no debugging symbols found)
(gdb) run
Starting program: /usr/lib/thunderbird/thunderbird-bin 
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x4cb0aa4d in ?? ()
(gdb) 
Comment 9 Jory A. Pratt gentoo-dev 2010-11-22 19:49:52 UTC
(In reply to comment #8)
> sorry if I caused confusion, I should do the attachment. This is the real
> output of gdb launched properly.
> 
> 
> 
> ago@devil ~ $ thunderbird -g
> /usr/lib/thunderbird/run-mozilla.sh -g /usr/lib/thunderbird/thunderbird-bin
> MOZILLA_FIVE_HOME=/usr/lib/thunderbird
>  
> LD_LIBRARY_PATH=/usr/lib/thunderbird:/usr/lib/thunderbird/plugins:/usr/lib/thunderbird
> DISPLAY=:0
> DYLD_LIBRARY_PATH=/usr/lib/thunderbird:/usr/lib/thunderbird
>     
> LIBRARY_PATH=/usr/lib/thunderbird:/usr/lib/thunderbird/components:/usr/lib/thunderbird
>        SHLIB_PATH=/usr/lib/thunderbird:/usr/lib/thunderbird
>           LIBPATH=/usr/lib/thunderbird:/usr/lib/thunderbird
>        ADDON_PATH=/usr/lib/thunderbird
>       MOZ_PROGRAM=/usr/lib/thunderbird/thunderbird-bin
>       MOZ_TOOLKIT=
>         moz_debug=1
>      moz_debugger=
> /usr/lib/thunderbird/run-mozilla.sh: line 118: type: ddd: not found
> /usr/bin/gdb /usr/lib/thunderbird/thunderbird-bin -x /tmp/mozargs.AIQUmJ
> GNU gdb 6.8
> Copyright (C) 2008 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"...
> (no debugging symbols found)
> (no debugging symbols found)
> (gdb) run
> Starting program: /usr/lib/thunderbird/thunderbird-bin 
> (no debugging symbols found)
> (no debugging symbols found)
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x4cb0aa4d in ?? ()
> (gdb) 
> 
There is nothing here no debug symbols no backtrace nothing. Please refer to the guide for getting a meaningful backtrace. If you wish to use strace a simple strace -f thunderbird would suffice.
Comment 10 Agostino Sarubbo gentoo-dev 2010-11-22 20:39:27 UTC
I have compiled thunderbird with CFLAGS="-ggdb" and FEATURES="splitdebug" ( i know how to compile for do debug)
Anyway i think that i should compile other dependencies of thunderbird
Comment 11 Agostino Sarubbo gentoo-dev 2010-12-10 19:43:22 UTC
same problem with new version
Comment 12 Dillon 2010-12-29 05:21:16 UTC
(In reply to comment #11)
> same problem with new version
> 

The problem is this ebuild needs pax-mark -m or JIT must be disabled like so
./greprefs/all-1.js:pref("javascript.options.jit.content",      false);
./greprefs/all-1.js:pref("javascript.options.jit.chrome",      false);
Comment 13 Dillon 2010-12-29 05:32:35 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > same problem with new version
> > 
> 
> The problem is this ebuild needs pax-mark -m or JIT must be disabled like so
> ./greprefs/all-1.js:pref("javascript.options.jit.content",      false);
> ./greprefs/all-1.js:pref("javascript.options.jit.chrome",      false);
> 

Erm, well I meant I had a similar issue and it was solved with this.
Comment 14 Dillon 2010-12-29 07:18:50 UTC
Created attachment 258302 [details]
I have the same issue with thunderbird. Even when it is built with -ggdb and splitdebug  the backtrace is bad
Comment 15 Jory A. Pratt gentoo-dev 2011-01-06 14:36:47 UTC
(In reply to comment #7)
> writev(2, [{"/usr/lib/thunderbird/thunderbird"..., 36}, {": ", 2}, {"error
> while loading shared libra"..., 36}, {": ", 2}, {"libxpcom_core.so", 16}, {":
> ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or
> directory", 25}, {"\n", 1}], 10/usr/lib/thunderbird/thunderbird-bin: error
> while loading shared libraries: libxpcom_core.so: cannot open shared object
> file: No such file or directory
> ) = 152
> exit_group(127)                         = ?
> 

This is rather interesting, drop the -z now and recompile.
Comment 16 Anthony Basile gentoo-dev 2011-01-06 16:05:40 UTC
(In reply to comment #15)
> (In reply to comment #7)
> > writev(2, [{"/usr/lib/thunderbird/thunderbird"..., 36}, {": ", 2}, {"error
> > while loading shared libra"..., 36}, {": ", 2}, {"libxpcom_core.so", 16}, {":
> > ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or
> > directory", 25}, {"\n", 1}], 10/usr/lib/thunderbird/thunderbird-bin: error
> > while loading shared libraries: libxpcom_core.so: cannot open shared object
> > file: No such file or directory
> > ) = 152
> > exit_group(127)                         = ?
> > 
> 
> This is rather interesting, drop the -z now and recompile.
> 

@Dillon, the JIT + hardened is an issue, but I don't think that's what's going on here.

@Jory + Agostino.  The strace is telling you why its dying.  It tries to load libxpcom_core.so and cannot.  Now, when I do ldd on my system:

  ldd /usr/lib64/thunderbird/thunderbird-bin

I get many lines, but the one of interest is

   libxpcom_core.so => not found

A quick search of my LD_PATH and sure enough, I do not have libxpcom_core.  Nonetheless, my tb-3.1.7 on hardened amd64 works fine and has since it went stable.

I think that library is associated with gnash.
Comment 17 Jory A. Pratt gentoo-dev 2011-01-14 16:44:37 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > (In reply to comment #7)
> > > writev(2, [{"/usr/lib/thunderbird/thunderbird"..., 36}, {": ", 2}, {"error
> > > while loading shared libra"..., 36}, {": ", 2}, {"libxpcom_core.so", 16}, {":
> > > ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or
> > > directory", 25}, {"\n", 1}], 10/usr/lib/thunderbird/thunderbird-bin: error
> > > while loading shared libraries: libxpcom_core.so: cannot open shared object
> > > file: No such file or directory
> > > ) = 152
> > > exit_group(127)                         = ?
> > > 
> > 
> > This is rather interesting, drop the -z now and recompile.
> > 
> 
> @Dillon, the JIT + hardened is an issue, but I don't think that's what's going
> on here.
> 
> @Jory + Agostino.  The strace is telling you why its dying.  It tries to load
> libxpcom_core.so and cannot.  Now, when I do ldd on my system:
> 
>   ldd /usr/lib64/thunderbird/thunderbird-bin
> 
> I get many lines, but the one of interest is
> 
>    libxpcom_core.so => not found
> 
> A quick search of my LD_PATH and sure enough, I do not have libxpcom_core. 
> Nonetheless, my tb-3.1.7 on hardened amd64 works fine and has since it went
> stable.
> 
> I think that library is associated with gnash.
> 

As I stated on irc the lib is found via the wrapper script when launching. I am still unable to reproduce this, without info from the user that was requested to attempt with -z now disable has yet to be provided.
Comment 18 Agostino Sarubbo gentoo-dev 2011-01-16 23:08:50 UTC
Created attachment 260029 [details]
strace thunderbird

ago@devil ~ $ thunderbird 
/usr/lib/thunderbird/run-mozilla.sh: line 131: 25662 Segmentation fault      "$prog" ${1+"$@"}
Comment 19 Agostino Sarubbo gentoo-dev 2011-01-16 23:10:40 UTC
Created attachment 260031 [details]
thunderbird -g
Comment 20 Agostino Sarubbo gentoo-dev 2011-01-16 23:35:44 UTC
Created attachment 260034 [details]
Build log

bigger than 1M
Comment 21 Agostino Sarubbo gentoo-dev 2011-03-07 16:38:27 UTC
i can confirm on new 3.1.9 version
Comment 22 Jory A. Pratt gentoo-dev 2011-03-14 19:42:28 UTC
I have just commited the pax-mark -m for thunderbird-bin you will see it in a few hours when you sync. I did not do this as a revision bump as so few users are effected.
Comment 23 Billy DeVincentis 2011-03-26 23:58:59 UTC
How exactly was this fixed as I am going nuts with the very same problem!!! What was the fix?
Comment 24 Agostino Sarubbo gentoo-dev 2011-03-27 00:04:03 UTC
the manually fix is at commment #1

the ebuild fix is pax-mark:
pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/thunderbird-bin
Comment 25 Tom-Steve Watzke 2011-04-01 09:35:14 UTC
Emerging the newest (non alpha) thunderbird and enigmail still got me the "not found" linking notice from ldd concerning libxpcom_core.so

This command fixed it for me (... for the moment) as enigmail didn't get started while thunderbird is running:
ln -svnf /usr/lib/thunderbird/libxpcom_core.so /usr/lib/libxpcom_core.so
Comment 26 Tom-Steve Watzke 2011-04-01 13:11:44 UTC
To be exactly (mozilla overlay):
mail-client/thunderbird-3.1.9  USE="alsa crypt dbus gnome libnotify lightning startup-notification -bindist -custom-optimization -debug -ldap -mozdom -system-sqlite -wifi" LINGUAS="de en -af ..."
x11-plugins/enigmail-1.1.2-r3  USE="alsa dbus libnotify startup-notification -custom-optimization -debug -system-sqlite -wifi"

By the way, I noticed, that version of enigmail is unpacking code of thunderbird-3.1.4.