Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 524 invoked from network); 14 Jul 2009 17:52:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2009 17:52:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=crrodriguez@suse.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=crrodriguez@suse.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain suse.de from 195.135.220.15 cause and error) X-PHP-List-Original-Sender: crrodriguez@suse.de X-Host-Fingerprint: 195.135.220.15 cantor2.suse.de Linux 2.4/2.6 Received: from [195.135.220.15] ([195.135.220.15:39540] helo=mx2.suse.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C5/87-54820-EC5CC5A4 for ; Tue, 14 Jul 2009 13:52:15 -0400 Received: from relay2.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id A5AED86391 for ; Tue, 14 Jul 2009 19:52:11 +0200 (CEST) Message-ID: <4A5CC5AE.3030104@suse.de> Date: Tue, 14 Jul 2009 13:51:42 -0400 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1pre) Gecko/20090706 SUSE/3.0b2-13.1 Thunderbird/3.0b3pre MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Bus Error - Determining Script Name in GDB From: crrodriguez@suse.de (=?windows-1252?Q?Cristian_Rodr=EDguez?=) On 14/07/09 11:29, Bruce Bailey wrote: > The problem appears to be in file_get_contents. Is there any way I can determine which script was being run at the time? yes, upgrade and: (gdb) source /path/to/php-src/.gdbinit (gdb) zbacktrace