-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ast exporter segfault #1124
Comments
It looks like this is enough to cause the segfault: _Static_assert(1, "segfault"); Backtrace:
|
After some debugging and code reading, I am not sure of the cause of this still (probably due to my lack of experience working on compilers), but reading what the code is trying to do, I decided to try this change:
Internally, the existing I have not made a PR because I'm not certain about the correctness of this change, but it fixes the crash and seems to work for me now. It's also possible that If someone who knows this better can provide feedback, I'll happily make a PR if this change seems reasonable. |
ast exporter is segfaulting on some inputs.
A short example to demonstrate the problem is shown below.
The text was updated successfully, but these errors were encountered: