Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44956 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53476 invoked from network); 14 Jul 2009 15:29:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2009 15:29:16 -0000 Authentication-Results: pb1.pair.com header.from=bruce1828@hotmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bruce1828@hotmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.34.79 as permitted sender) X-PHP-List-Original-Sender: bruce1828@hotmail.com X-Host-Fingerprint: 65.55.34.79 col0-omc2-s5.col0.hotmail.com Windows 2000 SP4, XP SP1 Received: from [65.55.34.79] ([65.55.34.79:27922] helo=col0-omc2-s5.col0.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/60-31938-B44AC5A4 for ; Tue, 14 Jul 2009 11:29:16 -0400 Received: from COL114-W28 ([65.55.34.72]) by col0-omc2-s5.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 14 Jul 2009 08:29:12 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_8846b0ab-d519-4715-b623-31d630509842_" X-Originating-IP: [207.109.69.9] To: Date: Tue, 14 Jul 2009 08:29:12 -0700 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 14 Jul 2009 15:29:12.0771 (UTC) FILETIME=[D7087930:01CA0497] Subject: Bus Error - Determining Script Name in GDB From: bruce1828@hotmail.com (Bruce Bailey) --_8846b0ab-d519-4715-b623-31d630509842_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable 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=2C 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=3D0x814016c=2C buf=3D0xbfff8= b30=2C maxlen=3D137771648=2C persistent=3D0) at /[edited]/bin/php/linux/php-5.2.3/main/streams/streams.c:1223 #2 0xb703f7fa in zif_file_get_contents (ht=3D135528812=2C return_value=3D0= x8360258=2C return_value_ptr=3D0x0=2C this_ptr=3D0x0=2C return_value_used=3D1) 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=3D0xbfff8f= c0) at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:200 #4 0xb70e2211 in execute (op_array=3D0x8249e20) 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=3D0xbfff92= 30) at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:234 #6 0xb70e2211 in execute (op_array=3D0x835bb18) 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=3D0xbfffac= d0) at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:234 #8 0xb70e2211 in execute (op_array=3D0x8140548) 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=3D0xb= fffb210) at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:4594 #10 0xb70e2211 in execute (op_array=3D0x813ffc4) at /[edited]/bin/php/linux/php-5.2.3/Zend/zend_vm_execute.h:92 #11 0xb70cb695 in zend_execute_scripts (type=3D8=2C retval=3D0x0=2C file_co= unt=3D3) at /[edited]/bin/php/linux/php-5.2.3/Zend/zend.c:1134 #12 0xb70992b0 in php_execute_script (primary_file=3D0xbfffd4e0) at /[edited]/bin/php/linux/php-5.2.3/main/main.c:1794 #13 0xb7124d9a in apache_php_module_main (r=3D0x8246834=2C display_source_m= ode=3D0) at /[edited]/bin/php/linux/php-5.2.3/sapi/apache/sapi_apache.c:53 #14 0xb712572e in send_php (r=3D0x8246834=2C display_source_mode=3D0=2C fil= ename=3D0x0) at /[edited]/bin/php/linux/php-5.2.3/sapi/apache/mod_php5.c:663 #15 0xb712583b in send_parsed_php (r=3D0x8246834) 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/libexe= c/mod_gzip.so #20 0x400a0b06 in mod_gzip_handler () from /[edited]/www_serv/libexec/mod_g= zip.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 det= ermine which script was being run at the time? Thanks in advance=2C Bruce _________________________________________________________________ Windows Live=99: Keep your life in sync.=20 http://windowslive.com/explore?ocid=3DTXT_TAGLM_WL_BR_life_in_synch_062009= --_8846b0ab-d519-4715-b623-31d630509842_--