in reply to an internal error you should never see

This could be a system-dependant error. I can't tell you how to make the code go away, but here's how you start: identify exactly what is causing it. Strip that puppy to a minimal test case. What's the fewest lines code you can use to recreate the error?

Also, you said you don't get the problem when you run it for 2 hosts, but you do for 20. What about 4 hosts? 5? Once you've nailed down the exact conditions under which the problem occurs, you may be able to find a way to avoid those conditions.

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

  • Comment on (Ovid) Re: an internal error you should never see

Replies are listed 'Best First'.
Re: (Ovid) Re: an internal error you should never see
by geektron (Curate) on Nov 18, 2000 at 05:08 UTC
    i've been able to track down a little.

    i realized that my $host object is NOT going to have the needed elements to continue if I can't instantiate the new SNMP::Session. so I'm putting in checks for that. i've gotten the stack failure on numbers as small as 7 iterations. . .

    i wish i knew for sure where/ what was making it bug out. i've never seen this error type before!

    so, wow! i crashed perl!