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-05 Thread Rafael Caceres
] 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 compiling PHP without GD support

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

2007-09-05 Thread Matt Williamson
: 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: One option would to be run apache under

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

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

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

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

2007-09-04 Thread Matt Williamson
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 compiling PHP without GD support. On Tue, 2007-09-04 at 13:12 -0700, Matt Williamson

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

2007-09-04 Thread Matt Williamson
: 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 compiling PHP without GD support. On Tue, 2007-09-04

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

2007-09-04 Thread Manoj Bist
-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 have PHP (with mod_php) enabled on that server, that's