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
op/magic.t test 7 corrupts saved stack on cygwin #11164
Comments
From cygwin@cygwin.comThis is a bug report for perl from cygwin@cygwin.com, op/magic.t panics at test 7 since 5.13.9, threaded and not threaded. $ perl5.13.9d-nt.exe -e'sub PVBM(){"foo"} index "foo", PVBM; my $pvbm = panic: corrupt saved stack index at -e line 1. $ perl5.13.8d -e'sub PVBM(){"foo"} index "foo", PVBM; my $pvbm = PVBM; sub $ perl5.12.2 -e'sub PVBM(){"foo"} index "foo", PVBM; my $pvbm = PVBM; sub $ perl5.13.10d -e'sub PVBM(){"foo"} index "foo", PVBM; my $pvbm = PVBM; sub $ perl5.13.10d-nt -e'sub PVBM(){"foo"} index "foo", PVBM; my $pvbm = PVBM; gdb debugging fails for me so far. No backtrace, just errorcode 011. Flags: This perlbug was built using Perl 5.10.1 - Sat Aug 28 20:14:06 CEST 2010 Site configuration information for perl 5.13.10: Configured by rurban at Sun Feb 27 01:44:09 CET 2011. Summary of my perl5 (revision 5 version 13 subversion 10) configuration: Locally applied patches: @INC for perl 5.13.10: Environment for perl 5.13.10: |
From @rurbanwith -DvlstuXA (3364:-e:1) const(IV(0)) STACK 0: MAIN (3364:-e:1) exit -- |
From @nwc10On Tue Mar 01 08:38:42 2011, cygwin@cygwin.com wrote:
valgrind shows errors on linux: $ valgrind ./perl -e'sub PVBM(){"foo"} index "foo", PVBM; my $pvbm = git bisect shows them to start at this commit: commit 7fe50b8 Also unblock signal handlers throwing an exception http://perl5.git.perl.org/perl.git/commit/7fe50b8b8a4dc38fc341e3b403545aaca937f50e [that doesn't have line numbers. With line numbers, I know that it's the void ] I don't have any insight as to *why* Nicholas Clark |
The RT System itself - Status changed from 'new' to 'open' |
From @greergaOn Tue, 1 Mar 2011, Nicholas Clark via RT wrote:
Happens under PERL_POISON too: - - - 8< - - - 8< - - - Failures: (common-args) -A -Dcc=clang append:ccflags=" I don't have my Linux smoker Cc:'d to p5p at the moment so they're only on -- |
From @iabynOn Wed, Mar 02, 2011 at 01:09:59AM -0500, George Greer wrote:
Fixed, then improved, with the following two commits commit 9a7f166 In signal handler, don't inc stack pointers commit a0d63a7 Perl_sighandler: only inc SS_ix for unsafe signals -- |
@iabyn - Status changed from 'open' to 'resolved' |
From @nwc10On Sat, Mar 19, 2011 at 10:07:19PM +0000, Dave Mitchell wrote:
Nice piece of detective work. From reading the description of the problem, that seems a really obscure cause. Nicholas Clark |
From @iabynOn Sat, Mar 19, 2011 at 10:10:02PM +0000, Nicholas Clark wrote:
Everything related to signal handling seems obscure :-) -- |
Migrated from rt.perl.org#85206 (status was 'resolved')
Searchable as RT85206$
The text was updated successfully, but these errors were encountered: