Ticket #1610 (closed bug: fixed)
Parrot_compile_string does not properly catch errors thrown by causing IMCC syntax errors
Reported by: | dukeleto | Owned by: | whiteknight |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | imcc | Version: | 2.3.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: | all |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.