#1009: examples/shootout/spectralnorm.pir shows a segfault in the continuation 
PMC
set_pointer() VTABLE
---------------------+------------------------------------------------------
 Reporter:  darbelo  |       Owner:       
     Type:  bug      |      Status:  new  
 Priority:  normal   |   Milestone:       
Component:  none     |     Version:  trunk
 Severity:  medium   |    Keywords:       
     Lang:           |       Patch:       
 Platform:  openbsd  |  
---------------------+------------------------------------------------------

Comment(by bacek):

 Ok, minimal example is
 {{{
 .sub main
    exit 0
 .end
 }}}

 {{{op exit}}} tries to build retcontinuation for next-after-exit op using
 {{{expr NEXT();}}}. Problem is there is no "next" opcode. Workaround for
 this problem is just remove {{{exit 0}}} from example. Proper solution -
 someone (read "chromatic") can patch IMCC to put "noop" after "exit".

 --
 Bacek

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1009#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to