|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7252 Intermittent Segfault when running sybase_connect or sybase_pconnect
Submitted: 2000-10-16 12:43 UTC Modified: 2001-07-03 12:36 UTC
From: isamuel at passport dot ca Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0.3pl1 OS: Redhat 6.2 - Kernel 2.2.17
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: isamuel at passport dot ca
New email:
PHP Version: OS:


 [2000-10-16 12:43 UTC] isamuel at passport dot ca
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 --enable-track-vars

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-12 17:39 UTC]
Please try PHP 4.0.6RC3 from
and condigure it using also --enable-debug to get 
useful backtrace.


 [2001-07-03 04:49 UTC]
Can you confirm this is still a problem with PHP 4.0.6?

 [2001-07-03 12:36 UTC] isamuel at passport dot ca
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.


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 22:03:40 2023 UTC