As soon as I attach gdb to the apache2 process the embperl page stops working.
When I detach gdb it gets working again.
Never used gdb before, maybe I'm doing something wrong.

Someone on IRC pointed me to http://valgrind.org
Maybe that helps you debugging the problem.

-Alex


-----Original Message-----
From: Gerald Richter [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 07, 2006 9:01 PM
To: Hartmaier Alexander; embperl@perl.apache.org
Subject: RE: Fixed! Re: Intermittent Segfaults

> > 
> > I have compiled and installed with the debug switch, how do 
> i get the 
> > stack backtrace now?
> > 
> 
The easiest is to start httpd with the -X option, then it 
will only start one process, then you attach with gdb to 
process (like gdb /path/to/httpd <pid_of_httpd>), do the 
request and when you get the sigsegv report from gdb, you 
type bt to get the stackbacktrace

Gerald



 
** Virus checked by BB-5000 Mailfilter ** 


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to