-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG 5.005_03 and 5.005_61 mg.c] POPSTACK panic at line 1126 #485
Comments
From @schwernok 274 In the Perl code, the panic occurs at a fairly mundane place: I dug into the code and found out its failing at the POPSTACK macro [This is immediately before POPSTACK is called] #0 Perl_magic_wipepack (sv=0x818b0b0, mg=0x81e6b08) at mg.c:1126 *PL_curstackinfo is: The same result has been seen on Slackware (5.005_02, libc5), Debian [This is the perl -V for the Debian machine] Characteristics of this binary (from libperl): -- Michael G Schwern schwern@pobox.com |
From [Unknown Contact. See original ticket]Michael G Schwern <schwern@pobox.com> writes:
You have my sympathy. It took ages to track down something similar There is now (5.005_61) a G_NOCATCH flag to pass to perl_call_sv() which inhibits In may case the stack trace at the 'panic' was not that helpful The code fragment in wipepack: PUSHSTACKi(PERLSI_MAGIC); Looks very similar. What ticked my case use use new lightweight of Carp in the __DIE__ handler
|
From [Unknown Contact. See original ticket]On Tue, 7 Sep 1999 12:44:41 +0100 (BST)
There's been serious talk of deprecating $SIG{__DIE__}. People who aren't --tom |
From [Unknown Contact. See original ticket]Tom Christiansen <tchrist@jhereg.perl.com> writes:
The case that caused the problem was the debugging code $SIG{__DIE__} = \&Carp::confess; Which is exactly in inline with the original purpose.
All too true - and personally I agree - but this particular case -- |
From @gsarOn Tue, 07 Sep 1999 12:44:41 BST, Nick Ing-Simmons wrote:
This, as we discussed during the conference, will have other undesirable This has come up several times before now. I'll see about working Sarathy |
From [Unknown Contact. See original ticket]Gurusamy Sarathy <gsar@activestate.com> writes:
...
I did not mean to imply that it was a correct fix in this case. The sequence PUSHSTACK; Seems to be fatally flawed as-now if the callback contains an eval. Without NOCATCH (or G_EVAL) then call_sv forces a eval to add new setjmp(), There are two "obvious" fixes besides the NOCATCH hack: The 3rd alternative (since 5.000) which Tk has had to use is
Agreed.
|
From The RT System itselfappears to have been fixed in 5.005_61 |
Migrated from rt.perl.org#1327 (status was 'resolved')
Searchable as RT1327$
The text was updated successfully, but these errors were encountered: