#1610: Parrot_compile_string does not properly catch errors thrown by causing 
IMCC
syntax errors
--------------------------+-------------------------------------------------
 Reporter:  dukeleto      |       Owner:       
     Type:  bug           |      Status:  new  
 Priority:  major         |   Milestone:       
Component:  embed/extend  |     Version:  2.3.0
 Severity:  medium        |    Keywords:       
     Lang:                |       Patch:       
 Platform:  all           |  
--------------------------+-------------------------------------------------
 Parrot_compile_string is supposed to fill an error_string with error
 messages, which it does in certain cases, but if an IMCC syntax error
 occurs, the exception bubbles up out of Parrot_compile_string. This
 currently causes PL/Parrot to coredump PostgreSQL for stored procedures
 that have incorrect syntax.

 chromatic++ suggested installing a C exception handler with
 Parrot_ex_add_c_handler into Parrot_compile_string, but I have not been
 able to get it to work yet.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1610>
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