Bug #71600 [NEW]: oci_fetch_all segfaults apache 2.4

From: Date: Mon, 15 Feb 2016 15:54:48 +0000
Subject: Bug #71600 [NEW]: oci_fetch_all segfaults apache 2.4
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199230@lists.php.net to get a copy of this message
From:             nick dot saraniti at gmail dot com
Operating system: CentOS 7.2.1511
PHP version:      7.0.3
Package:          OCI8 related
Bug Type:         Bug
Bug description:oci_fetch_all segfaults apache 2.4

Description:
------------
In some cases oci_fetch_all causes apache 2.4/centos7 to segfault. 
Happens consistently on some pages, never on others calling same
function.  Possible something related to the SQL queries?

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x00007fffea529df5 in _zend_hash_index_update () from
/etc/httpd/modules/libphp7.so
(gdb) bt
#0  0x00007fffea529df5 in _zend_hash_index_update () from
/etc/httpd/modules/libphp7.so
#1  0x00007fffddd3c785 in zif_oci_fetch_all (execute_data=<optimized
out>, return_value=0x7fffe8218500) at
/var/tmp/oci8/oci8_interface.c:1495
#2  0x00007fffea50b35b in dtrace_execute_internal () from
/etc/httpd/modules/libphp7.so
#3  0x00007fffea596db3 in ?? () from /etc/httpd/modules/libphp7.so
#4  0x00007fffea558fcb in execute_ex () from
/etc/httpd/modules/libphp7.so
#5  0x00007fffea50b239 in dtrace_execute_ex () from
/etc/httpd/modules/libphp7.so
#6  0x00007fffea596a90 in ?? () from /etc/httpd/modules/libphp7.so
#7  0x00007fffea558fcb in execute_ex () from
/etc/httpd/modules/libphp7.so
#8  0x00007fffea50b239 in dtrace_execute_ex () from
/etc/httpd/modules/libphp7.so
#9  0x00007fffea5a0378 in ?? () from /etc/httpd/modules/libphp7.so
#10 0x00007fffea558fcb in execute_ex () from
/etc/httpd/modules/libphp7.so
#11 0x00007fffea50b239 in dtrace_execute_ex () from
/etc/httpd/modules/libphp7.so
#12 0x00007fffea5a0378 in ?? () from /etc/httpd/modules/libphp7.so
#13 0x00007fffea558fcb in execute_ex () from
/etc/httpd/modules/libphp7.so
#14 0x00007fffea50b239 in dtrace_execute_ex () from
/etc/httpd/modules/libphp7.so
#15 0x00007fffea5a2cef in zend_execute () from
/etc/httpd/modules/libphp7.so
#16 0x00007fffea51af63 in zend_execute_scripts () from
/etc/httpd/modules/libphp7.so
#17 0x00007fffea4bc3a8 in php_execute_script () from
/etc/httpd/modules/libphp7.so
#18 0x00007fffea5a46ad in ?? () from /etc/httpd/modules/libphp7.so
#19 0x0000555555593270 in ap_run_handler ()
#20 0x00005555555937b9 in ap_invoke_handler ()
#21 0x00005555555a7b3a in ap_process_async_request ()
#22 0x00005555555a7e14 in ap_process_request ()
#23 0x00005555555a47a2 in ?? ()
#24 0x000055555559c840 in ap_run_process_connection ()
#25 0x00007fffeda1980f in ?? () from
/etc/httpd/modules/mod_mpm_prefork.so
#26 0x00007fffeda19a0c in ?? () from
/etc/httpd/modules/mod_mpm_prefork.so
#27 0x00007fffeda1a791 in ?? () from
/etc/httpd/modules/mod_mpm_prefork.so
#28 0x00005555555795ae in ap_run_mpm ()
#29 0x0000555555572b36 in main ()

-- 
Edit bug report at https://bugs.php.net/bug.php?id=71600&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=71600&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=71600&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=71600&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=71600&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=71600&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=71600&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=71600&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=71600&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=71600&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=71600&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=71600&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=71600&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=71600&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71600&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=71600&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=71600&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=71600&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71600&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=71600&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=71600&r=mysqlcfg



Thread (19 messages)

« previous php.bugs (#199230) next »