Hi

I am using PHP 5.2.3.  In the Apache error log file I see:

[Mon Jul 13 16:15:32 2009] [notice] child pid 21521 exit signal Bus error (7)


After many attempts, I have caught the following backtrace:

(gdb) bt
#0  0xb73447bc in memcpy () from /lib/libc.so.6
#1  0xb70a76f3 in _php_stream_copy_to_mem (src=0x814016c, buf=0xbfff8b30, 
maxlen=137771648,
    persistent=0)
    at /[edited]/bin/php/linux/php-5.2.3/main/streams/streams.c:1223
#2  0xb703f7fa in zif_file_get_contents (ht=135528812, return_value=0x8360258,
    return_value_ptr=0x0, this_ptr=0x0, return_value_used=1)
    at /[edited]/bin/php/linux/php-5.2.3/ext/standard/file.c:560
#3  0xb70e2946 in zend_do_fcall_common_helper_SPEC (execute_data=0xbfff8fc0)
    at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:200
#4  0xb70e2211 in execute (op_array=0x8249e20)
    at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:92
#5  0xb70e2733 in zend_do_fcall_common_helper_SPEC (execute_data=0xbfff9230)
    at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:234
#6  0xb70e2211 in execute (op_array=0x835bb18)
    at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:92
#7  0xb70e2733 in zend_do_fcall_common_helper_SPEC (execute_data=0xbfffacd0)
    at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:234
#8  0xb70e2211 in execute (op_array=0x8140548)
    at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:92
#9  0xb70e9868 in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER 
(execute_data=0xbfffb210)
    at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:4594
#10 0xb70e2211 in execute (op_array=0x813ffc4)
    at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:92
#11 0xb70cb695 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at /[edited]/bin/php/linux/php-5.2.3/Zend/zend.c:1134
#12 0xb70992b0 in php_execute_script (primary_file=0xbfffd4e0)
    at /[edited]/bin/php/linux/php-5.2.3/main/main.c:1794
#13 0xb7124d9a in apache_php_module_main (r=0x8246834, display_source_mode=0)
    at /[edited]/bin/php/linux/php-5.2.3/sapi/apache/sapi_apache.c:53
#14 0xb712572e in send_php (r=0x8246834, display_source_mode=0, filename=0x0)
    at /[edited]/bin/php/linux/php-5.2.3/sapi/apache/mod_php5.c:663
#15 0xb712583b in send_parsed_php (r=0x8246834)
    at /[edited]/bin/php/linux/php-5.2.3/sapi/apache/mod_php5.c:678
#16 0x08054aa4 in ap_invoke_handler ()
#17 0x0806a2db in process_request_internal ()
#18 0x0806a737 in ap_internal_redirect ()
#19 0x400a271f in mod_gzip_redir1_handler () from 
/[edited]/www_serv/libexec/mod_gzip.so
#20 0x400a0b06 in mod_gzip_handler () from 
/[edited]/www_serv/libexec/mod_gzip.so
#21 0x08054aa4 in ap_invoke_handler ()
#22 0x0806a2db in process_request_internal ()
#23 0x0806a33a in ap_process_request ()
#24 0x0806109c in child_main ()
#25 0x08061322 in make_child ()
#26 0x08061661 in perform_idle_server_maintenance ()
#27 0x08061c9a in standalone_main ()
#28 0x080622ba in main ()
(gdb) c


The problem appears to be in file_get_contents.  Is there any way I can 
determine which script was being run at the time?

Thanks in advance,

Bruce

_________________________________________________________________
Windows Live™: Keep your life in sync. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009

Reply via email to