crash dump on OS X Server: PHP / Apache
| From: | Mattias Thorslund | Date: | Wed, 10 Oct 2012 05:49:24 +0000 |
| Subject: | crash dump on OS X Server: PHP / Apache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319401@lists.php.net to get a copy of this message | ||
Perhaps someone can read this backtrace.
This is a problem that causes Apache to not send any output at all. Doing a die() just before one particular require_once prevents the issue. If I move that die() into the required file and place it just after the opening PHP tag, I get the error again. I have verified the PHP syntax of this file with php -l .
This site uses CodeIgniter and FileMaker's PHP API, and the include file where this happens is one of the API files. The PHP library is the one supplied by FileMaker 12 Advanced Server. Another PHP application on the same server, using the same FileMaker API is running just fine, but that one isn't using CodeIgniter.
Any insight would be greatly appreciated.
Mattias
Process: httpd [9018] Path: /usr/sbin/httpd Identifier: httpd Version: ??? (???) Code Type: X86-64 (Native)Parent Process: httpd [7101]
Date/Time: 2012-10-09 17:57:11.216 -0700 OS Version: Mac OS X Server 10.6.8 (10K549)Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libphp5.so 0x000000010131fe1c _zend_mm_alloc_int + 924 1 libphp5.so 0x0000000101332d4b init_op_array + 113 2 libphp5.so 0x0000000101319be7 compile_file + 218 3 libphp5.so 0x0000000101196ec1 phar_compile_file + 844 4 libphp5.so 0x000000010131923b compile_filename + 190 5 libphp5.so 0x000000010136925d ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER + 714 6 libphp5.so 0x000000010135f6b9 execute + 585 7 libphp5.so 0x0000000101330f7c zend_call_function + 2223 8 libphp5.so 0x000000010133199a call_user_function_ex + 76 9 libphp5.so 0x000000010133b856 zend_error + 1794 10 libphp5.so 0x000000010130e216 zendparse + 8810 11 libphp5.so 0x0000000101319bfb compile_file + 238 12 libphp5.so 0x0000000101196ec1 phar_compile_file + 844 13 libphp5.so 0x00000001013691d8 ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER + 581 14 libphp5.so 0x000000010135f6b9 execute + 585 15 libphp5.so 0x0000000101330f7c zend_call_function + 2223 16 libphp5.so 0x0000000101261feb zif_call_user_func_array + 111 17 libphp5.so 0x00000001013600ab zend_do_fcall_common_helper_SPEC + 2401 18 libphp5.so 0x000000010135f6b9 execute + 585 19 libphp5.so 0x000000010133a8c4 zend_execute_scripts + 376 20 libphp5.so 0x00000001012ebf95 php_execute_script + 732 21 libphp5.so 0x00000001013b7612 php_handler + 1237 22 httpd 0x00000001000012cf ap_run_handler + 90 23 httpd 0x0000000100001bc8 ap_invoke_handler + 354 24 httpd 0x000000010002ebd0 ap_process_request + 103 25 httpd 0x000000010002b3b4 ap_process_http_connection + 116 26 httpd 0x00000001000128ac ap_run_process_connection + 90 27 httpd 0x0000000100012d7a ap_process_connection + 91 28 httpd 0x0000000100035fbe child_main + 1257 29 httpd 0x000000010003617d make_child + 329 30 httpd 0x0000000100036403 perform_idle_server_maintenance + 498 31 httpd 0x000000010003692d ap_mpm_run + 1246 32 httpd 0x00000001000098f4 main + 2868 33 httpd 0x0000000100000934 start + 52Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x000000000000000d rcx: 0x0000000000000000 rdx: 0x0000000000000359 rdi: 0x0000000000000002 rsi: 0x0000000101d00950 rbp: 0x00007fff5fbfc3f0 rsp: 0x00007fff5fbfc3b0 r8: 0x000000010087f8f0 r9: 0x000000000000000c r10: 0x0000000000000001 r11: 0x0000000101d6c5b0 r12: 0x0000000101d00928 r13: 0x0000000101d00928 r14: 0x000000010087f200 r15: 0x0000000000001e10 rip: 0x000000010131fe1c rfl: 0x0000000000000206 cr2: 0x0000000000000000 Binary Images:
0x100000000 - 0x10004bfe7 +httpd ??? (???) <36669387-22E7-3D70-2384-46243282B4CC> /usr/sbin/httpd
0x10007f000 - 0x1000a7ff7 libpcre.0.dylib 1.1.0 (compatibility 1.0.0) <61E04B84-398D-0E87-7125-A668E797DE77> /usr/lib/libpcre.0.dylib
0x1000ac000 - 0x1000c4fe7 libaprutil-1.0.dylib 4.9.0 (compatibility 4.0.0) <EE4E295F-B414-930C-4CFA-0D2E1265A5FC> /usr/lib/libaprutil-1.0.dylib