PHP 4.0 Bug #7348: php (cgi-version) crashes when oci8 support compiled in
| From: | edink at proventum dot net | Date: | Thu, 19 Oct 2000 19:29:56 +0000 |
| Subject: | PHP 4.0 Bug #7348: php (cgi-version) crashes when oci8 support compiled in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35559@lists.php.net to get a copy of this message | ||
From: edink@proventum.net
Operating system: Linux 2.2 (RedHat 6.2)
PHP version: 4.0 Latest CVS (19/10/2000)
PHP Bug Type: OCI8 related
Bug description: php (cgi-version) crashes when oci8 support compiled in
At the very end of the executing any script produces segmentation fault. This only happens if
compiled with oci8 support.
Backtrace:
ek@uxa {/data/src/cvs-php4}$ gdb ./php
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) r
Starting program: /data/src/cvs-php4/./php
Test
X-Powered-By: PHP/4.0.4-dev
Content-type: text/html
Test
Cannot access memory at address 0x2b458b14
(gdb) bt
#0 0x2aab5f21 in _dl_debug_state () at dl-debug.c:56
#1 0x2ac21156 in _dl_close (map=0x813da38) at dl-close.c:195
#2 0x2aacf430 in dlclose_doit (handle=0x813da38) at dlclose.c:26
#3 0x2aab5c3b in _dl_catch_error (errstring=0x2aad1080,
operate=0x2aacf418 <dlclose_doit>, args=0x813da38) at dl-error.c:141
#4 0x2aacf8b9 in _dlerror_run (operate=0x2aacf418 <dlclose_doit>,
args=0x813da38) at dlerror.c:125
#5 0x2aacf3fe in dlclose (handle=0x813da38) at dlclose.c:32
#6 0x80a1cd2 in module_destructor (module=0x813f200) at zend_API.c:823
#7 0x80a40c9 in zend_hash_destroy (ht=0x8102220) at zend_hash.c:564
#8 0x80a100f in zend_shutdown () at zend.c:413
#9 0x805a088 in php_module_shutdown () at main.c:932
#10 0x8059184 in main (argc=1, argv=0x7ffff994) at cgi_main.c:752
--
Edit Bug report at: http://bugs.php.net/?id=7348&edit=1