|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1539 SIGSEGV on php shutdown with uodbc
Submitted: 1999-06-14 21:32 UTC Modified: 2002-06-16 08:32 UTC
From: gdaswani at odc dot net Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 3.0.9 OS: Solaris X86 2.7
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: gdaswani at odc dot net
New email:
PHP Version: OS:


 [1999-06-14 21:32 UTC] gdaswani at odc dot net


$dbh = odbc_connect($DSN,$USER,$PASSWD);

if ( isset($dbh) ){
./configure --with-iodbc=/opt/iodbc --with-config-file-path=/opt/apache/conf --enable-debug
GDB backtrace shows..
Core was generated by `php odbctest.php3'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /opt/iodbc/lib/
Reading symbols from /usr/lib/
Reading symbols from /usr/lib/
Reading symbols from /usr/lib/
Reading symbols from /usr/lib/
Reading symbols from /usr/lib/
Reading symbols from /usr/lib/
Reading symbols from /usr/lib/
Reading symbols from /usr/lib/
#0  clean_non_persistent_constant (c=0x0) at constants.c:58
58              if (c->flags & CONST_PERSISTENT) {
(gdb) bt
#0  clean_non_persistent_constant (c=0x0) at constants.c:58
#1  0x80694e1 in _php3_hash_apply (ht=0x80c9f88,
    destruct=0x8072270 <clean_non_persistent_constant>) at php3_hash.c:664
#2  0x80723f2 in clean_non_persistent_constants () at constants.c:133
#3  0x806714a in php3_request_shutdown (dummy=0x0) at main.c:881
#4  0x80687c5 in main (argc=2, argv=0x8047e24) at main.c:1879


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:32 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Nov 29 10:03:14 2021 UTC