Re: seg faults when running modperl and GD::Graph

2007-09-05 Thread William A. Rowe, Jr.
Matt Williamson wrote: > So I got apache to run under gdb, but I still am somewhat non-the-wiser. > It appears to happen the second time that the handler is used to process > the request, so I guess one workaround would be to call my script as a > plain cgi. FYI compiling with -g will often give

RE: seg faults when running modperl and GD::Graph

2007-09-05 Thread Matt Williamson
- > From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 05, 2007 12:00 AM > To: Manoj Bist > Cc: Matt Williamson; [EMAIL PROTECTED]; modperl@perl.apache.org > Subject: Re: seg faults when running modperl and GD::Graph > > Manoj Bist wrote: > >

RE: seg faults when running modperl and GD::Graph

2007-09-05 Thread Rafael Caceres
> -Original Message- > > From: Rafael Caceres [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 04, 2007 1:38 PM > > To: Matt Williamson > > Cc: modperl@perl.apache.org > > Subject: Re: seg faults when running modperl and GD::Graph > > > > If you ha

Re: seg faults when running modperl and GD::Graph

2007-09-05 Thread William A. Rowe, Jr.
Manoj Bist wrote: > One option would to be run apache under single threaded mode(option > -X) under gdb and see where it is crashing. Once you identify the > .so where it is crashing, you can try reproducing the crash outside > apache context. See also http://httpd.apache.org/dev/debugging.html

Re: seg faults when running modperl and GD::Graph

2007-09-04 Thread Manoj Bist
gnal > Segmentation fault (11) > > Any other ideas? > > Matt > > > > > -Original Message- > > From: Rafael Caceres [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, September 04, 2007 1:38 PM > > To: Matt Williamson > > Cc: modperl@perl.apache.

RE: seg faults when running modperl and GD::Graph

2007-09-04 Thread Matt Williamson
TED] > Sent: Tuesday, September 04, 2007 1:38 PM > To: Matt Williamson > Cc: modperl@perl.apache.org > Subject: Re: seg faults when running modperl and GD::Graph > > If you have PHP (with mod_php) enabled on that server, that's the > culprit and it can be fixed by compilin

RE: seg faults when running modperl and GD::Graph

2007-09-04 Thread Matt Williamson
t Williamson > Cc: modperl@perl.apache.org > Subject: Re: seg faults when running modperl and GD::Graph > > If you have PHP (with mod_php) enabled on that server, that's the > culprit and it can be fixed by compiling PHP without GD support. > > On Tue, 2007-09-04 a

Re: seg faults when running modperl and GD::Graph

2007-09-04 Thread Rafael Caceres
If you have PHP (with mod_php) enabled on that server, that's the culprit and it can be fixed by compiling PHP without GD support. On Tue, 2007-09-04 at 13:12 -0700, Matt Williamson wrote: > I noticed that my server is segfaulting when I run a script using > GD::Graph > > e.g. > > [Fri Aug 31 09

seg faults when running modperl and GD::Graph

2007-09-04 Thread Matt Williamson
I noticed that my server is segfaulting when I run a script using GD::Graph e.g. [Fri Aug 31 09:26:14 2007] [notice] child pid 6385 exit signal Segmentation fault (11) [Fri Aug 31 09:26:18 2007] [notice] child pid 6386 exit signal Segmentation fault (11) [Fri Aug 31 09:26:23 2007] [notice] child