Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

panic: POPSTACK

by formerly_chris2 (Novice)
on Jun 27, 2001 at 12:28 UTC ( [id://91855]=perlquestion: print w/replies, xml ) Need Help??

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

Dear Monks,

I beg of your help with this confusing perl error, panic: POPSTACK, I have looked through all the docs, searched deja and perlmonks, and still cannot find any real information on it. Basically, it causes one of our scripts to die with the above mentioned error, but it doesn't identify a line number or anything other than "panic: POPSTACK". This script must be able to run for extended period of time without crapping out on untrappable errors. Has ANYONE heard of this panic: POPSTACK error and could you PLEASE explain what it is?

Thanks in advance,
-Chris

Replies are listed 'Best First'.
Re: panic: POPSTACK
by Beatnik (Parson) on Jun 27, 2001 at 12:38 UTC
    perldiag doesn't mention panic: POPSTACK, but apparently it's a bug found in older versions of Perl (as in Perl 5.005). Version 5.6.0 and upwards have it fixed.

    Greetz
    Beatnik
    ... Quidquid perl dictum sit, altum viditur.
Re: panic: POPSTACK
by azatoth (Curate) on Jun 27, 2001 at 12:37 UTC
Re: panic: POPSTACK
by mattr (Curate) on Jun 27, 2001 at 16:32 UTC
    Hello,

    It would be useful if you could post your code, or provide a link to it (as a .txt file).

    I have not come across this myself although it seems like it would happen if you are doing something pathological (meant in a good way :). If you can figure out where this problem is happening (chop you script up into bits, put print statements into it, comment out code etc.) this will help us help you more quickly. Or maybe you will see the answer right away. Especially if you are doing anything you aren't sure about, or that might be putting heavy demands on the system (recursion, tons of arguments, whatever).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://91855]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-26 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found