-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
$ echo "Do Box 0;" > crash.cog
$ cognac crash.cog
______ ______
/ ____/___ ____ _____ ____ _/ ____/
/ / / __ \/ __ `/ __ \/ __ `/ /
/ /___/ /_/ / /_/ / / / / /_/ / /___
\____/\____/\__, /_/ /_/\__,_/\____/
/____/
Cognate Compiler
[1] 98760 segmentation fault cognac crash.cog
There is no traceback, only a segmentation fault. I kind of expected this to crash the final executable, but instead it crashed the compiler ¯\_(ツ)_/¯
It also crashes my interpreter pretty badly, so don't feel bad ;)
$ ./cogni -c "Do Box 0;"
Double fault in exit handler
[1] 98651 abort ./cogni -c "Do Box 0"
Metadata
Metadata
Assignees
Labels
No labels