这是indexloc提供的服务,不要输入任何密码
Skip to content

Do Box 0 crashes cognac #39

@dragoncoder047

Description

@dragoncoder047
$ 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions