Re: How to trace a crash bug?
| From: | Pierre Joye | Date: | Thu, 25 Mar 2010 09:17:00 +0000 |
| Subject: | Re: How to trace a crash bug? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47596@lists.php.net to get a copy of this message | ||
hi,
On Thu, Mar 25, 2010 at 8:49 AM, Thomas Hruska <thruska@cubiclesoft.com> wrote:
> If you read the message, you would see "PHP 5.2.13". I didn't mention
> thread safe. Sorry. Forgot 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 script.
>> if its crash only with your script, then we cant help without a testcase..
>
> That is what I am trying to do: Come up with either a simple test case OR
> pinpoint the crash in the C code. The simple test case route wasn't
> working, so I'm left with tracing the code. Hence 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 into
> 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, this
> 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.
> Simply saying "PHP crashes with complex code" isn't helpful to anyone. I
> 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 Apache
> module.
>
> Oh well. I'll try to build and will get back to you. I can't do anything
> else on this project until I figure out this bug. I probably should grab
> the latest snapshot just in case...
>
> Darn. Windows snapshot binaries are broken. Guess I'm building it anyway.
No need to at this stage. I'm almost sure it is a configuration
problem, missing/wrong DLL or other similar problems.
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org