Grokbase
x

Re: [perl #66930] segmentation fault modifying array ref during push

View PostFlat  Thread  Threaded | < Prev - Next >
Jim Cromie Re: [perl #66930] segmentation fault modifying array ref during push
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
> Don't we want to normalize the builtins to use the prototyped calling
> conventions? =A0I thought at one point we did; that initiative like so ma=
ny
> others may have fizzled or been rejected due to a slight benchmarked
> performance hit.
>


Id suspect that its more like:

These are problems that are understood, if not by everyone,
then by enough who can say with some authority: "dont do that".

Im unconvinced that fixing 70% of the bugs I dont understand
will help me at all when I find myself blocked by the other 30%.

Wisdom (self-preservation?) says stay the hell out of the minefield,
It only takes one to go boom, stumpy.

Then theres that "we" in there.
Only the queen gets to use that word.
(and Im as guilty of that as anyone)

Thread : [perl #66930] segmentation fault modifying array ref during push
1)
Kevin Wolf # New Ticket Created by dan@gina.alaska.edu # Please include the string: [perl #66930] # in the...
2)
Steffen Mueller Hi all, Confirmed with blead at 3244086bce52e956e04c61b12eb7b67fc1041d8b. Cheers, Steffen...
3)
Vincent Pit This happens because the array referenced by $x is pushed on the stack, and then is freed when...
4)
David Nicol I shrunk the demonstration a little for addition to t/op/list.t. Maybe push could be made to really...
5)
David Nicol all arguments are evaluated before the subroutine is invoked would put the subroutine result in the...
6)
David Nicol Stunningly, unshift doesn't have the segfault problem. Like push that works, or a \@... prototype,...
7)
Dave Mitchell Without looking at this thread in detail (I just haven't got time at the moment), my general...
8)
David Nicol --0016362850c8f90c95046dc22811 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding:...
9)
Jim Cromie ny Id suspect that its more like: These are problems that are understood, if not by everyone, then...
10)
Dave Mitchell You appear to be conflating "it doesn't segfault" with "there's nothing wrong". An underlying...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >