Comment 0 for bug 507089

Revision history for this message
In , Jmarco (jmarco) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: version 1.0.2 (20050317)

This could either be a problem with the PADL software nss_ldap plugin for name
service switch, or it could be a problem with something in thunderbird doing
user name lookups, or some series of bad interactions between a likely bug in
nss_ldap and something that thunderbird is doing.

If you come across this bug with the same problem and just want to get things
working, I found that running 'nscd' causes the problem to go away, probably
because mozilla is no longer directly going into OpenLDAP or nss_ldap libraries.

Anyhow, with a pristine, fresh untar/install of thunderbird 1.0.2 (and earlier
versions as well), I get a Segfault on startup. It only happens when launching
from a User whose identity is defined on the LDAP service instead of local
files. I can start thunerbird just fine as root or other local users. If I try
to use my own user ID, which comes from the LDAP server, thunderbird segfaults
on startup.

Reproducible: Always

Steps to Reproduce:
1. Set up or get use of an LDAP based user account environment,
    including a testing box set up to use it.
2. Set up the OpenLDAP client on the client machine.
3. Set up pam_ldap and nss_ldap to allow logins by LDAP users.
3.1 DO NOT RUN 'nscd' (nscd appears to work-around this bug)
4. Do a pristine default untar install of thunderbird.
5. Try to run thunderbird as an LDAP-based user. Won't work.
6. Try to run as root. Should work if root isn't LDAP based.
7. Try to run as temporary local-only user not in LDAP. Should work.

Actual Results:
With LDAP based users, I got the segfault on startup.
For non-LDAP users, no segfault, thunderbird worked fine.
When running 'nscd', thunderbird worked fine in all cases.

Expected Results:
Should have started thunderbird in all cases without segfaulting.

Thunerbird Version: 1.0.2 (20050317)
OpenLDAP Version: 2.1.30 (Gentoo port 2.1.30-r4)
Linux Distro: Gentoo 2005.0
Kernel Version: 2.6.11 (2.6.11-gentoo-r6)
Kernel Patches: Evms 2.5.2 recommended patches
                    UML SKAS patchset
Libc Version: 2.3.4 + NPTL
nss_ldap version: 2.2.6
pam_ldap version: 1.7.1