Bug #58719 [Fbk->NoF]: oci8 crashes apache when oci8.events=on
| From: | php-bugs at lists dot php dot net | Date: | Sun, 05 Dec 2021 04:22:08 +0000 |
| Subject: | Bug #58719 [Fbk->NoF]: oci8 crashes apache when oci8.events=on | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-238188@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=58719&edit=1
ID: 58719
Updated by: php-bugs@lists.php.net
Reported by: jlim at natsoft dot com
Summary: oci8 crashes apache when oci8.events=on
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: OCI8 related
Operating System: Linux RHE5
PHP Version: 5.2.6
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-11-22 16:35:57] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2009-06-16 02:10:01] jlim at natsoft dot com
Trace provided above with recent snapshot. Thx.
------------------------------------------------------------------------
[2009-06-15 07:51:39] jlim at Natsoft dot com
Chris,
Still happens with PHP snapshot taken a few hours ago while running apachebench.
PHP Version 5.2.10RC3-Dev with oci8 extension 1.3.5.
GDB Backtrace enclosed:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47431104288016 (LWP 15445)]
0x000000389c4082e9 in pthread_mutex_lock () from /lib64/libpthread.so.0
(gdb) bt
#0 0x000000389c4082e9 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1 0x00002b23726d9159 in sltsmna () from /usr/lib/oracle/11.1/client64/lib/libclntsh.so.11.1
#2 0x00002b2371e03a99 in kpceDeferFreeHdl () from
/usr/lib/oracle/11.1/client64/lib/libclntsh.so.11.1
#3 0x00002b2370e086ae in kpufhndl0 () from /usr/lib/oracle/11.1/client64/lib/libclntsh.so.11.1
#4 0x00002b2370e032ff in kpufhndl () from /usr/lib/oracle/11.1/client64/lib/libclntsh.so.11.1
#5 0x00002b2370dda539 in OCIHandleFree () from /usr/lib/oracle/11.1/client64/lib/libclntsh.so.11.1
#6 0x00002b237066d437 in php_oci_spool_close (session_pool=0x1ce8350) at
/installs/oci8-1.3.5/oci8.c:3066
#7 0x00002b237066e253 in php_oci_connection_close (connection=0x1ce8120) at
/installs/oci8-1.3.5/oci8.c:2181
#8 0x00002b237066e501 in php_oci_pconnection_list_dtor (entry=<value optimized out>) at
/installs/oci8-1.3.5/oci8.c:1305
#9 0x00002b236aac74ae in plist_entry_destructor (ptr=<value optimized out>)
at /installs/php5.2-200906141430/Zend/zend_list.c:210
#10 0x00002b236aac4802 in zend_hash_apply_deleter (ht=0x2b236ae82350, p=0x1d74220)
at /installs/php5.2-200906141430/Zend/zend_hash.c:611
#11 0x00002b236aac4a78 in zend_hash_graceful_reverse_destroy (ht=0x2b236ae82350)
at /installs/php5.2-200906141430/Zend/zend_hash.c:646
#12 0x00002b236aaba2db in zend_shutdown () at /installs/php5.2-200906141430/Zend/zend.c:732
#13 0x00002b236aa77d1a in php_module_shutdown () at /installs/php5.2-200906141430/main/main.c:1908
#14 0x00002b236aa77db9 in php_module_shutdown_wrapper (sapi_globals=0x696c632f312e3131)
at /installs/php5.2-200906141430/main/main.c:1879
#15 0x00002b236ab3c811 in php_apache_child_shutdown (tmp=<value optimized out>)
at /installs/php5.2-200906141430/sapi/apache2handler/sapi_apache2.c:362
#16 0x00002b2369fcb20d in apr_pool_cleanup_run () from /usr/local/Zend/apache2/lib/libapr-1.so.0
#17 0x00002b2369fcbc97 in apr_pool_destroy () from /usr/local/Zend/apache2/lib/libapr-1.so.0
#18 0x000000000047a1ce in ap_graceful_stop_signalled ()
#19 0x000000000047a606 in ap_graceful_stop_signalled ()
#20 0x000000000047a769 in ap_graceful_stop_signalled ()
#21 0x000000000047b402 in ap_mpm_run ()
#22 0x000000000042b0f5 in main ()
------------------------------------------------------------------------
[2009-06-11 10:37:52] christopher dot jones at oracle dot com
Sounds like you got the PHP6 cvs branch.
If it's easier than CVS, try a 5.2 snapshot from snaps.php.net. Use the PECL OCI8 1.3.5
instead of the default OCI8 1.2.
------------------------------------------------------------------------
[2009-06-11 10:26:19] jlim at Natsoft dot com
Just downloaded CVS version.
Unfortunately it appears that oci8 configure checks for PHP 6 and stops. I hacked the configure
script to allow me to continue. But then i get lots of errors when i run make. The source is
expecting PHP 6 :(
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=58719
--
Edit this bug report at https://bugs.php.net/bug.php?id=58719&edit=1