Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heap overflow on incorrect syntax "%w(" #5239

Closed
veelenga opened this issue Nov 3, 2017 · 2 comments
Closed

Heap overflow on incorrect syntax "%w(" #5239

veelenga opened this issue Nov 3, 2017 · 2 comments
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler

Comments

@veelenga
Copy link
Contributor

veelenga commented Nov 3, 2017

The following breaks the compiler:

$ crystal eval "%w("
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS
$ crystal eval "%i("
Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS

Looks like a heap overflow related problem.

Reproducible with Crystal 0.23.1 and master 3c7ed65

@asterite
Copy link
Member

asterite commented Nov 3, 2017

Cool! That just killed an open Sublime Text editor I had 😆

@ghost
Copy link

ghost commented Nov 3, 2017

It's a jinxed bug! Beware of disappearing cats next!

@asterite asterite added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler labels Nov 3, 2017
@RX14 RX14 closed this as completed in #5241 Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler
Projects
None yet
Development

No branches or pull requests

2 participants