perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hartmaier Alexander" <Alexander.Hartma...@t-systems.at>
Subject RE: Fixed! Re: Intermittent Segfaults
Date Tue, 11 Apr 2006 12:40:21 GMT
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:richter@ecos.de] 
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 ** 



Mime
View raw message