Closed Bug 874029 Opened 11 years ago Closed 11 years ago

crash on startup if user account comes from LDAP

Categories

(SeaMonkey :: Startup & Profiles, defect)

SeaMonkey 2.13 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 292127

People

(Reporter: mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 (Beta/Release)
Build ID: 20130414073322

Steps to reproduce:

I'm going to use a self compiled SeaMonkey on a Linux from Scratch (7.x) installation. But it crashes if the user account comes from a LDAP server. The application crashes before any window appear.
But firefox hasn't the problem! The binaries from the seamonkey.org crashes as well - unfortunately the crashlog couldn't be send.
I tried different versions of seamonkey and firefox and different options in mozconfig


Actual results:

this call stack was shown:
UNKNOWN [/lib/libpthread.so.0 +0x0000F820]
strtok_r+0x000000CB [/lib/libc.so.6 +0x0007E91B]
ldap_str2charray+0x0000007C [/usr/local/seamonkey-dbg/libldap60.so +0x0000A37C]
UNKNOWN [/usr/local/lib/libldap-2.4.so.2 +0x00025F46]
ldap_int_initialize_global_options+0x00000058 [/usr/local/lib/libldap-2.4.so.2 +0x000277A8]
ldap_int_initialize+0x00000071 [/usr/local/lib/libldap-2.4.so.2 +0x00027901]
ldap_create+0x00000029 [/usr/local/lib/libldap-2.4.so.2 +0x0000E069]
ldap_initialize+0x0000002A [/usr/local/lib/libldap-2.4.so.2 +0x0000E53A]
UNKNOWN [/usr/local/lib/libnss_ldap.so.2 +0x000040E0]
UNKNOWN [/usr/local/lib/libnss_ldap.so.2 +0x00005B1C]
UNKNOWN [/usr/local/lib/libnss_ldap.so.2 +0x00007179]
_nss_ldap_getpwnam_r+0x00000047 [/usr/local/lib/libnss_ldap.so.2 +0x00007857]
getpwnam_r+0x000000CD [/lib/libc.so.6 +0x000A46FD]
UNKNOWN [/usr/lib/libglib-2.0.so.0 +0x0007331E]
g_get_home_dir+0x0000003D [/usr/lib/libglib-2.0.so.0 +0x00073EFD]
UNKNOWN [/usr/local/lib/libgtk-x11-2.0.so.0 +0x001851CE]
gtk_rc_reparse_all_for_settings+0x0000022D [/usr/local/lib/libgtk-x11-2.0.so.0 +0x0018564D]
gtk_settings_get_for_screen+0x000000B5 [/usr/local/lib/libgtk-x11-2.0.so.0 +0x001A24B5]
UNKNOWN [/usr/local/lib/libgtk-x11-2.0.so.0 +0x001B7089]
g_type_create_instance+0x00000157 [/usr/lib/libgobject-2.0.so.0 +0x00030997]
UNKNOWN [/usr/lib/libgobject-2.0.so.0 +0x00014D79]
g_object_newv+0x000007B2 [/usr/lib/libgobject-2.0.so.0 +0x000168C2]
g_object_new+0x000000EC [/usr/lib/libgobject-2.0.so.0 +0x00016EAC]
gtk_widget_get_default_style+0x0000001D [/usr/local/lib/libgtk-x11-2.0.so.0 +0x002533CD]                                                                                            
UNKNOWN [/usr/local/lib/libgtk-x11-2.0.so.0 +0x00253475]                                                                                                                            
g_type_create_instance+0x00000108 [/usr/lib/libgobject-2.0.so.0 +0x00030948]                                                                                                        
UNKNOWN [/usr/lib/libgobject-2.0.so.0 +0x00014D79]                                                                                                                                  
UNKNOWN [/usr/local/lib/libgtk-x11-2.0.so.0 +0x00124ACB]                                                                                                                            
g_object_newv+0x000007B2 [/usr/lib/libgobject-2.0.so.0 +0x000168C2]                                                                                                                 
g_object_new+0x000000EC [/usr/lib/libgobject-2.0.so.0 +0x00016EAC]                                                                                                                  
UNKNOWN [/usr/local/seamonkey-dbg/libxul.so +0x013FDB59]                                                                                                                            
UNKNOWN [/usr/local/seamonkey-dbg/libxul.so +0x013FDC8A]                                                                                                                            
UNKNOWN [/usr/local/seamonkey-dbg/libxul.so +0x0141FC6B]                                                                                                                            
UNKNOWN [/usr/local/seamonkey-dbg/libxul.so +0x014204F9]                                                                                                                            
UNKNOWN [/usr/local/seamonkey-dbg/libxul.so +0x018DF4A0]                                                                                                                            
UNKNOWN [/usr/local/seamonkey-dbg/libxul.so +0x0072902E]                                                                                                                            
UNKNOWN [/usr/local/seamonkey-dbg/libxul.so +0x0072E27A]                                                                                                                            
UNKNOWN [/usr/local/seamonkey-dbg/libxul.so +0x0072F438]                                                                                                                            
XRE_main+0x000000CE [/usr/local/seamonkey-dbg/libxul.so +0x0072F684]                                                                                                                
UNKNOWN [/usr/local/seamonkey-dbg/seamonkey +0x000024B9]                                                                                                                            
__libc_start_main+0x000000ED [/lib/libc.so.6 +0x0002117D]                                                                                                                           
UNKNOWN [/usr/local/seamonkey-dbg/seamonkey +0x00002511]

I add some printf in ldap_str2charray() but no one was displayed - even the printf at first line of this function. Firefox and other software (like Midnight Commander) using getpwnam_r() are working fine. I'm adding some printf calls in g_get_home_dir() to see the variables but there is no difference to all other applications.
Is this build - http://ftp.mozilla.org/pub/mozilla.org/seamonkey/nightly/latest-comm-central-trunk/seamonkey-2.20a1.en-US.linux-i686.tar.bz2 crash for you too? And can't send crash report? What is your Linux distro?
Steps to reproduce also not quite clear for me, you get crash on setting up new account, or when? And how LDAP is involved.
This looks like a DUP of Bug 292127. There is a mismatch between  system ldap (libldap-2.4.so) and Thunderbird ldap (libldap60.so).
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Yes, you are right, It looks like 292127.
You need to log in before you can comment on or make changes to this bug.