Bug #7252 Updated: Intermittent Segfault when running sybase_connect or sybase_pconnect
| From: | isamuel at passport dot ca | Date: | Tue, 03 Jul 2001 16:36:27 +0000 |
| Subject: | Bug #7252 Updated: Intermittent Segfault when running sybase_connect or sybase_pconnect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58802@lists.php.net to get a copy of this message | ||
ID: 7252
User Update by: isamuel@passport.ca
Old-Status: Feedback
Status: Closed
Bug Type: Sybase (dblib) related
Operating system: Redhat 6.2 - Kernel 2.2.17
PHP Version: 4.0.3pl1
Description: Intermittent Segfault when running sybase_connect or sybase_pconnect
I ended up using the Sybase ct-libraries when compiling PHP and didn't have this problem
anymore.
I don't have access to try with a newer version of PHP now.
i.
Previous Comments:
---------------------------------------------------------------------------
[2001-07-03 04:49:31] derick@php.net
Can you confirm this is still a problem with PHP 4.0.6?
Derick
---------------------------------------------------------------------------
[2001-06-12 17:39:10] sniper@php.net
Please try PHP 4.0.6RC3 from http://www.php.net/~andi/php-4.0.6RC3.tar.gz
and condigure it using also --enable-debug to get
useful backtrace.
--Jani
---------------------------------------------------------------------------
[2000-10-16 12:43:26] isamuel@passport.ca
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7252