Re: SegFault 11 on 5.5.6 on function return

From: Date: Mon, 09 Dec 2013 17:34:50 +0000
Subject: Re: SegFault 11 on 5.5.6 on function return
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-70559@lists.php.net to get a copy of this message
> Looking at the backtrace (provided), can anyone offer assistance as to > what changed between 5.5.5 and 5.5.6 that might be causing this? Sorry for double-post, but it might be helpful to have a backtrace without xdebug, (attached). -ralph

travis@debug-ralphschindler-hs-3881-php-1386357134:~/zendframework/zf2/tests$ gdb --args /home/travis/.phpenv/versions/5.5.6/bin/php ../vendor/bin/phpunit --tap ZendTest/Soap/Client/DotNetTest.php GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... Reading symbols from /home/travis/.phpenv/versions/5.5.6/bin/php...done. (gdb) run Starting program: /home/travis/.phpenv/versions/5.5.6/bin/php ../vendor/bin/phpunit --tap ZendTest/Soap/Client/DotNetTest.php warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7fff000 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". PHP Deprecated: Comments starting with '#' are deprecated in /home/travis/.phpenv/versions/5.5.6/etc/conf.d/xdebug.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with '#' are deprecated in /home/travis/.phpenv/versions/5.5.6/etc/conf.d/xdebug.ini on line 2 in Unknown on line 0 TAP version 13 ok 1 - ZendTest\Soap\Client\DotNetTest::testADefaultCurlClientIsUsedIfNoneIsInjected ok 2 - ZendTest\Soap\Client\DotNetTest::testCurlClientCanBeInjected ok 3 - ZendTest\Soap\Client\DotNetTest::testCurlClientRequestIsDoneWhenUsingNtlmAuthentication Program received signal SIGSEGV, Segmentation fault. 0x00000000008a696e in gc_remove_from_buffer (tsrm_ls=0x114fea0, root=0x7ffff7f99d88) at /tmp/php-build/source/5.5.6/Zend/zend_gc.h:189 189 /tmp/php-build/source/5.5.6/Zend/zend_gc.h: No such file or directory. (gdb) bt #0 0x00000000008a696e in gc_remove_from_buffer (tsrm_ls=0x114fea0, root=0x7ffff7f99d88) at /tmp/php-build/source/5.5.6/Zend/zend_gc.h:189 #1 gc_remove_zval_from_buffer (zv=0x7fffffff9340, tsrm_ls=0x114fea0) at /tmp/php-build/source/5.5.6/Zend/zend_gc.c:265 #2 0x000000000093d0f3 in i_zval_ptr_dtor (zval_ptr=0x7fffffff9340) at /tmp/php-build/source/5.5.6/Zend/zend_execute.h:80 #3 i_free_compiled_variables (execute_data=0x7ffff7f99b50) at /tmp/php-build/source/5.5.6/Zend/zend_execute.c:1511 #4 zend_leave_helper_SPEC (execute_data=0x7ffff7f99b50, tsrm_ls=0x114fea0) at /tmp/php-build/source/5.5.6/Zend/zend_vm_execute.h:399 #5 0x000000000093d8fa in ZEND_HANDLE_EXCEPTION_SPEC_HANDLER (execute_data=0x7ffff7f99b50, tsrm_ls=0x114fea0) at /tmp/php-build/source/5.5.6/Zend/zend_vm_execute.h:1081 #6 0x00000000008fd67b in execute_ex (execute_data=0x7ffff7f99b50, tsrm_ls=0x114fea0) at /tmp/php-build/source/5.5.6/Zend/zend_vm_execute.h:363 #7 0x0000000000875190 in zend_call_function (fci=0x7fffffff9d80, fci_cache=<optimized out>, tsrm_ls=0x114fea0) at /tmp/php-build/source/5.5.6/Zend/zend_execute_API.c:939 #8 0x00000000006c1466 in zim_reflection_method_invokeArgs (tsrm_ls=0x114fea0, this_ptr=<optimized out>, return_value=0x172e450, ht=<optimized out>, return_value_ptr=<optimized out>, return_value_used=<optimized out>) at /tmp/php-build/source/5.5.6/ext/reflection/php_reflection.c:3018 #9 zim_reflection_method_invokeArgs (ht=<optimized out>, return_value=0x172e450, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>, tsrm_ls=0x114fea0) at /tmp/php-build/source/5.5.6/ext/reflection/php_reflection.c:2921 #10 0x000000000093f8d7 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>, tsrm_ls=<optimized out>) at /tmp/php-build/source/5.5.6/Zend/zend_vm_execute.h:550 #11 0x00000000008fd67b in execute_ex (execute_data=0x7ffff7f989f0, tsrm_ls=0x114fea0) at /tmp/php-build/source/5.5.6/Zend/zend_vm_execute.h:363 #12 0x00000000008862f8 in zend_execute_scripts (type=8, tsrm_ls=0x114fea0, retval=0x0, file_count=3) at /tmp/php-build/source/5.5.6/Zend/zend.c:1320 #13 0x0000000000815964 in php_execute_script (primary_file=0x7fffffffc530, tsrm_ls=0x114fea0) at /tmp/php-build/source/5.5.6/main/main.c:2489 #14 0x0000000000943581 in do_cli (argc=4, argv=0x114fd40, tsrm_ls=0x114fea0) at /tmp/php-build/source/5.5.6/sapi/cli/php_cli.c:994 #15 0x0000000000446c00 in main (argc=4, argv=0x114fd40) at /tmp/php-build/source/5.5.6/sapi/cli/php_cli.c:1378
« previous php.internals (#70559) next »