List,
    I seem to have hit a slight stumbling block in my mod_perl development.
Without wanting to write a whole essay on the exact combination of events
that causes this segv to happen I'll just say for now that it happens after
my custom Template::Provider returns a status indicating a template could
not be found. My apache error log indicates that the segv happens
immediately after my contenthandler returns SERVER_ERROR.
As you can see from the topic, the segv happens in the DProf library. I have
listed the gdb output at the end of my email.
My question is simply, is this a mod_perl problem, a template toolkit
problem or a problem somewhere in the dprof library?.
If I really need to use Apache::DProf then I'll just avoid requesting
templates that don't exist. I'm still curious however, as to whether there
is a more sinister problem waiting to cause my problems in the future.
Any advice? Has anyone else ever experienced a code path which causes a
similar segv in dprof?

Richard.

(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x4477145b in prof_mark () from
/usr/lib/perl5/5.6.1/i686-linux/auto/Devel/DProf/DProf.so
(gdb) bt
#0  0x4477145b in prof_mark () from
/usr/lib/perl5/5.6.1/i686-linux/auto/Devel/DProf/DProf.so
#1  0x44771b5d in XS_DB_sub () from
/usr/lib/perl5/5.6.1/i686-linux/auto/Devel/DProf/DProf.so
#2  0x444e2732 in Perl_pp_entersub () from /usr/lib/libperl.so
#3  0x444dc7e0 in Perl_runops_standard () from /usr/lib/libperl.so
#4  0x444900cc in S_call_body () from /usr/lib/libperl.so
#5  0x4448c28e in perl_call_sv () from /usr/lib/libperl.so
#6  0x4448fcbe in perl_call_method () from /usr/lib/libperl.so
#7  0x0806fbe1 in perl_call_handler ()
#8  0x0806f472 in perl_run_stacked_handlers ()
#9  0x0806dfc4 in perl_handler ()
#10 0x0808e1b9 in ap_invoke_handler ()
#11 0x080a3f7f in ap_some_auth_required ()
#12 0x080a3fea in ap_process_request ()
#13 0x0809a876 in ap_child_terminate ()
#14 0x0809aa35 in ap_child_terminate ()
#15 0x0809abb6 in ap_child_terminate ()
#16 0x0809b24d in ap_child_terminate ()
#17 0x0809babc in main ()
#18 0x445743bd in __libc_start_main () from /lib/libc.so.6
(gdb)

Reply via email to