Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47588 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19406 invoked from network); 25 Mar 2010 06:38:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Mar 2010 06:38:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.216 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.218.216 mail-bw0-f216.google.com Received: from [209.85.218.216] ([209.85.218.216:50371] helo=mail-bw0-f216.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/F0-14605-6D40BAB4 for ; Thu, 25 Mar 2010 01:38:15 -0500 Received: by bwz8 with SMTP id 8so1797927bwz.23 for ; Wed, 24 Mar 2010 23:38:11 -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; bh=mMPYyKr+kEeaTgNBvkojpQm7pGayUVB+G1LlpiuLnTU=; b=DcJJUsiBb/QHD3CVieOn1wGUY45sjESXTI4MnX/XPegSVXXh3r9umcRLen4czmQJlQ JiJFQAvUVJ+3Oxk3B+QerEeCAp/FBszYZInn9/MwX2U6rp6jNTpTNNa1Q6yBenbjxNlN RlRwWl9ZUZRj141CyLKXUMP2aJ8ZiRMS2U3J4= 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; b=ekvYMBnHL4hmjxxbjZmM0FnuEBy8brUL+LJe1vwkZzU36kV6YYBJjZ94FFpEUnSSyq 96Q1qKVVtjxUssgxIZQSgUIZwyv26kj5X7wR1cEtnBRp1Kb88HGVQUhkNjMB7G3DbZcM Ro/N/jGuhRLFxXV8B7NB0ch9KdmIUUA1bTEVo= MIME-Version: 1.0 Received: by 10.204.137.1 with SMTP id u1mr1262721bkt.151.1269499091528; Wed, 24 Mar 2010 23:38:11 -0700 (PDT) In-Reply-To: <4BAB0190.8090103@cubiclesoft.com> References: <4BAB0190.8090103@cubiclesoft.com> Date: Thu, 25 Mar 2010 07:38:11 +0100 Message-ID: To: Thomas Hruska Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=0015173fe84c64af1e04829a4a49 Subject: Re: [PHP-DEV] How to trace a crash bug? From: tyra3l@gmail.com (Ferenc Kovacs) --0015173fe84c64af1e04829a4a49 Content-Type: text/plain; charset=UTF-8 apache version? php version? thread safe, or nts? does it crash with a hello world script, or only with your complex script. if its crash only with your script, then we cant help without a testcase. btw: I think you've chosen the wrong mailing list with your problem, the internals mailing list is for the php developers who write php engine in C, not for developers who writes php applications. ps: if you found a bug, open a ticket in the bugtracker. Tyrael On Thu, Mar 25, 2010 at 7:24 AM, Thomas Hruska wrote: > PHP 5.2.13 on Windows XP SP3 w/ Apache (PHP as a module) is crashing for > me. I've tried to create a simple test case to reproduce but I'm not able > to. Any hints/tips or a guide on how to debug this would be highly > appreciated. I'm not adverse to debuggers and I have VS2008 Professional on > this machine. > > The system I'm writing is quite complex so I'm not too surprised that I > finally ran into a crash bug but tracing this one has me baffled. I used my > traditional "when all else fails start displaying junk on the screen" > approach to trace the problem to a new function I just wrote today but it > crashes somewhere before the function call itself (i.e. it never makes it > into the function) - the caller of the function is also a function. Both > functions are in the global scope. > > > Apache log: > > the timestamp and child process ID.> > [Wed Mar 24 23:03:47 2010] [notice] Parent: child process exited with > status 3221225477 -- Restarting. > [Wed Mar 24 23:03:47 2010] [notice] Apache/2.2.13 (Win32) PHP/5.2.13 > configured -- resuming normal operations > [Wed Mar 24 23:03:47 2010] [notice] Server built: Aug 6 2009 15:50:50 > [Wed Mar 24 23:03:47 2010] [notice] Parent: Created child process 1556 > [Wed Mar 24 23:03:47 2010] [notice] Child 1556: Child process is running > [Wed Mar 24 23:03:47 2010] [notice] Child 1556: Acquired the start mutex. > [Wed Mar 24 23:03:47 2010] [notice] Child 1556: Starting 64 worker threads. > [Wed Mar 24 23:03:47 2010] [notice] Child 1556: Starting thread to listen > on port 80. > > > -- > Thomas Hruska > CubicleSoft President > Ph: 517-803-4197 > > *NEW* MyTaskFocus 1.1 > Get on task. Stay on task. > > http://www.CubicleSoft.com/MyTaskFocus/ > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --0015173fe84c64af1e04829a4a49--