phpldapadmin crash/bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a problem with phpldapadmin, it crashes my httpd. After dumping
core and gdb i get the attached backtrace. It seems to be the first
access to a ldap connection, for example (striped from lost of comments)
the following code (from lib/server_funtions.php) seems to cause the
problem. 

$resource = @ldap_connect( $this->host );
@ldap_set_option( $resource, LDAP_OPT_PROTOCOL_VERSION, 3 );
@ldap_set_option( $resource, LDAP_OPT_REFERRALS, 0);

The ldap_connect goes OK since resource is not null. But the first
function that gets resource as a argument causes the sigsegv.

Before i file a bug i would like to ask if someone reproduce the
problem ? 

- Erwin


#0  0x00002aaaab200826 in ldap_set_option () from /usr/lib64/libldap-2.3.so.0
#1  0x00002aaab2501e9b in zif_ldap_set_option (ht=Variable "ht" is not available.
) at /usr/src/debug/php-5.1.2/ext/ldap/ldap.c:1860
#2  0x00002aaab0628a5e in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffffe427a0) at /usr/src/debug/php-5.1.2/Zend/zend_vm_execute.h:192
#3  0x00002aaab061a3cc in execute (op_array=0x5555559782f8) at /usr/src/debug/php-5.1.2/Zend/zend_vm_execute.h:92
#4  0x00002aaab06284ea in zend_do_fcall_common_helper_SPEC (execute_data=0x7fffffe443e0) at /usr/src/debug/php-5.1.2/Zend/zend_vm_execute.h:226
#5  0x00002aaab061a3cc in execute (op_array=0x55555592f7d8) at /usr/src/debug/php-5.1.2/Zend/zend_vm_execute.h:92
#6  0x00002aaab05fd79e in zend_execute_scripts (type=8, retval=Variable "retval" is not available.
) at /usr/src/debug/php-5.1.2/Zend/zend.c:1101
#7  0x00002aaab05c2c46 in php_execute_script (primary_file=0x7fffffe46980) at /usr/src/debug/php-5.1.2/main/main.c:1720
#8  0x00002aaab067a604 in php_handler (r=0x555555923538) at /usr/src/debug/php-5.1.2/sapi/apache2handler/sapi_apache2.c:584
#9  0x000055555557df5a in ap_run_handler (r=0x555555923538) at /usr/src/debug/httpd-2.2.0/server/config.c:157
#10 0x00005555555813b2 in ap_invoke_handler (r=0x555555923538) at /usr/src/debug/httpd-2.2.0/server/config.c:371
#11 0x000055555558bc28 in ap_process_request (r=0x555555923538) at /usr/src/debug/httpd-2.2.0/modules/http/http_request.c:258
#12 0x0000555555588ec0 in ap_process_http_connection (c=0x555555919358) at /usr/src/debug/httpd-2.2.0/modules/http/http_core.c:171
#13 0x0000555555585192 in ap_run_process_connection (c=0x555555919358) at /usr/src/debug/httpd-2.2.0/server/connection.c:43
#14 0x000055555558f5fb in child_main (child_num_arg=Variable "child_num_arg" is not available.
) at /usr/src/debug/httpd-2.2.0/server/mpm/prefork/prefork.c:640
#15 0x000055555558f88a in make_child (s=0x5555556b2de8, slot=4) at /usr/src/debug/httpd-2.2.0/server/mpm/prefork/prefork.c:736
#16 0x000055555558f940 in startup_children (number_to_start=4) at /usr/src/debug/httpd-2.2.0/server/mpm/prefork/prefork.c:754
#17 0x0000555555590636 in ap_mpm_run (_pconf=Variable "_pconf" is not available.
) at /usr/src/debug/httpd-2.2.0/server/mpm/prefork/prefork.c:975
#18 0x000055555556b59c in main (argc=1, argv=0x7fffffe46f68) at /usr/src/debug/httpd-2.2.0/server/main.c:712


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux