The following (malformed) input causes a crash in
0.14.0-f70dba0 [release]
compiled with: llvm 3.9.1 -- cc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
actor Main new create(env: Env) => {(x) => true}
Building builtin -> /usr/local/lib/pony/0.14.0-f70dba0/packages/builtin
Building . -> /home/adam/pony/test
src/libponyc/pass/scope.c:19: set_scope: Assertion ast_id(name) == TK_ID failed.
Backtrace:
ponyc(ponyint_assert_fail+0x90) [0x72caf0]
ponyc() [0x693ee3]
ponyc(pass_scope+0x29c) [0x69465c]
ponyc() [0x67cfdd]
ponyc() [0x67d1ce]
ponyc() [0x67d1ce]
ponyc() [0x67d1ce]
ponyc() [0x67d1ce]
ponyc(ast_passes_type+0x496) [0x67e026]
ponyc(expr_object+0x8a2) [0x6f3602]
ponyc(pass_expr+0x33b) [0x68239b]
ponyc() [0x67d0e5]
ponyc() [0x67d397]
ponyc(ast_passes_subtree+0x2d4) [0x67e414]
ponyc(expr_lambda+0x764) [0x6f2924]
ponyc(pass_expr+0x31b) [0x68237b]
ponyc() [0x67d0e5]
ponyc() [0x67d1ce]
ponyc() [0x67d1ce]
ponyc() [0x67d1ce]
ponyc() [0x67d1ce]
ponyc() [0x67d1ce]
ponyc() [0x67d1ce]
ponyc() [0x67d1ce]
ponyc() [0x67d397]
ponyc(ast_passes_program+0x256) [0x67d936]
ponyc(program_load+0x74) [0x69a864]
ponyc() [0x67ce18]
ponyc(main+0x467) [0x61d257]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f56f52b9830]
ponyc(_start+0x29) [0x67cd29]
This is an optimised version of ponyc: the backtrace may be imprecise or incorrect.
Use a debug version to get more meaningful information.
Aborted (core dumped)
The following (malformed) input causes a crash in 0.14.0-f70dba0 [release] compiled with: llvm 3.9.1 -- cc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
actor Main new create(env: Env) => {(x) => true}
Building builtin -> /usr/local/lib/pony/0.14.0-f70dba0/packages/builtin Building . -> /home/adam/pony/test src/libponyc/pass/scope.c:19: set_scope: Assertion
ast_id(name) == TK_ID
failed.Backtrace: ponyc(ponyint_assert_fail+0x90) [0x72caf0] ponyc() [0x693ee3] ponyc(pass_scope+0x29c) [0x69465c] ponyc() [0x67cfdd] ponyc() [0x67d1ce] ponyc() [0x67d1ce] ponyc() [0x67d1ce] ponyc() [0x67d1ce] ponyc(ast_passes_type+0x496) [0x67e026] ponyc(expr_object+0x8a2) [0x6f3602] ponyc(pass_expr+0x33b) [0x68239b] ponyc() [0x67d0e5] ponyc() [0x67d397] ponyc(ast_passes_subtree+0x2d4) [0x67e414] ponyc(expr_lambda+0x764) [0x6f2924] ponyc(pass_expr+0x31b) [0x68237b] ponyc() [0x67d0e5] ponyc() [0x67d1ce] ponyc() [0x67d1ce] ponyc() [0x67d1ce] ponyc() [0x67d1ce] ponyc() [0x67d1ce] ponyc() [0x67d1ce] ponyc() [0x67d1ce] ponyc() [0x67d397] ponyc(ast_passes_program+0x256) [0x67d936] ponyc(program_load+0x74) [0x69a864] ponyc() [0x67ce18] ponyc(main+0x467) [0x61d257] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f56f52b9830] ponyc(_start+0x29) [0x67cd29] This is an optimised version of ponyc: the backtrace may be imprecise or incorrect. Use a debug version to get more meaningful information. Aborted (core dumped)