Okay, lets get the details out of the way first

This is perl, v5.8.0 built for i386-linux-thread-multi All of the modules used:

CGI qw(:standard ); CGI::Carp; CGI::Widget::Tabs; Carp; DBI; Data::Dumper; Dumpvalue; Exporter; File::Basename; FileHandle; HTML::Entities; HTML::Parser; HTTP::Date qw(parse_date); URI::Escape(); base qw(Exporter); vars qw($VERSION @ISA); vars qw/$VERSION/;

They aren't all in the same package.

The problem.

When I profile, I get a tmon.out file that causes dprofpp to spew garbage no matter what switches are used w/dprofpp.

Using a different program, but one that uses the same module developed by me, I get DB sub errors when trying to run w/ -d:DProf.

Here are those errors:

[Thu Sep 25 11:13:54 2003] DB.pm: Subroutine sub redefined at /usr/lib +/perl5/5.8.0/DB.pm line 62. Undefined subroutine &main:: called at /usr/lib/perl5/5.8.0/DB.pm line + 73. Compilation failed in require at ./scripts/autorun.pl line 13. BEGIN failed--compilation aborted at ./scripts/autorun.pl line 13. Undefined subroutine &main:: called at /usr/lib/perl5/5.8.0/DB.pm line + 78. END failed--call queue aborted at ./scripts/autorun.pl line 13. Undefined subroutine &main:: called at /usr/lib/perl5/5.8.0/DB.pm line + 78. END failed--call queue aborted at ./scripts/autorun.pl line 13.

It should be noted of course, that both scripts work perfectly fine outside of the DProf environment. The first one runs fine both under CGI and command line, the second one is a command line only script.

If anyone knows of conflicts with DProf and any of the modules I've listed, please let me know. I figured I'd try and ask before I went on the peal the onion crusade to identify the culprit.

Thanks in advance,

Bruce


In reply to Devel::DProf and persistant crashing by BlueWlvrn

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.