[turba] ldap searches causing segfaults

Liam Hoekenga liamr at umich.edu
Wed Feb 26 12:44:55 PST 2003


> > PHP 4.3.0, oracle ldap libraries, CVS Horde and Turba from tonight.
> > Turba's LDAP tests in turba/test.php work just fine.
> > When I search our LDAP directory using search.php, apache segfaults.
> 
> Okay. Have you gotten a backtrace?

Fresh off the presses..

(gdb) bt
#0  0xfd9e8240 in gslcseb_BuildSearchReq ()
   from /usr/local/oracle/products/8.1.7/lib/libclntsh.so.8.0
#1  0xfd9e8184 in gslcses_LdapSearch ()
   from /usr/local/oracle/products/8.1.7/lib/libclntsh.so.8.0
#2  0xfd9e3184 in ldap_search_s ()
   from /usr/local/oracle/products/8.1.7/lib/libclntsh.so.8.0
#3  0xfe258fc8 in php_ldap_do_search (ht=4, return_value=0xbeec88, 
    this_ptr=0x0, return_value_used=1, scope=0)
    at /usr/local/src/php-4.3.1/ext/ldap/ldap.c:728
#4  0xfe259178 in zif_ldap_read (ht=4, return_value=0xbeec88, this_ptr=0x0, 
    return_value_used=1) at /usr/local/src/php-4.3.1/ext/ldap/ldap.c:764
#5  0xfe3e94bc in execute (op_array=0xc9f638)
    at /usr/local/src/php-4.3.1/Zend/zend_execute.c:1596
#6  0xfe3e97cc in execute (op_array=0xc845a8)
    at /usr/local/src/php-4.3.1/Zend/zend_execute.c:1640
#7  0xfe3e97cc in execute (op_array=0xc83180)
    at /usr/local/src/php-4.3.1/Zend/zend_execute.c:1640
#8  0xfe3e97cc in execute (op_array=0xf7eac0)
    at /usr/local/src/php-4.3.1/Zend/zend_execute.c:1640
#9  0xfe3cf910 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at /usr/local/src/php-4.3.1/Zend/zend.c:864
#10 0xfe3797d4 in php_execute_script (primary_file=0xffbef178)
    at /usr/local/src/php-4.3.1/main/main.c:1573
---Type <return> to continue, or q <return> to quit---
#11 0xfe3eff68 in apache_php_module_main (r=0x2913c0, display_source_mode=0)
    at /usr/local/src/php-4.3.1/sapi/apache/sapi_apache.c:55
#12 0xfe3f132c in send_php (r=0x2913c0, display_source_mode=0, 
    filename=0x293168
"/usr/local/projects/horde/html-ssl/horde/turba/browse.php") at
/usr/local/src/php-4.3.1/sapi/apache/mod_php4.c:556
#13 0xfe3f13a4 in send_parsed_php (r=0x2913c0)
    at /usr/local/src/php-4.3.1/sapi/apache/mod_php4.c:571
#14 0x00079f68 in ap_invoke_handler ()
#15 0x000996bc in process_request_internal ()
#16 0x00099740 in ap_process_request ()
#17 0x0008c1d4 in child_main ()
#18 0x0008c490 in make_child ()
#19 0x0008c6ac in startup_children ()
#20 0x0008d0e0 in standalone_main ()
#21 0x0008dd54 in main ()



More information about the turba mailing list