Hello, We have an modperl2 (1.999.21) application that sometimes gives an segmentation fault.
I'm having problems with getting Carp:Confess to work. When apache2 gives an segmentation fault, it only prints one line in the error log, without the information where the segmentation fault originates. When I induce an segmentation fault in our application (Debug::DumpCore::segv();) the traceback works. Does anybody have a clue how to get a more complete traceback? Thanks for any help! ------------error log------- (...) SEGV traceback at /home/httpd/Application.pm line 138 Application::__ANON__('SEGV') called at -e line 0 eval {...} called at -e line 0 (...) ------------code----------- (133) use Carp; (134) use POSIX qw(SIGSEGV); (135) (136) POSIX::sigaction( (137) SIGSEGV, (138) POSIX::SigAction->new(sub { confess `date` . ": SEGV traceback" })) or warn "Error setting SIGSEGV handler: $!\n"; ------------system------------ Debian Sarge Apache 2.0.54-5 Mod-perl2 1.999.21-1