qorelanguage / qore

Qore Programming Language
GNU General Public License v2.0
58 stars 10 forks source link

crash can result accessing non-existent error information in an on_error block after a thread_exit stmt #4864

Closed davidnich closed 7 months ago

davidnich commented 7 months ago

ex:

$ qore -ne 'on_error printf("%y\n", $1); thread_exit;'
Assertion failed: (except), function execIntern, file StatementBlock.cpp, line 243.