Hi, I have an 32bit C application that is running on AIX 5.2-008, and intermittently, the program gets a segmentation violation in the ldap library layer.
The ldap library that we are using is the 5.08 version. Here is the stack from the hung process: shm_catch_segv(0xb, 0x0, 0x2ff1fed0), line 4831 in "SHM.c" malloc_y.free_y(??, ??) at 0xd01fc008 malloc_y.free_y_heap(??) at 0xd01fc420 ldap_x_free(0x240aa0d8), line 796 in "open.c" ldap_x_hostlist_statusfree(0x240a9ff8), line 752 in "open.c" nsldapi_try_each_host(0x2436d8d8, 0x240a9f88, 0x185, 0x0, 0xf0b93a2c, 0xf0b93a44, 0xf0b93a50, 0x0), line 691 in "os-ip.c" nsldapi_connect_to_host(0x2436d8d8, 0x2436dd78, 0x240a9f88, 0x185, 0x0, 0x240a9fdc), line 468 in "os-ip.c" nsldapi_new_connection(0x2436d8d8, 0x2ff209c8, 0x1, 0x1, 0x0), line 414 in "request.c" nsldapi_open_ldap_defconn(0x2436d8d8), line 619 in "open.c" nsldapi_send_server_request(0x2436d8d8, 0x241528f8, 0x2a42, 0x0, 0x0, 0x0, 0xb03362a2, 0x0), line 174 in "request.c" nsldapi_send_initial_request(0x2436d8d8, 0x2a42, 0x60, 0xb03362a2, 0x241528f8), line 134 in "request.c" simple_bind_nolock(0x2436d8d8, 0xb03362a2, 0xb0175b46, 0x0), line 134 in "sbind.c" simple_bindifnot_s(0x2436d8d8, 0xb03362a2, 0xb0175b46), line 235 in "sbind.c" sbind.ldap_simple_bind_s(0x2436d8d8, 0xb03362a2, 0xb0175b46), line 160 in "sbind.c" unnamed block $b4171, line 318 in "ldapapi.cpp" WrapperL2UTF8_Ldap_simple_bind(ldap*,VString*,VString*)(0x2436d8d8, 0xb042f502, 0xb042f51a), line 318 in "ldapapi.cpp" unnamed block $b4195, line 4146 in "ldapapi.cpp" LDAP_TRY_SEARCH_EXT_S(ldap*,const char*,unsigned long,const char*,char**,unsigned long,ldapcontrol**,ldapcontrol**,unsigned long,unsigned long,ldapmsg**,VString*,VString*,unsigned short)(0x2436d8d8, 0xa009e744, 0x2, 0xb0186132, 0x2ff212f0, 0x0, 0x0, 0x0), line 4146 in "ldapapi.cpp" selectRecWhere(LDAPDomain*,const char*,const char*,const char**,ldapmsg**)(0xb06570a4, 0xb042f4ae, 0xa009e744, 0xb0186132, 0x2ff212f0, 0x2ff213ec), line 4198 in "ldapapi.cpp" findLDAPMsgByGUID(LDAPDomain*,const VString*,ldapmsg**)(0xb06570a4, 0xb042f4ae, 0xa0b322de, 0x2ff213ec), line 3981 in "ldapapi.cpp" Have anyone seen this before? Is this something that is better handled with a later version of the ldap libraries? _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
