PHP 4.0 Bug #7252: Intermittent Segfault when running sybase_connect or sybase_pconnect
| From: | isamuel at passport dot ca | Date: | Mon, 16 Oct 2000 16:43:26 +0000 |
| Subject: | PHP 4.0 Bug #7252: Intermittent Segfault when running sybase_connect or sybase_pconnect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35157@lists.php.net to get a copy of this message | ||
From: isamuel@passport.ca
Operating system: Redhat 6.2 - Kernel 2.2.17
PHP version: 4.0.3pl1
PHP Bug Type: Sybase (dblib) related
Bug description: Intermittent Segfault when running sybase_connect or sybase_pconnect
gdb output:
Program received signal SIGSEGV, Segmentation fault.
0x4006036c in dbsetlname () from /usr/local/sybase-11.9.2/lib/libsybdb.so
(gdb) bt
#0 0x4006036c in dbsetlname () from /usr/local/sybase-11.9.2/lib/libsybdb.so
#1 0x80f7080 in php_rshutdown_sybase ()
#2 0x80f747e in php_if_sybase_connect ()
#3 0x812f21c in execute ()
#4 0x810bdf8 in zend_execute_scripts ()
#5 0x80aa091 in php_execute_script ()
#6 0x81158d9 in apache_php_module_main ()
#7 0x80a7d3b in send_php ()
#8 0x80a7d68 in send_parsed_php ()
#9 0x81392f3 in ap_invoke_handler ()
#10 0x814cc99 in ap_some_auth_required ()
#11 0x814ccfc in ap_process_request ()
#12 0x814450e in ap_child_terminate ()
#13 0x81446bc in ap_child_terminate ()
#14 0x8144819 in ap_child_terminate ()
#15 0x8144e46 in ap_child_terminate ()
#16 0x81455e3 in main ()
#17 0x401579cb in __libc_start_main (main=0x814528c <main>, argc=4,
argv=0xbffffb34, init=0x8078c9c <_init>, fini=0x81e511c <_fini>,
rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffffb2c)
at ../sysdeps/generic/libc-start.c:92
Apache 1.3.12 with mod_ssl 2.2.6 and OpenSSL 2.6.6
PHP configure:
./configure --with-apache=../apache_1.3.12 --with-sybase=/usr/local/sybase-11.9.2
--enable-track-vars
Apache configure:
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a
--enable-module=ssl
--
Edit Bug report at: http://bugs.php.net/?id=7252&edit=1