php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64123 Segfault in bug54268.phpt
Submitted: 2013-02-01 10:06 UTC Modified: 2013-02-04 06:58 UTC
From: remi@php.net Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 5.5.0alpha4 OS: GNU/Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-02-01 10:06 UTC] remi@php.net
Description:
------------
$ build-apache/sapi/cli/php -n -d memory_limit=8M Zend/tests/bug54268.php
Erreur de segmentation

(gdb) run  -n -d memory_limit=8M Zend/tests/bug54268.php
Starting program: /usr/bin/php -n -d memory_limit=8M Zend/tests/bug54268.php
Program received signal SIGSEGV, Segmentation fault.
zend_execute (op_array=0x7ffff7fbabb8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:377

(gdb) bt
#0  zend_execute (op_array=0x7ffff7fbabb8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:377
#1  0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3bc8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#2  0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3bc8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#3  0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#4  0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3b00) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#5  0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3b00) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#6  0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#7  0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3a38) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#8  0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3a38) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#9  0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#10 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3970) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#11 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3970) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#12 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#13 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e38a8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#14 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e38a8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#15 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#16 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e37e0) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#17 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e37e0) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#18 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#19 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3718) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#20 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3718) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#21 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#22 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3650) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#23 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3650) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#24 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#25 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3588) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#26 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3588) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#27 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#28 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e34c0) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#29 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e34c0) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#30 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#31 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e33f8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#32 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e33f8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#33 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#34 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3330) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#35 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3330) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#36 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#37 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3268) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#38 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3268) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#39 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#40 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e31a0) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#41 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e31a0) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#42 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#43 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e30d8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#44 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e30d8) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#45 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#46 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e3010) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#47 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e3010) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#48 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#49 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff15e2f48) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#50 0x0000000000605d18 in execute_ex (execute_data=0x7ffff15e2f48) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
...
#68289 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#68290 0x0000000000645bb4 in zend_do_fcall_common_helper_SPEC (execute_data=0x7ffff7f84088) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:573
#68291 0x0000000000605d18 in execute_ex (execute_data=0x7ffff7f84088) at /usr/src/debug/php5.5-201302010630/Zend/zend_vm_execute.h:356
#68292 0x00000000005891cd in dtrace_execute_ex (execute_data=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_dtrace.c:75
#68293 0x000000000058b4f3 in zend_call_function (fci=fci@entry=0x7fffffffc500, fci_cache=0x0, fci_cache@entry=0x7fffffffc4d0)
    at /usr/src/debug/php5.5-201302010630/Zend/zend_execute_API.c:941
#68294 0x00000000005af945 in zend_call_method (object_pp=object_pp@entry=0x7fffffffc5b8, obj_ce=<optimized out>, fn_proxy=fn_proxy@entry=0x7fffffffc5b0, 
    function_name=function_name@entry=0x695b74 "__destruct", function_name_len=function_name_len@entry=10, retval_ptr_ptr=retval_ptr_ptr@entry=0x0, 
    param_count=param_count@entry=0, arg1=arg1@entry=0x0, arg2=arg2@entry=0x0) at /usr/src/debug/php5.5-201302010630/Zend/zend_interfaces.c:97
#68295 0x00000000005badc6 in zend_objects_destroy_object (object=0x7ffff7fb7ca0, handle=1) at /usr/src/debug/php5.5-201302010630/Zend/zend_objects.c:123
#68296 0x00000000005c0e3d in zend_objects_store_del_ref_by_handle_ex (handle=1, handlers=<optimized out>)
    at /usr/src/debug/php5.5-201302010630/Zend/zend_objects_API.c:207
#68297 0x00000000005c0e83 in zend_objects_store_del_ref (zobject=0x7ffff7fb7c40) at /usr/src/debug/php5.5-201302010630/Zend/zend_objects_API.c:173
#68298 0x0000000000589520 in _zval_dtor (zvalue=0x7ffff7fb7c40) at /usr/src/debug/php5.5-201302010630/Zend/zend_variables.h:35
#68299 i_zval_ptr_dtor (zval_ptr=0x7ffff7fb7c40) at /usr/src/debug/php5.5-201302010630/Zend/zend_execute.h:81
#68300 _zval_ptr_dtor (zval_ptr=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_execute_API.c:428
#68301 0x00000000005a6598 in zend_hash_destroy (ht=0x7ffff7fbaa60) at /usr/src/debug/php5.5-201302010630/Zend/zend_hash.c:560
#68302 0x00000000005baeec in zend_object_std_dtor (object=0x7ffff7fb9dd8) at /usr/src/debug/php5.5-201302010630/Zend/zend_objects.c:44
#68303 0x00000000005baf79 in zend_objects_free_object_storage (object=0x7ffff7fb9dd8) at /usr/src/debug/php5.5-201302010630/Zend/zend_objects.c:137
#68304 0x00000000005c0e63 in zend_objects_store_del_ref_by_handle_ex (handle=2, handlers=<optimized out>)
    at /usr/src/debug/php5.5-201302010630/Zend/zend_objects_API.c:221
#68305 0x00000000005c0e83 in zend_objects_store_del_ref (zobject=0x7ffff7fbaab8) at /usr/src/debug/php5.5-201302010630/Zend/zend_objects_API.c:173

#68306 0x0000000000589520 in _zval_dtor (zvalue=0x7ffff7fbaab8) at /usr/src/debug/php5.5-201302010630/Zend/zend_variables.h:35
#68307 i_zval_ptr_dtor (zval_ptr=0x7ffff7fbaab8) at /usr/src/debug/php5.5-201302010630/Zend/zend_execute.h:81
#68308 _zval_ptr_dtor (zval_ptr=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_execute_API.c:428
#68309 0x000000000058e105 in cleanup_user_class_data (ce=0x7ffff7fba718) at /usr/src/debug/php5.5-201302010630/Zend/zend_opcode.c:169
#68310 zend_cleanup_user_class_data (pce=<optimized out>) at /usr/src/debug/php5.5-201302010630/Zend/zend_opcode.c:202
#68311 0x00000000005a6a8c in zend_hash_reverse_apply (ht=0x988c40, apply_func=0x58e090 <zend_cleanup_user_class_data>)
    at /usr/src/debug/php5.5-201302010630/Zend/zend_hash.c:799
#68312 0x0000000000589acf in shutdown_executor () at /usr/src/debug/php5.5-201302010630/Zend/zend_execute_API.c:289
#68313 0x0000000000598a75 in zend_deactivate () at /usr/src/debug/php5.5-201302010630/Zend/zend.c:939
#68314 0x0000000000537c2a in php_request_shutdown (dummy=dummy@entry=0x0) at /usr/src/debug/php5.5-201302010630/main/main.c:1800
#68315 0x0000000000647f9d in do_cli (argc=5, argv=0x7fffffffe168) at /usr/src/debug/php5.5-201302010630/sapi/cli/php_cli.c:1171

#68316 0x0000000000422a9a in main (argc=5, argv=0x7fffffffe168) at /usr/src/debug/php5.5-201302010630/sapi/cli/php_cli.c:1364



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-02-02 02:16 UTC] laruence@php.net
seems stack overflow, due to the dtrace_execute_ex, should be won't fix
 [2013-02-04 06:58 UTC] laruence@php.net
-Status: Open +Status: Wont fix
 [2013-02-04 06:58 UTC] laruence@php.net
as I said previously, won't fix
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 15:01:29 2024 UTC