Bug #58719 [Opn->Fbk]: oci8 crashes apache when oci8.events=on

From: Date: Mon, 22 Nov 2021 16:35:57 +0000
Subject: Bug #58719 [Opn->Fbk]: oci8 crashes apache when oci8.events=on
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237921@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: cmb@php.net Reported by: jlim at natsoft dot com Summary: oci8 crashes apache when oci8.events=on -Status: Open +Status: Feedback Type: Bug Package: OCI8 related Operating System: Linux RHE5 PHP Version: 5.2.6 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Is this still an issue with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> Previous Comments: ------------------------------------------------------------------------ [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 :( ------------------------------------------------------------------------ [2009-06-11 09:49:41] christopher dot jones at oracle dot com Please try the CVS version of PHP (+ OCI8 1.3.5 from PECL) ------------------------------------------------------------------------ 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

« previous php.bugs (#237921) next »