:Re: Antwort: Re: [mp2] segfault when generating graphs with GD::Graph
under Embperl
Should I compile with debugging symbols?
Yes
If yes what? apache or mod_perl? or embperl?
mod_perl and Embperl
For Embperl do
perl Makefile.PL debug
I don't have in mind the Makefile.PL flag
Program received signal SIGSEGV, Segmentation fault.
0x002a9582 in ?? ()
(gdb) BT
#0 0x002a9582 in ?? ()
#1 0x009d5c44 in ?? ()
#2 0x0106 in ?? ()
#3 0x009a6aa6 in ?? ()
#4 0x005e3940 in ?? ()
#5 0x09f72cf4 in ?? ()
(gdb)
Doesn't look like a better output than without
Gerald Richter wrote:
Program received signal SIGSEGV, Segmentation fault.
0x002a9582 in ?? ()
(gdb) BT
#0 0x002a9582 in ?? ()
#1 0x009d5c44 in ?? ()
#2 0x0106 in ?? ()
#3 0x009a6aa6 in ?? ()
#4 0x005e3940 in ?? ()
#5 0x09f72cf4 in ?? ()
(gdb)
Doesn't look like a better output than
Hi Stas,
There is an easy way to work around it. Run the program under gdb and
it'll remember the trace even the memory (frames) gets corrupted.
gdb /path/to/httpd
gdb run -X
issue a request here and gdb will tell you that you've got a segfault
gdb bt
will give you the trace.
This is
Gerald Richter wrote:
Hi Stas,
There is an easy way to work around it. Run the program under gdb and
it'll remember the trace even the memory (frames) gets corrupted.
gdb /path/to/httpd
gdb run -X
issue a request here and gdb will tell you that you've got a segfault
gdb bt
will give you the