#1745: profiling runcore fails with NQP
----------------------+-----------------------------------------------------
 Reporter:  pmichaud  |       Owner:  cotto
     Type:  bug       |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  core      |     Version:  2.6.0
 Severity:  medium    |    Keywords:       
     Lang:            |       Patch:       
 Platform:            |  
----------------------+-----------------------------------------------------

Comment(by plobsing):

 Here's what's happening (AFAICT):
   * The exception (segfault, ParrotInterp.elements not impl, etc...) is
 happening because ADD_OP_VAR_PART() in
 src/pmc/sub.c:Parrot_Sub_get_line_from_pc is looking at bogus bytecode.
   * This is happening in the profiling runcore code *after* the returncc
 from runtime/parrot/library/P6object.pir:onload.
   * The bogus bytecode is comming from a bogus context set up by
 load_bytecode. This comes from r41115 as a fix for TT #150.

 Here's how one might fix the problem:
   * figure out how to denote and detect bogus contexts and ignore them
 properly in introspection code
 OR
   * figure out how to avoid using bogus contexts

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1745#comment:5>
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