[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Update on #145: I just noticed that the nscd demon is crashing during login. After restarting the service firefox starts and functions again. Don't know the cause for nscd crashing, but I believe it is off topic here. I don't mind this post and #145 being removed by the admin. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Bug #507089 "My (jcollins) home directory is sshfs mounted to a remote server on my network using pam_mount. This is what happens when I try to run thunderbird: jcollins@joewks:~$ thunderbird Segmentation fault jcollins@joewks:~$ When I log in as a user (jcollins-local) without a sshfs mounted home directory, thunderbird runs fine." >> I ran into the exact same symptoms as described by jcollins today after >> replacing the mainboard in my PC. Before that, Thunderbird was working >> reliably and was in use every day since 2013 on this machine. If logging in >> to my network where /home is on a NFS share, Thunderbird quits with >> "segmentation fault" during program start. If starting locally (logged in as >> local user), Thunderbird starts successfully. De- and re-installation didn't >> help. NSCD is on newest version. We use LDAP for network user authentification (not for email). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
** Changed in: thunderbird (Ubuntu) Status: Fix Released => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
nslcd/nss-pam-ldapd has its own share of problems. I would say that calling SSSD unproven is unjustified. It exists for quite some time, is actively developed and solves many problems that are still present - partly per design - with nslcd/nss-pam-ldapd. Finally, configuration with SSSD is much easier and much less error prone than the old nslcd /nss-pam-ldapd-combo. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
** Changed in: thunderbird Status: In Progress => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
If you have the possibility, try SSSD [1]. It works fine with Thunderbird and does away with all the cruft that nscd and co. brought along. One single and easy to understand config file to configure it. It's here in production with Ubuntu 12.04.* and never had problems again - which is in sharp contrast to ns(l)cd. Packages are available for Ubuntu in standard repositories. A small howto is at [2]. [1] https://fedorahosted.org/sssd/ [2] http://labs.opinsys.com/blog/2010/03/26/user-management-with-sssd-on-shared-laptops/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
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=) 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=) at /build/buildd/thunderbird-17.0.2+build1/mozilla/memory/mozjemalloc/jemalloc.c:4626 #1 0x75a1eb5f in ldap_ld_free (ld=0x76cab5e0, serverctrls=0x0, clientctrls=, close=) at /build/buildd/thunderbird-17.0.2+build1/./ldap/sdks/c-sdk/ldap/libraries/libldap/unbind.c:158 #2 0x7fffead2e955 in ?? () from /lib/x86_64-linux-gnu/libnss_ldap.so.2 #3 0x7fffead2fb5b in ?? () from /lib/x86_64-linux-gnu/libnss_ldap.so.2 #4 0x7fffead31192 in ?? () from /lib/x86_64-linux-gnu/libnss_ldap.so.2 #5 0x7fffead32819 in ?? () from /lib/x86_64-linux-gnu/libnss_ldap.so.2 #6 0x7fffead32e09 in _nss_ldap_getpwuid_r () from /lib/x86_64-linux-gnu/libnss_ldap.so.2 #7 0x770bcbfd in __getpwuid_r (uid=537, resbuf=0x773b9380, buffer=0x76c09000 "+", buflen=1024, result=0x7fffc6e0) at ../nss/getXXbyYY_r.c:256 #8 0x770bc4f3 in getpwuid (uid=537) at ../nss/getXXbyYY.c:117 #9 0x71afe0ef in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #10 0x71afe99d in g_get_home_dir () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #11 0x7027cb67 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #12 0x70280f9f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #13 0x70230b2a in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #14 0x71addfa0 in g_option_context_parse () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #15 0x70231120 in gtk_parse_args () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #16 0x73280fb4 in XREMain::XRE_mainStartup (this=0x7fffce30, aExitFlag=0x7fffcdff) at /build/buildd/thunderbird-17.0.2+build1/mozilla/toolkit/xre/nsAppRunner.cpp:3247 #17 0x73283a19 in XREMain::XRE_main (this=0x7fffce30, argc=, argv=0x7fffe228, aAppData=0x76c26680) at /build/buildd/thunderbird-17.0.2+build1/mozilla/toolkit/xre/nsAppRunner.cpp:3871 #18 0x73283c8d in XRE_main (argc=1, argv=0x7fffe228, aAppData=0x76c26680, aFlags=) at /build/buildd/thunderbird-17.0.2+build1/mozilla/toolkit/xre/nsAppRunner.cpp:3965 #19 0x0040225b in do_main (argv=0x7fffe228, argc=1, exePath=0x7fffd108 "/usr/lib/thunderbird/") at /build/buildd/thunderbird-17.0.2+build1/mail/app/nsMailApp.cpp:111 #20 main (argc=1, argv=0x7fffe228) at /build/buildd/thunderbird-17.0.2+build1/mail/app/nsMailApp.cpp:200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
s/#506089/#507089 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Bug #1085957 is clearly a different bug that is not related to #506089 in any other way than it invalidates (one of) the proposed workarounds for #506089. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
I do not see how bug #1085957 is in any way related to this bug… running nscd to cache LDAP responses is itself a crucial service and mozilla should not allow its internal LDAP library to export symbols overlapping with openldap’s ABI unless if it is binary-compatible with openldap. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Previously, the workaround was to run the "nscd" service -- however that is no longer an option due to this bug: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1085957 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
I've tried all the proposed workarounds without success. This is affecting all of our user in our LDAP-based network. I'm running Ubuntu 12.04.1 x86_64 with thunderbird package version 17.0+build2-0ubuntu0.12.04.1. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
The workaround in post #7 no longer seems to work for my Ubuntu 12.04 x86_64 system, as of thunderbird package version 11.0.1+build1-0ubuntu2. After upgrade, thunderbird immediately jumps to a Mozilla bug reporting screen on start. I've ran this command as suggested: "cp /usr/lib/x86_64-linux-gnu/libldap-2.4.so.2 /usr/lib/thunderbird/libldap60.so" And while this does change the issue somewhat (I no longer get a bug reporting screen now, Thunderbird just exists silently), it doesn't resolve the issue. Please advise on other things I might try, or other information I could gather that will be useful for people who could resolve this. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
** Bug watch added: Mozilla Bugzilla #433530 https://bugzilla.mozilla.org/show_bug.cgi?id=433530 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
still a problem in 12.04 amd64 desktop and the default thunderbird provided. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
although it's still a problem in ubuntu 12.04 64bit desktop and the default thunderbird (not sure if any thunderbird), applying the workaround in #7 (https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/507089/comments/7) works. we use 10 ubuntu 12.04 64bit workstations here at work, that require ldap login from a ubuntu 10.04 server managed by zentyal. I apply the zentyla-desktop.deb to each of the workstations. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
I have a similar problem. I'm adding what may be more details to aid in solving. I use LDAP for authentication and I have nscd installed. Thunderbird has been working without issue until yesterday when I changed hosts in nsswitch.conf to use ldap as shown below; Changed: hosts: files dns [NOTFOUND=return] to the following; hosts: files ldap dns [NOTFOUND=return] This change resulted in seg faults with no other warning. I was able to create an alternate user profile and that would work, but when trying to get back to the current user, the seg fault would return. Once I changed nsswitch.conf back to using dns, the app starts without issue. My release; Linux bari.iqanalog.com 2.6.32-33-generic #72-Ubuntu SMP Fri Jul 29 21:07:13 UTC 2011 x86_64 GNU/Linux DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS" Thunderbird 3.1.13 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
** Also affects: seamonkey Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch To manage notifications about this bug go to: https://bugs.launchpad.net/seamonkey/+bug/507089/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
As this bug was not present in Ubuntu 9.10 Karmic Koala (thunderbird 2.0.0.24+build1+nobinonly-0ubuntu0.9.10.3), it must have been introduced sometime in between karmic and lucid. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
I just reproduced the segfault at startup as an LDAP user with thunderbird version 3.1.7+build3+nobinonly-0ubuntu0.10.04.1 from lucid- update/lucid-security. I can confirm that installing and starting nscd lets Thunderbird start, and purging it restores the segfault. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Just wanted to add that this is still a problem in Lucid 10.04. The workaround of moving the shared library bundled with Thunderbird (/usr/lib/thunderbird-3.1.7/libldap60.so) and linking the system wide libldap (/usr/lib/libldap-2.4.so.2) into its place fixed the problem. Though I haven't done much testing beyond that yet. Can anyone point out problems that still exist with this workaround? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/507089 Title: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
** Description changed: 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 be...@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) ||/ NameVersion 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-1ubuntu1Display 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-gb1:2.0.0.14+1-0ubuntu2 Thunderbird English language/region package ii thunderbird-nostalgy0.2.16+svn151-1ubuntu1 keyboard shortcut extension for thunderbird ii thunderbird-quickfile 0.17.0.0011-0ubuntu4faster mail filing for the Thunderbird mail client ii thunderbird-traybiff1.2.3-4.2ubuntu2traybiff - new mail alert for thunderbird + + + WORKAROUND: Installing the nscd package solves this issue in most cases. ** Description changed: -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Bug is still present in Lucid with all the latest updates installed. Although the workaround by installing libnss-ldapd or nscd seems to work - according to above comments -, this is not an acceptable solution as it interferes too deeply with the system (changing fundamental system internals just to get a specific client program working). This problem first appeared with Lucid; in Karmic Thunderbird worked fine with exactly the same system configuration. -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
** Changed in: thunderbird Importance: Unknown => Critical -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Update to the previous entry (#89): Using the package libnss-ldapd instead of libnss-ldap fixed the problem. So I no longer need local entries in /etc/passwd and /etc/shadow. -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Running nscd did not fix it for me. I also had to remove the libnss- ldap package (in addition to putting a local entry in /etc/passwd and /etc/shadow, as mentioned earlier). With the local entries, I don't have to run nscd. But now I can't login as other users unless I put in local entries for those, too. -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
I'v got the same problem today (I also have LDAP configuration) and couldn't take any appropriate action to solve it, but I found the workaround that worked very well. Start thunderbird -> Close the "Create Account Wizard". "File" -> "Work Offline". "Create New Account" -> Write your full name and Email address -> "Continue" Now you will get an Message saying: "Thunderbird failed to find setting for your email account. - that's OK Now fill out needed information "AND DO NOT RE-TEST-CONFIGURATION". Click on "Manual Setup" - which then creates a configuration for your email account. Now you can precisely configure your account as you like. When finished confirm the new configuration with OK and take your thunderbird online. That's it. In this case you say your client to not be smart and try to configure him self, while online. You do it your configuration offline and force thunderbird to try you configuration when online. This problem exist obviously only if you let thunderbird discover the settings. I hope this will be resolved soon. Btw. if you make mistake before clicking on "Manual Setup" button, you can delete the misconfigured account by choosing the "Account Action"->"Remove Account" - Aksel -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Just confirming this is indeed still a problem with an up to date fresh lucid install, and nscd does seem to fix it. -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
I can also confirm that installing nscd fixes the problem. -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Works with enabled nsc here, to. -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Confirm, it works with enabled nscd. -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Upstream bug was a duplicate of upstream#292127 - I updated to reflect this. ** Bug watch added: Mozilla Bugzilla #292127 https://bugzilla.mozilla.org/show_bug.cgi?id=292127 ** Changed in: thunderbird Status: Invalid => Unknown ** Changed in: thunderbird Remote watch: Mozilla Bugzilla #532601 => Mozilla Bugzilla #292127 -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
I'd like to say that as of now I can get Thunderbird to start successfully when I have the name service cache daemon (NSCD) running (properly configured). Can anyone else confirm this? -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
surprised? https://bugs.launchpad.net/ubuntu/+source/phpldapadmin/+bug/551269 of course the part of the virtual machine is a joke; i installed phpldapadmin 1.2.0.5 in /usr/local until i find the time to migrate to a different distro -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Just curious, how can this be Importance: High and unassigned with an LTS release just around the corner? LDAP appears to be a second class citizen to Canonical. See bug 442498 ( https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/442498 ) -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Here's a workaround. Add yourself as a local user in /etc/passwd & /etc/shadow and it'll work. To confirm, run getent passwd | grep and you should see 2 entries, the local and the ldap. If they are ==, then you did the right thing. bedge:x:1077::Bruce Edge:/users/bedge:/bin/zsh bedge:x:1077::Bruce Edge:/users/bedge:/bin/zsh -Bruce -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
For me, running nscd as suggested in Bug #532128 gets rid of the segfault but thunderbird still won't start: Bug #561323 -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Marking as Triaged -> High, Please report any other bugs you may find. ** Changed in: thunderbird (Ubuntu) Importance: Undecided => High ** Changed in: thunderbird (Ubuntu) Status: Incomplete => Triaged -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Yes, I checked with lucid repositories package, and 3.0 and 3.1 package from https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa/ the bug exists with all of them -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Note, this is the thunderbird package in that PPA. -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Could someone please check with the daily build of Thunderbird 3.0 to see if this is still occurring? https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa/ ** Changed in: thunderbird (Ubuntu) Status: Confirmed => Incomplete -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Marked as triaged since there is enough info at this point. Please see upstream bug for more info. Adding upstream bug to this one for tracking ** Changed in: thunderbird (Ubuntu) Status: New => Confirmed ** Also affects: thunderbird via https://bugzilla.mozilla.org/show_bug.cgi?id=532601 Importance: Unknown Status: Unknown -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
this is due a know bug in mozilla thunderbird: https://bugzilla.mozilla.org/show_bug.cgi?id=532601 I think that it should be fixed before final Lucid release or give an alternative to install thunderbird 2 ** Bug watch added: Mozilla Bugzilla #532601 https://bugzilla.mozilla.org/show_bug.cgi?id=532601 -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 507089] Re: thunderbird shredder always segfaults on startup with LDAP auth in nsswitch
Something definitely funky with ldap users and thunderbid (tested versions <= 2.0.0.23). I can run thunderbird as a non-ldap user just fine, but as soon as trying it with and ldap user it seg faults. I've tried 3.6 all the way down to 2.0.0.23 and it's the same thing for each version. dmesg -- [597021.472581] thunderbird-bin[16356]: segfault at 912fb8bc ip 08091fe6 sp b6a32668 error 4 in thunderbird-bin[8048000+c4b000] [597024.625942] thunderbird-bin[16366]: segfault at 90dfb8bc ip 08091fe6 sp b6932668 error 4 in thunderbird-bin[8048000+c4b000] [597030.588103] thunderbird-bin[16375]: segfault at 917f18bc ip 08091fe6 sp b6b30668 error 4 in thunderbird-bin[8048000+c4b000] [597167.664977] thunderbird-bin[16402]: segfault at 90dfb8bc ip 08091fe6 sp b6932668 error 4 in thunderbird-bin[8048000+c4b000] [597171.815210] thunderbird-bin[16411]: segfault at 917f18bc ip 08091fe6 sp b6b30668 error 4 in thunderbird-bin[8048000+c4b000] my nsswitch.conf -- # grep ldap /etc/nsswitch.conf passwd: files ldap group: files ldap shadow: files ldap strace shows barfology after looking for ldap.conf -- $ export LD_LIBRARY_PATH=. $ strace ./thunderbird-bin ... open("/home/user/ldaprc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/home/user/.ldaprc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("ldaprc", O_RDONLY|O_LARGEFILE)= -1 ENOENT (No such file or directory) brk(0xaa1d000) = 0xaa1d000 stat64("/etc/ldap.conf", {st_mode=S_IFREG|0644, st_size=776, ...}) = 0 geteuid32() = 9418 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ -- thunderbird shredder always segfaults on startup with LDAP auth in nsswitch https://bugs.launchpad.net/bugs/507089 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs