Bug #72183 [NEW]: Segmentation fault in zend_objects_store_call_destructors
| From: | tom60 at op dot pl | Date: | Mon, 09 May 2016 19:27:13 +0000 |
| Subject: | Bug #72183 [NEW]: Segmentation fault in zend_objects_store_call_destructors | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-200973@lists.php.net to get a copy of this message | ||
From: tom60 at op dot pl
Operating system: Debian Jessie 64 bit
PHP version: 7.0.6
Package: Reproducible crash
Bug Type: Bug
Bug description:Segmentation fault in zend_objects_store_call_destructors
Description:
------------
I've attached a stack trace of a segmentation fault that occured to me
on PHP 7.0.6. Perhaps it's related to a bug that was recently fixed in
PHP 7.0.4? https://bugs.php.net/bug.php?id=71859
Actual result:
--------------
Reading symbols from /opt/apache2/sbin/apache2...done.
[New LWP 32334]
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/opt/apache2/sbin/apache2 -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fcbe202dc48 in zend_objects_store_call_destructors
(objects=objects@entry=0x7fcbe295fa70 <executor_globals+816>)
at /src/php-7.0.6/Zend/zend_objects_API.c:49
49 zend_object *obj =
objects->object_buckets[i];
(gdb) bt
#0 0x00007fcbe202dc48 in zend_objects_store_call_destructors
(objects=objects@entry=0x7fcbe295fa70 <executor_globals+816>)
at /src/php-7.0.6/Zend/zend_objects_API.c:49
#1 0x00007fcbe1fe5013 in shutdown_destructors () at
/src/php-7.0.6/Zend/zend_execute_API.c:242
#2 0x00007fcbe1ff41d4 in zend_call_destructors () at
/src/php-7.0.6/Zend/zend.c:952
#3 0x00007fcbe1f97495 in php_request_shutdown (dummy=dummy@entry=0x0)
at /src/php-7.0.6/main/main.c:1780
#4 0x00007fcbe20867df in php_apache_request_dtor (r=<optimized out>) at
/src/php-7.0.6/sapi/apache2handler/sapi_apache2.c:518
#5 php_handler (r=<optimized out>) at
/src/php-7.0.6/sapi/apache2handler/sapi_apache2.c:690
#6 0x00007fcbe495dcf0 in ap_run_handler (r=r@entry=0x7fcbe6776dc0) at
config.c:170
#7 0x00007fcbe495e239 in ap_invoke_handler (r=r@entry=0x7fcbe6776dc0)
at config.c:434
#8 0x00007fcbe497e02c in ap_internal_redirect (new_uri=<optimized out>,
r=<optimized out>) at http_request.c:730
#9 0x00007fcbe49b9fc2 in handler_redirect (r=0x7fcbe676e580) at
mod_rewrite.c:5176
#10 0x00007fcbe495dcf0 in ap_run_handler (r=r@entry=0x7fcbe676e580) at
config.c:170
#11 0x00007fcbe495e239 in ap_invoke_handler (r=0x7fcbe676e580) at
config.c:434
#12 0x00007fcbe497ed92 in ap_process_async_request (r=0x7fcbe676e580) at
http_request.c:410
#13 0x00007fcbe497ef30 in ap_process_request (r=0x7fcbe676e580) at
http_request.c:445
#14 0x00007fcbe497b0de in ap_process_http_sync_connection
(c=0x7fcbe6758240) at http_core.c:210
#15 ap_process_http_connection (c=0x7fcbe6758240) at http_core.c:251
#16 0x00007fcbe49673a0 in ap_run_process_connection (c=0x7fcbe6758240)
at connection.c:42
#17 0x00007fcbe49c1dd2 in child_main (child_num_arg=-493487504,
child_bucket=-1718062336) at prefork.c:723
#18 0x00007fcbe49c2050 in make_child (s=0x7fcbe64359b8, slot=7,
bucket=0) at prefork.c:824
#19 0x00007fcbe49c2ea5 in perform_idle_server_maintenance (p=<optimized
out>) at prefork.c:932
#20 prefork_run (_pconf=0x7fcbe295fa70 <executor_globals+816>,
plog=0x7ffc999873d4, s=0x7ffc999873b0) at prefork.c:1128
#21 0x00007fcbe494289e in ap_run_mpm (pconf=0x7fcbe6400138,
plog=0x7fcbe6439818, s=0x7fcbe64359b8) at mpm_common.c:94
#22 0x00007fcbe493be15 in main (argc=3, argv=0x7ffc99987688) at
main.c:778
--
Edit bug report at https://bugs.php.net/bug.php?id=72183&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=72183&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=72183&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=72183&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=72183&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=72183&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=72183&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=72183&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=72183&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=72183&r=support
Expected behavior: https://bugs.php.net/fix.php?id=72183&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=72183&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=72183&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=72183&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=72183&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=72183&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=72183&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=72183&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=72183&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=72183&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=72183&r=mysqlcfg