From: dpeuscher at gmail dot com Operating system: openSUSE 11.0 (X86-64) PHP version: 5.4.8 Package: Apache2 related Bug Type: Bug Bug description:The Process exits random with SEGV
Description: ------------ I have got a PHP-Script, that is based on the Zend Framework 1.12. It uses its MVC-Functionality via Zend_Application, as well as SOAP-Enginge (as Client), the Ini- and XML-Extensions for Configuration and Navigation, a Caching-Enginge Memcached, the Database is PDO_MYSQL over remote, Zend_Layout, Zend_View, Zend_Router, the ZendX-JQuery Extension, Zend_Acl, Firebug-Logger-Extension. I think these are the main-features of the Call, where the Segmentation Fault happens. I could not figure out the part where the error happens. I tried to quit the script at different lines and it seams like it is always another point. Sometimes it needs 5 refreshes to reproduce the error. I tried it with a simple script, that doesn't make use of these Features and it worked fine, but also other pages, that do use these features. At this point it is impossible for me to give a code- snippet, I will try to figure out the differences of the scripts that fail and those that don't. Actual result: -------------- #0 _zend_mm_free_int (heap=0x7dfb40, p=0x656c626973736f50) at /root/php- 5.4.8/Zend/zend_alloc.c:2071 #1 0x00007ffff32022ca in delete_sdl_impl (handle=<value optimized out>) at /root/php-5.4.8/ext/soap/php_sdl.c:3427 #2 0x00007ffff334fa82 in list_entry_destructor (ptr=0xf66800) at /root/php- 5.4.8/Zend/zend_list.c:178 #3 0x00007ffff334f386 in zend_hash_del_key_or_index (ht=0x7ffff3b06eb0, arKey=0x0, nKeyLength=0, h=130, flag=<value optimized out>) at /root/php-5.4.8/Zend/zend_hash.c:531 #4 0x00007ffff334fd49 in _zend_list_delete (id=<value optimized out>) at /root/php-5.4.8/Zend/zend_list.c:57 #5 0x00007ffff333183d in _zval_ptr_dtor (zval_ptr=0x1115c00) at /root/php- 5.4.8/Zend/zend_variables.h:35 #6 0x00007ffff334c830 in zend_hash_destroy (ht=0xf65c80) at /root/php- 5.4.8/Zend/zend_hash.c:560 #7 0x00007ffff336148e in zend_object_std_dtor (object=0xf65170) at /root/php- 5.4.8/Zend/zend_objects.c:44 #8 0x00007ffff3361519 in zend_objects_free_object_storage (object=0x7dfb40) at /root/php-5.4.8/Zend/zend_objects.c:137 #9 0x00007ffff3366d5c in zend_objects_store_free_object_storage (objects=0x7ffff3b06fe0) at /root/php-5.4.8/Zend/zend_objects_API.c:92 #10 0x00007ffff3334283 in shutdown_executor () at /root/php- 5.4.8/Zend/zend_execute_API.c:297 #11 0x00007ffff333fac2 in zend_deactivate () at /root/php-5.4.8/Zend/zend.c:938 #12 0x00007ffff32dbec2 in php_request_shutdown (dummy=<value optimized out>) at /root/php-5.4.8/main/main.c:1790 #13 0x00007ffff33f097f in php_handler (r=0x9db5a8) at /root/php- 5.4.8/sapi/apache2handler/sapi_apache2.c:507 #14 0x000000000044b60a in ap_run_handler (r=0x9db5a8) at config.c:169 #15 0x000000000044f4fe in ap_invoke_handler (r=0x9db5a8) at config.c:432 #16 0x0000000000460e10 in ap_internal_redirect (new_uri=<value optimized out>, r=<value optimized out>) at http_request.c:640 #17 0x00007ffff3b11365 in handler_redirect (r=0x121f4f0) at mod_rewrite.c:5039 #18 0x000000000044b60a in ap_run_handler (r=0x121f4f0) at config.c:169 #19 0x000000000044f4fe in ap_invoke_handler (r=0x121f4f0) at config.c:432 #20 0x0000000000461242 in ap_process_async_request (r=0x121f4f0) at http_request.c:317 #21 0x000000000046139f in ap_process_request (r=0x7dfb40) at http_request.c:363 #22 0x000000000045dbe5 in ap_process_http_connection (c=0x9d4f90) at http_core.c:190 #23 0x000000000045570a in ap_run_process_connection (c=0x9d4f90) at connection.c:41 #24 0x0000000000467877 in child_main (child_num_arg=<value optimized out>) at prefork.c:697 #25 0x0000000000467b6f in make_child (s=0x6ba4c0, slot=0) at prefork.c:739 #26 0x000000000046874d in prefork_run (_pconf=<value optimized out>, plog=0x6f4528, s=0x6ba4c0) at prefork.c:949 #27 0x0000000000432a08 in ap_run_mpm (pconf=0x691138, plog=0x6f4528, s=0x6ba4c0) at mpm_common.c:98 #28 0x000000000042d342 in main (argc=2, argv=0x7fffffffe4c8) at main.c:777 -- Edit bug report at https://bugs.php.net/bug.php?id=63516&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63516&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63516&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63516&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63516&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63516&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63516&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63516&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63516&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63516&r=support Expected behavior: https://bugs.php.net/fix.php?id=63516&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63516&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63516&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63516&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63516&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63516&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63516&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63516&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63516&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63516&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63516&r=mysqlcfg