I have a rather large script involving a complex cascade of module
inclusions that manages to segfault Devel::DProf apparently due to memory
problems (acc. to perl5-porters). I've turned to Devel::SmallProf as an
alternative but I'm having issues w/ it's behaviour when using DBD::Oracle.
When running:

perl -d:SmallProf myscript.pl

it runs right up until the very first query and then dies w/ the following
complaint:

DBD::Oracle::st fetchrow_array failed: ERROR no statement executing
(perhaps you need to call execute first) at /loc/to/perl/Devel/SmallProf.pm
line 149.

The error in SmallProf.pm comes at:

149: goto &$DB:sub

where it's just trying (apparently) to redirect back to the called
subroutine from the middle-ground debug interruption. Any one have problems
w/ the debugger hooks not agreeing w/ the XS code (im guessing) inside
DBD::Oracle before?
-j

-------------------------------------------------
James Diggans
Bioinformatics Programmer
Gene Logic, Inc.
Phone: 301.987.1756
FAX: 301.987.1701

Reply via email to