ID: 46300 User updated by: pioklo at serveradmin dot pl Reported By: pioklo at serveradmin dot pl -Status: Feedback +Status: Open Bug Type: Reproducible crash Operating System: debian 4.0 64bit PHP Version: 5.2.7RC1 New Comment:
I do not know where the script crashes I have Zend framework and all requests are passed into index.php and then Zend run the appropriate class. In lighttpd logs I have only mod_proxy_backend_fastcgi.c.484: (trace) 0 / 0 -> 1 mod_proxy_backend_fastcgi.c.487: (error) looks like the fastcgi-backend (/index.php) terminated before it sent a FIN packet and dump core file. Regards, Piotr Kloc Previous Comments: ------------------------------------------------------------------------ [2008-10-15 12:14:11] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2008-10-15 12:10:59] pioklo at serveradmin dot pl Description: ------------ Hello There! I have lighttpd and php I am using Zend framework,all request are passed into index.php www1:~# gdb /usr/local/bin/php-cgi /tmp/phpcore/core GNU gdb 6.8-debian Copyright (C) 2008 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"... warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /usr/lib/libtidy-0.99.so.0...done. Loaded symbols for /usr/lib/libtidy-0.99.so.0 Reading symbols from /usr/local/lib/libmhash.so.2...done. Loaded symbols for /usr/local/lib/libmhash.so.2 Reading symbols from /usr/local/lib/libmcrypt.so.4...done. Loaded symbols for /usr/local/lib/libmcrypt.so.4 Reading symbols from /usr/lib/libiconv.so.2...done. Loaded symbols for /usr/lib/libiconv.so.2 Reading symbols from /usr/local/lib/libfreetype.so.6...done. Loaded symbols for /usr/local/lib/libfreetype.so.6 Reading symbols from /usr/local/lib/libpng.so.3...done. Loaded symbols for /usr/local/lib/libpng.so.3 Reading symbols from /lib/libresolv.so.2...done. Loaded symbols for /lib/libresolv.so.2 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /usr/local/lib/libcurl.so.4...done. Loaded symbols for /usr/local/lib/libcurl.so.4 Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.16...done. Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.16 Reading symbols from /lib/libpthread.so.0...done. Loaded symbols for /lib/libpthread.so.0 Reading symbols from /lib/librt.so.1...done. Loaded symbols for /lib/librt.so.1 Reading symbols from /usr/lib/libxml2.so.2...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /lib/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /usr/local/Zend/lib/ZendExtensionManager.so...done. Loaded symbols for /usr/local/Zend/lib/ZendExtensionManager.so Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/fileinfo.so...done. Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/fileinfo.so Reading symbols from /usr/lib/libmagic.so.1...done. Loaded symbols for /usr/lib/libmagic.so.1 Reading symbols from /usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so...done. Loaded symbols for /usr/local/lib/php/extensions/no-debug-non-zts-20060613/memcache.so Reading symbols from /lib/libnss_files.so.2...done. Loaded symbols for /lib/libnss_files.so.2 Reading symbols from /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so...done. Loaded symbols for /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so Core was generated by `/usr/local/bin/php-cgi'. Program terminated with signal 11, Segmentation fault. [New process 13920] #0 zend_mm_remove_from_free_list (heap=0xcf1210, mm_block=0x127fbe8) at /root/php-5.2.7RC1/Zend/zend_alloc.c:832 832 if (UNEXPECTED(prev->next_free_block != mm_block) || UNEXPECTED(next->prev_free_block != mm_block)) { (gdb) bt fully No symbol "fully" in current context. (gdb) bt #0 zend_mm_remove_from_free_list (heap=0xcf1210, mm_block=0x127fbe8) at /root/php-5.2.7RC1/Zend/zend_alloc.c:832 #1 0x00000000007093f8 in _zend_mm_free_int (heap=0xcf1210, p=0x127fbf8) at /root/php-5.2.7RC1/Zend/zend_alloc.c:1969 #2 0x00000000007193d4 in shutdown_executor () at /root/php-5.2.7RC1/Zend/zend_execute_API.c:313 #3 0x0000000000723ea3 in zend_deactivate () at /root/php-5.2.7RC1/Zend/zend.c:860 #4 0x00000000006e206c in php_request_shutdown (dummy=<value optimized out>) at /root/php-5.2.7RC1/main/main.c:1492 #5 0x00000000007972b2 in main (argc=1, argv=0x7fffbfb738f8) at /root/php-5.2.7RC1/sapi/cgi/cgi_main.c:2033 (gdb) Regards, Piotr Kloc ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46300&edit=1