Subject: | segv from part() on two stack grows [XS] |
Date: | Mon, 25 Aug 2008 10:50:09 +1000 |
To: | bug-list-moreutils [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
With the debian packaged perl 5.10.0 and list-moreutils 0.22 the program
part-grow.pl below gets a segv, where I hoped it would print 1025, which
is the case with the pure-perl code (commented out BEGIN in the
program).
The grow_the_stack() is supposed to provoke a stack move (like other
report). The 1024 return from the part() block is supposed to provoke
another one at "EXTEND(SP,last)" near the end of the part().
I suspect POP_MULTICALL of perl 5.10.0 doesn't do an SPAGAIN, unlike
what the fallbacks and multicall.h, so SP isn't up to date at the point
of that EXTEND.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.