Re: How to debug?
| From: | Yasuo Ohgaki | Date: | Sat, 12 Oct 2002 00:34:21 +0000 |
| Subject: | Re: How to debug? | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89369@lists.php.net to get a copy of this message | ||
Generally speaking,
we need _short_ & _complete_ script for this.
However, try CVS version. We don't fix bugs other than
CVS version now.
--
Yasuo Ohgaki
Ernani Joppert Pontes Martins wrote:
> I was having a problem like this in one simple script....
> It generates segfault by executing from shell, from apache it don't stop
> processing and locks up the machine, when it reaches the max_execution time,
> then it breaks.
>
> The gdb backtrace is here:
> #0 0x403d6646 in chunk_free (ar_ptr=0x4048a300, p=0xc2bafd8) at
> malloc.c:3242
> #1 0x403d63f4 in __libc_free (mem=0xc2bafe0) at malloc.c:3154
> #2 0x0812ab80 in shutdown_memory_manager ()
> #3 0x0806de39 in php_request_shutdown ()
> #4 0x0806caa3 in main ()
> #5 0x40371657 in __libc_start_main (main=0x806bee0 <main>, argc=2,
> ubp_av=0xbfffdd64, init=0x80690c8 <_init>, fini=0x8171560 <_fini>,
> rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbfffdd5c)
> at ../sysdeps/generic/libc-start.c:129
>
> What can I do about it ?
>
> My php version is 4.1.2 at Redhat linux 7.1
>
> TIA,
>
> Ernani
>
> "Markus Fischer" <mfischer@guru.josefine.at> escreveu na mensagem
> news:20021011175920.GA15641@guru.josefine.at...
>
>>On Fri, Oct 11, 2002 at 03:22:21PM +0100, David Reid wrote :
>>
>>>Can I run the tests under gdb to try and see if I can get a better
>>>backtrace? I'm still seeing the segafluts in the session tests...
>>
>> Does http://bugs.php.net/bugs-generating-backtrace.php
>> help you?
>>
>>--
>>GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
>><rei_> Derick, while ($xml) $ass->get_new_ideas();
>><[James]> Markus: IE on_user_fart()????
>>-- People doesn't seem to like the new XHTML2 specs :) --
>
>
>