sasagawa888 / eisl

ISLisp interpreter/compiler
Other
281 stars 23 forks source link

Bug report: Loading non-existent files triggers abort #201

Closed wasamasa closed 2 years ago

wasamasa commented 2 years ago
; ; eisl -l bogus.lsp
Can't open a file at LOAD "bogus.lsp"
debug mode ?(help)
>>(quit)
- good bye -
Uncaught exception Exit interpreter raised at function.c:4725
aborting...
zsh: IOT instruction (core dumped)  eisl -l bogus.lsp
Core was generated by `eisl -l bogus.lsp'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fbdd768e36c in ?? () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007fbdd768e36c in ?? () from /usr/lib/libc.so.6
#1  0x00007fbdd763e838 in raise () from /usr/lib/libc.so.6
#2  0x00007fbdd7628535 in abort () from /usr/lib/libc.so.6
#3  0x00005593d31aaf75 in Except_raise ()
#4  0x00005593d318e5ac in f_quit ()
#5  0x00005593d316db36 in eval.part ()
#6  0x00005593d316f056 in debugger ()
#7  0x00005593d31abde8 in signal_condition ()
#8  0x00005593d31ace89 in error ()
#9  0x00005593d317aea6 in f_load ()
#10 0x00005593d3166c08 in main ()
sasagawa888 commented 2 years ago

OK. I will improve. Thank you.

sasagawa888 commented 2 years ago

I Improved.

wasamasa commented 2 years ago

Thanks, that fixed it.