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

[perl #72406] Segmentation fault v5.10.1

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
December 15, 2013 14:32
Subject:
[perl #72406] Segmentation fault v5.10.1
Message ID:
rt-4.0.18-27369-1387117941-502.72406-15-0@perl.org
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
https://rt.perl.org/Ticket/Display.html?id=72406

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About