Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45990 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29968 invoked from network); 10 Nov 2009 14:10:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2009 14:10:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:35986] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/41-22977-D6479FA4 for ; Tue, 10 Nov 2009 09:10:53 -0500 Received: from [192.168.3.109] (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTPSA id 048E0BFA07A; Tue, 10 Nov 2009 17:10:50 +0300 (MSK) Message-ID: <4AF97468.9010205@daylessday.org> Date: Tue, 10 Nov 2009 17:10:48 +0300 User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Mark Skilbeck CC: internals@lists.php.net References: <2C.90.22977.AC079FA4@pb1.pair.com> In-Reply-To: <2C.90.22977.AC079FA4@pb1.pair.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] No core file being created From: tony@daylessday.org (Antony Dovgal) On 10.11.2009 16:55, Mark Skilbeck wrote: > I'm trying to debug a segfault that's occuring in an extension I'm > developing (phpgksu - PHP wrapper for libgksu2). On the PHP site it says > that if I have PHP configured with --enable-debug (which I do) then > whenever PHP crashes a core file should be created in the same directory > the file is executing. However, I do not see one. > > I've even run the command as sudo ($ sudo php /file.php) to make sure > PHP has the permissions to write the file. # sudo gdb php gdb> r /file.php This way you don't need any core files at all. -- Wbr, Antony Dovgal --- http://pinba.org - realtime statistics for PHP