httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34209] - Segmentation fault in util_ldap_search_node_free
Date Wed, 30 Mar 2005 19:23:24 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34209>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34209





------- Additional Comments From david_arcuri@mgic.com  2005-03-30 21:23 -------

More stack traces, crashing consistently in the same place now:



(gdb) where
#0  util_ldap_search_node_compare (a=0x0, b=0xffbfd328) at util_ldap_cache.c:147
#1  0x0002f8bc in util_ald_cache_fetch (cache=0xfecd04a0, payload=0xffbfd328)
    at util_ldap_cache_mgr.c:373
#2  0x0002d708 in util_ldap_cache_checkuserid (r=0x0, ldc=0xffbfd328,
url=0xffbfd411 "&#65533;&#65533;t",
    basedn=0xffbfd3f0 "(&(objectclass=*)(uid=test4806))", scope=916296,
attrs=0xc9c00,
    filter=0xff0d9ae4 "\237&#65533;\200", bindpw=0x1939c8 "/bliss_loan.cgi",
binddn=0x0, retvals=0x3d)
    at util_ldap.c:780
(gdb) quit


[emadea3@unixweb2 apache2]$ sudo pstack core
core 'core' of 17258:   /tmp/httpd -f
/usr/local/apache2/conf/qa.web-mi.mgic.com.conf -k start
 0002ebc0 util_ldap_search_node_compare (0, ffbfd328, c9e9069, f0000000,
ffbfd410, 0) + 4
 0002f8b4 util_ald_cache_fetch (fecd04a0, ffbfd328, ffbfd411, ffbfd3f0, dfb48,
c9c00) + 50
 0002d700 util_ldap_cache_checkuserid (0, 13a758, 12ae48, 12ae90, 2, 0) + 98
 00030784 mod_auth_ldap_check_user_id (0, ffffffff, 0, 99800, 99800, ffffdfe8) + 190
 0008d128 ap_run_check_user_id (18efe0, 0, 1, 1905a0, 190528, 0) + 3c
 0008da44 ap_process_request_internal (0, b5c00, 18efe0, 10, fecb0020, 1) + 210
 0005c208 ap_process_request (18efe0, ce800, 4, 18efe0, ceb90, 0) + 9c
 000576d8 ap_process_http_connection (186888, 1867b0, 1867b0, 4, ceb90, 138698) + f4
 0008163c ap_run_process_connection (186888, 1867b0, 1867b0, 4, 1847e8, 18af98) + 3c
 000746c0 child_main (184808, 1, cdc00, cf000, 18af98, 4e2e) + 3b0
 00074814 make_child (73c00, 4, 3, 2, a, cdc00) + b4
 00074a90 perform_idle_server_maintenance (da098, ce36c, ffbff8a0, da098, dfa28,
0) + 150
 000750d4 ap_mpm_run (cdc00, cdc00, 0, ce800, cdc00, cdc00) + 594
 0007adbc main     (da098, dfa28, ffbff9cc, cf094, cdc00, cdc00) + 610
 0002bb2c _start   (0, 0, 0, 0, 0, 0) + 5c


There's some garbage in the arguments, stack getting corrupted?  This does not
happen on every request -- I have a script running to continuously pump requests
with random ID/password into the server from a pool of 5000 LDAP objects so I
can fill the cache.  I can get generally 1 failure in every 100 requests until
it starts purging the cache, then that number increases to approximately 1 in
10.  This is not acceptable for production website so I have eliminated the
issue by using ldap-attribute instead of group for now.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message