Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47596 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66059 invoked from network); 25 Mar 2010 09:17:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2010 09:17:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:53026] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/0A-14605-11A2BAB4 for ; Thu, 25 Mar 2010 04:17:06 -0500 Received: by wwc33 with SMTP id 33so1552587wwc.29 for ; Thu, 25 Mar 2010 02:17:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=th5Opvqjq+VNukTHSy1WEGylCAPtjB5mhfXfPSru2lw=; b=TBrEhyp9EjZrMNMkMiq4VJUSu9l8OnWf2HbIPNb4xr2Dc0SbfUyb9DdD/Bs4GgIixK lsDh/7a6vrQ+RhXurw+RAnebO7i4/Cubio5fBex6uFk7aFvi+2rwIVjnpahm+IJzlKpf U1s02NgPFA4ZBkdpTq86iH8WnUeJ4HDpBbCgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=i+5JD3Z5DejmFQlJo5iy9v/BLiez3dgWYuf7TcIV74c2FMKcybyZiUHLIllv0Fn8Hu OIofxdFiKN7bfTR3gW2MU6Yf3pKlvFPQ5z7+npfGlzucZDhrvBGLRJXaeGlr2rOeIpI8 ZzT9EVVISxzFvM4uA/d/YR+sXiOSfRCNFwXKI= MIME-Version: 1.0 Received: by 10.216.89.193 with SMTP id c43mr5523399wef.221.1269508621022; Thu, 25 Mar 2010 02:17:01 -0700 (PDT) In-Reply-To: <4BAB15A6.2010206@cubiclesoft.com> References: <4BAB0190.8090103@cubiclesoft.com> <4BAB15A6.2010206@cubiclesoft.com> Date: Thu, 25 Mar 2010 10:17:00 +0100 Message-ID: To: Thomas Hruska Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] How to trace a crash bug? From: pierre.php@gmail.com (Pierre Joye) hi, On Thu, Mar 25, 2010 at 8:49 AM, Thomas Hruska wr= ote: > If you read the message, you would see "PHP 5.2.13". =A0I didn't mention > thread safe. =A0Sorry. =A0Forgot about that. NTS does not work with Apache 2.2. The SAPI is not even available in the nts version. >> does it crash with a hello world script, or only with your complex scrip= t. >> if its crash only with your script, then we cant help without a testcase= . > > That is what I am trying to do: =A0Come up with either a simple test case= OR > pinpoint the crash in the C code. =A0The simple test case route wasn't > working, so I'm left with tracing the code. =A0Hence my query. Does it crash randomly, at start, or using a given request/script? > I'm pretty sure I'm on the right list. I know C/C++ and want to hook int= o > the PHP source with a C debugger (VS IDE, preferably). In other words, I= 'm > going to be digging around in the engine to find this problem. Plus, thi= s > will give me a good look at the guts of PHP. php windows internals may be better for this specific topic. >> ps: if you found a bug, open a ticket in the bugtracker. > Will do after I've got a reasonable test case and/or patch to work with. > =A0Simply saying "PHP crashes with complex code" isn't helpful to anyone.= =A0I > was basically after a general guide for getting a Debug build that I can > hook into with the VS debugger and stop on crash bugs from within the Apa= che > module. > > Oh well. =A0I'll try to build and will get back to you. =A0I can't do any= thing > else on this project until I figure out this bug. =A0I probably should gr= ab > the latest snapshot just in case... > > Darn. =A0Windows snapshot binaries are broken. =A0Guess I'm building it a= nyway. No need to at this stage. I'm almost sure it is a configuration problem, missing/wrong DLL or other similar problems. Cheers, --=20 Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org