Bug #1539 Updated: SIGSEGV on php shutdown with uodbc
| From: | sander@php.net | Date: | Sun, 16 Jun 2002 12:32:15 +0000 |
| Subject: | Bug #1539 Updated: SIGSEGV on php shutdown with uodbc | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10631@lists.php.net to get a copy of this message | ||
ID: 1539
Updated by: sander@php.net
Reported By: gdaswani@odc.net
-Status: Open
+Status: Bogus
Bug Type: Reproducible Crash
Operating System: Solaris X86 2.7
PHP Version: 3.0.9
New Comment:
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 http://www.php.net/downloads.php
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.
Previous Comments:
------------------------------------------------------------------------
[1999-06-14 21:32:06] gdaswani@odc.net
<?php
$DSN='geor2549';
$USER='geor2549';
$PASSWD='';
$dbh = odbc_connect($DSN,$USER,$PASSWD);
if ( isset($dbh) ){
$dbh->disconnect;
?>
---------------------
./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/libiodbc.so.2...done.
Reading symbols from /usr/lib/libpam.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libresolv.so.2...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
#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
(gdb)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=1539&edit=1