Comment 47 for bug 507089

Revision history for this message
In , Louis-Marie (lmouton) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic) Firefox/3.5.5
Build Identifier: Thunderbird 3 RC2 (http://download.mozilla.org/?product=thunderbird-3.0rc2&os=linux&lang=en-US)

Thunderbird doesn't start at all (seems to hang). When running with gdb (thunderbird -g) getting a SIGSEV and following stack trace:

Program received signal SIGSEGV, Segmentation fault.
0x08090f3c in free ()
(gdb) bt
#0 0x08090f3c in free ()
#1 0x004872b8 in ldap_x_free () from ./bin/thunderbird/libldap60.so
#2 0x0047edc4 in ldap_set_lderrno () from ./bin/thunderbird/libldap60.so
#3 0x00493e5e in ldap_set_option () from ./bin/thunderbird/libldap60.so
#4 0x041d20f5 in ?? () from /lib/libnss_ldap.so.2
#5 0x041d2d70 in ?? () from /lib/libnss_ldap.so.2
#6 0x041d30fa in ?? () from /lib/libnss_ldap.so.2
#7 0x041d38d0 in _nss_ldap_getpwnam_r () from /lib/libnss_ldap.so.2
#8 0x01167a95 in getpwnam_r () from /lib/tls/i686/cmov/libc.so.6
#9 0x00a10802 in ?? () from /lib/libglib-2.0.so.0
#10 0x00a12805 in g_get_home_dir () from /lib/libglib-2.0.so.0
#11 0x00e984d8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00e9abfb in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00e48d65 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x009eac57 in g_option_context_parse () from /lib/libglib-2.0.so.0
#15 0x00e4895c in gtk_parse_args () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x0807c1e6 in ?? ()
#17 0x08079f06 in ?? ()
#18 0x010e8b56 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#19 0x08079dd1 in ?? ()

Reproducible: Always

Steps to Reproduce:
1. configure libnss to use ldap backend to get current user information (user should not be in local /etc/passwd file)
2. run thunderbird
Actual Results:
Thunderbirds hands due to a crash in libldap60.so

This bug shows with ubuntu 9.04 and 9.10, not showing with CentOS 5.3

It looks like libldap60.so provided with thunderbird overrides functionality from distribution's ldap library and fails at performing operation requested by libnss.