I'm getting an error in jemalloc.c on Ubuntu 12.04.1 (this error is
reproducible.) Any pointers on how to work around this problem are much
welcome (NSCD is not an option due to bug #507089.)

Program received signal SIGSEGV, Segmentation fault.
arena_dalloc (ptr=0x7fffead2f190, offset=<optimized out>) at 
/build/buildd/thunderbird-17.0.2+build1/mozilla/memory/mozjemalloc/jemalloc.c:4626
4626    
/build/buildd/thunderbird-17.0.2+build1/mozilla/memory/mozjemalloc/jemalloc.c: 
No such file or directory.
(gdb) bt
#0  arena_dalloc (ptr=0x7fffead2f190, offset=<optimized out>) at 
/build/buildd/thunderbird-17.0.2+build1/mozilla/memory/mozjemalloc/jemalloc.c:4626
#1  0x00007ffff5a1eb5f in ldap_ld_free (ld=0x7ffff6cab5e0, serverctrls=0x0, 
clientctrls=<optimized out>, close=<optimized out>)
    at 
/build/buildd/thunderbird-17.0.2+build1/./ldap/sdks/c-sdk/ldap/libraries/libldap/unbind.c:158
#2  0x00007fffead2e955 in ?? () from /lib/x86_64-linux-gnu/libnss_ldap.so.2
#3  0x00007fffead2fb5b in ?? () from /lib/x86_64-linux-gnu/libnss_ldap.so.2
#4  0x00007fffead31192 in ?? () from /lib/x86_64-linux-gnu/libnss_ldap.so.2
#5  0x00007fffead32819 in ?? () from /lib/x86_64-linux-gnu/libnss_ldap.so.2
#6  0x00007fffead32e09 in _nss_ldap_getpwuid_r () from 
/lib/x86_64-linux-gnu/libnss_ldap.so.2
#7  0x00007ffff70bcbfd in __getpwuid_r (uid=537, resbuf=0x7ffff73b9380, 
buffer=0x7ffff6c09000 "+", buflen=1024, result=0x7fffffffc6e0) at 
../nss/getXXbyYY_r.c:256
#8  0x00007ffff70bc4f3 in getpwuid (uid=537) at ../nss/getXXbyYY.c:117
#9  0x00007ffff1afe0ef in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff1afe99d in g_get_home_dir () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff027cb67 in ?? () from 
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff0280f9f in ?? () from 
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007ffff0230b2a in ?? () from 
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x00007ffff1addfa0 in g_option_context_parse () from 
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007ffff0231120 in gtk_parse_args () from 
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#16 0x00007ffff3280fb4 in XREMain::XRE_mainStartup (this=0x7fffffffce30, 
aExitFlag=0x7fffffffcdff) at 
/build/buildd/thunderbird-17.0.2+build1/mozilla/toolkit/xre/nsAppRunner.cpp:3247
#17 0x00007ffff3283a19 in XREMain::XRE_main (this=0x7fffffffce30, 
argc=<optimized out>, argv=0x7fffffffe228, aAppData=0x7ffff6c26680)
    at 
/build/buildd/thunderbird-17.0.2+build1/mozilla/toolkit/xre/nsAppRunner.cpp:3871
#18 0x00007ffff3283c8d in XRE_main (argc=1, argv=0x7fffffffe228, 
aAppData=0x7ffff6c26680, aFlags=<optimized out>)
    at 
/build/buildd/thunderbird-17.0.2+build1/mozilla/toolkit/xre/nsAppRunner.cpp:3965
#19 0x000000000040225b in do_main (argv=0x7fffffffe228, argc=1, 
exePath=0x7fffffffd108 "/usr/lib/thunderbird/") at 
/build/buildd/thunderbird-17.0.2+build1/mail/app/nsMailApp.cpp:111
#20 main (argc=1, argv=0x7fffffffe228) at 
/build/buildd/thunderbird-17.0.2+build1/mail/app/nsMailApp.cpp:200

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/507089

Title:
  thunderbird shredder always segfaults on startup with LDAP auth in
  nsswitch

Status in SeaMonkey: all-in-one Internet application suite:
  New
Status in Mozilla Thunderbird Mail and News:
  In Progress
Status in “thunderbird” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: thunderbird

  If nsswitch.conf is set with:

  passwd:         compat ldap
  group:          compat ldap
  shadow:         compat ldap

  My ldap config does work as I'm using it for login authentication.

  thunderbird-3.0 always segfaults:

  0 %> thunderbird-3.0
  Segmentation fault
  0 %> thunderbird-3.0 --g-fatal-warnings 
  Segmentation fault
  139 %> thunderbird-3.0 -options           
  Segmentation fault
  139 %> thunderbird-3.0 -safe-mode
  Segmentation fault
  139 %> thunderbird-3.0 -ProfileManager
  Segmentation fault
  139 %> 

  ...even with no .thunderbird-30 dir:

   %> thunderbird-3.0 -ProfileManager 
  *INFO* No /users/bedge/.thunderbird-3.0 detected. Create it from 
/users/bedge/.mozilla-thunderbird
  Segmentation fault
  0 9:12:52 bedge@ice  ~
  139 %> 

  Changing nsswitch back to NIS works:

  passwd:         compat nis
  group:          compat nis
  shadow:         compat nis

  1 %> dpkg -l thunderbird\*
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                        Version                     Description
  
+++-===========================-===========================-======================================================================
  ii  thunderbird                 2.0.0.23+build1+nobinonly-0 mail/news client 
with RSS and integrated spam filter support
  ii  thunderbird-3.0             3.0~rc3~micahg+nobinonly-0u mail/news client 
with RSS and integrated spam filter support
  ii  thunderbird-3.0-gnome-suppo 3.0~rc3~micahg+nobinonly-0u Support for Gnome 
in Mozilla Thunderbird 3.0
  ii  thunderbird-dispmua         1.6.4.3-1ubuntu1            Display Mail User 
Agent extension (transitional package)
  ii  thunderbird-gnome-support   2.0.0.23+build1+nobinonly-0 Support for Gnome 
in Mozilla Thunderbird
  ii  thunderbird-locale-en-gb    1:2.0.0.14+1-0ubuntu2       Thunderbird 
English language/region package
  ii  thunderbird-nostalgy        0.2.16+svn151-1ubuntu1      keyboard shortcut 
extension for thunderbird
  ii  thunderbird-quickfile       0.17.0.0011-0ubuntu4        faster mail 
filing for the Thunderbird mail client
  ii  thunderbird-traybiff        1.2.3-4.2ubuntu2            traybiff - new 
mail alert for thunderbird

  
  WORKAROUND: Installing the nscd package solves this issue in most cases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to