jdiggans has asked for the wisdom of the Perl Monks concerning the following question:

I have a rather complex heirarchy of modules, each ISA'ing off several others. When trying to DProf any script that uses a few of these modules I get an immediate segfault ... does DProf have some kind of limit to the number of modules it can handle on initial load?

I'm on a Sunfire w/ 6GB of RAM ... so it isn't the machine's fault. Any ideas? Commenting out several 'use' statements from the script gets DProf to not segfault but of course the script can't run to completion because I'm missing methods.

Grr. Anyone had these issues w/ DProf before?

  • Comment on DProf segfaults on 'use'ing too many modules?

Replies are listed 'Best First'.
Re: DProf segfaults on 'use'ing too many modules?
by belg4mit (Prior) on Mar 14, 2002 at 00:26 UTC
    DProf is known to have segfault issues, I asked about it awhile back somewhere around here (UPDATE: Devel::Dprof and heisencores). I also mailed perl5-porters(UPDATE:archive) who confirmed it, come to think of I should have followed up on that thread. Generally it just takes a few tries to get it to work.

    --
    perl -pe "s/\b;([st])/'\1/mg"

Re: DProf segfaults on 'use'ing too many modules?
by Anonymous Monk on Mar 13, 2002 at 23:03 UTC
    Oh my god! You might have to re-invent the wheel then! :))))
      THAT was not my question. :P Anyone have something helpful?