develooper Front page | perl.perl5.porters | Postings from December 2013

[perl #72406] Segmentation fault v5.10.1

Thread Previous | Thread Next
Father Chrysostomos via RT
December 15, 2013 14:32
[perl #72406] Segmentation fault v5.10.1
Message ID:
On Sun Dec 15 03:44:09 2013, bulk88 wrote:
> At the SEGV point, I dumped cLOOP, casted. 0x000000cc is visible.
> op_nextop looks wrong. 0x28002865 is a func *.

That agrees with my diagnosis.  This line:

	o->op_next = ((LOGOP*)cUNOPo->op_first)->op_other;

reads past the end of one op and assigns the value to op_next of
another op.  So op_next ends up being garbage.

I think fixing newLOOPOP to look at OP_NOT kids (which I hope to do soon) will solve it.


Father Chrysostomos

via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About