this copy-n-paste from ~/Mail/.sent-mail-dec-1999 might help:
---
a few things could shed some more light:
build a libperld.a and compile with PERL_DEBUG=1 (see SUPPORT doc)
and/or, in gdb:
(gdb) source mod_perl-1.21/.gdbinit
(gdb) curinfo
should tell you the line/filename of the offending Perl code
add this to the .gdbinit (which is in the modperl cvs tree):
define longmess
set $sv = perl_eval_pv("Carp::longmess()", 1)
printf "%s\n", ((XPV*) ($sv)->sv_any )->xpv_pv
end
(gdb) longmess
should produce a Perl stacktrace
- Segfault with Embperl, Apache::Session Jason Bodnar
- RE: Segfault with Embperl, Apache::Session Gerald Richter
- RE: Segfault with Embperl, Apache::Session Jason Bodnar
- RE: Segfault with Embperl, Apache::Session Gerald Richter
- RE: Segfault with Embperl, Apache::Sessio... Jason Bodnar
- RE: Segfault with Embperl, Apache::S... Gerald Richter
- Re: Segfault with Embperl, Apache::S... Doug MacEachern
- Re: Segfault with Embperl, Apache::Session Jason Bodnar
- Re: Segfault with Embperl, Apache::Session Mark Imbriaco
- Re: Segfault with Embperl, Apache::Session Jason Bodnar
