#30196 [Opn->Fbk]: SEGFAULT with apache2 on shutdown-child
| From: | tony2001@php.net | Date: | Tue, 12 Oct 2004 14:57:26 +0000 |
| Subject: | #30196 [Opn->Fbk]: SEGFAULT with apache2 on shutdown-child | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-67482@lists.php.net to get a copy of this message | ||
ID: 30196
Updated by: tony2001@php.net
Reported By: j dot henge-ernst at interexa dot de
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: linux
PHP Version: 5.0.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2004-09-22 19:27:40] j dot henge-ernst at interexa dot de
Tracked down the error a little bit more. Seems to happen only when
using the oci8 module.
Using oracle 10g and oci8 as loadable module. Could also be the same as
http://bugs.php.net/bug.php?id=26393
------------------------------------------------------------------------
[2004-09-22 18:27:32] j dot henge-ernst at interexa dot de
Description:
------------
PHP 5.0.1 is segfaulting after every request has been processed with
our application. Disabling all register_shutdown_functions or
custom-error handlers didn't help. Simple pages as phpinfo just work
fine.
The commandline is not seg-faulting
Using SuSE 9.1 with apache2handler and PHP 5.0.1 self-compiled. Also
tried the current CVS, but that also fails on the same point
If you need additional information to track that down, ask
Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076980544 (LWP 31715)]
0x4061043f in zend_hash_apply (ht=Variable "ht" is not available.
) at /home/hernst/src/php-5.0.1/Zend/zend_hash.c:664
664 if (apply_func(p->pData TSRMLS_CC)) {
(gdb) where
#0 0x4061043f in zend_hash_apply (ht=Variable "ht" is not available.
) at /home/hernst/src/php-5.0.1/Zend/zend_hash.c:664
#1 0x40601a80 in shutdown_executor () at
/home/hernst/src/php-5.0.1/Zend/zend_execute_API.c:248
#2 0x40609a96 in zend_deactivate () at
/home/hernst/src/php-5.0.1/Zend/zend.c:819
#3 0x405d2679 in php_request_shutdown (dummy=0x0) at
/home/hernst/src/php-5.0.1/main/main.c:1212
#4 0x4063c82e in php_handler (r=0x826b1f0) at
/home/hernst/src/php-5.0.1/sapi/apache2handler/sapi_apache2.c:435
#5 0x08069288 in ap_run_handler ()
#6 0x0000003b in ?? ()
#7 0x00000000 in ?? ()
#8 0x0809a36c in __JCR_LIST__ ()
#9 0x0826b1f0 in ?? ()
#10 0x0826b1f0 in ?? ()
#11 0xbfffd518 in ?? ()
#12 0x0806c8a7 in ap_invoke_handler ()
Using the CVS-version of 5.0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076980544 (LWP 29322)]
0x4061176f in zend_hash_apply (ht=Variable "ht" is not available.
) at /home/hernst/src/php-src/Zend/zend_hash.c:664
664 if (apply_func(p->pData TSRMLS_CC)) {
(gdb) where
#0 0x4061176f in zend_hash_apply (ht=Variable "ht" is not available.
) at /home/hernst/src/php-src/Zend/zend_hash.c:664
#1 0x406024e0 in shutdown_executor () at
/home/hernst/src/php-src/Zend/zend_execute_API.c:251
#2 0x4060a8c6 in zend_deactivate () at
/home/hernst/src/php-src/Zend/zend.c:818
#3 0x405d3159 in php_request_shutdown (dummy=0x0) at
/home/hernst/src/php-src/main/main.c:1212
#4 0x4063dd7e in php_handler (r=0x8265e10) at
/home/hernst/src/php-src/sapi/apache2handler/sapi_apache2.c:435
#5 0x08069288 in ap_run_handler ()
#6 0x0000003b in ?? ()
#7 0x00000000 in ?? ()
#8 0x0809a36c in __JCR_LIST__ ()
#9 0x08265e10 in ?? ()
#10 0x08265e10 in ?? ()
#11 0xbfffd508 in ?? ()
#12 0x0806c8a7 in ap_invoke_handler ()
Previous frame inner to this frame (corrupt stack?)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30196&edit=1