ID: 7252
User Update by: [EMAIL PROTECTED]
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.


Previous Comments:

[2001-07-03 04:49:31] [EMAIL PROTECTED]

Can you confirm this is still a problem with PHP 4.0.6?



[2001-06-12 17:39:10] [EMAIL PROTECTED]

Please try PHP 4.0.6RC3 from
and condigure it using also --enable-debug to get 
useful backtrace.



[2000-10-16 12:43:26] [EMAIL PROTECTED]

gdb output:
Program received signal SIGSEGV, Segmentation fault.
0x4006036c in dbsetlname () from /usr/local/sybase-11.9.2/lib/
(gdb) bt
#0  0x4006036c in dbsetlname () from /usr/local/sybase-11.9.2/lib/
#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 

Apache configure:
./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a 


Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to