-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Segmentation fault where stack overflow expected #21072
Comments
Is there a stack trace and is this mac? |
Yes, probably due to stack overflow. The new definition should not be visible inside f, so I believe this is equivalent to |
No stack trace. This is a mac. And
|
@yuyichao: can you please explain why you closed this? |
Dup of #17280 ..... Forgot to link... |
Given that #17280 is no longer a segfault, I don't think this is a dup. |
Sure we can move to this one but this is still a dup of #17280. The code that triggers the issue has been very system dependent and doesn't trigger the issue on the same system all the time either. |
I can reproduce #17280 on 0.5. It's fixed on 0.6. |
So copying my request for more info from #17280 (comment) If you run this in GDB, and when the segfault happens, can you set a breakpoint in
|
This doesn't mean that the issue is fixed. It just means that we somehow triggers a slightly different code path (or whatever it was) that the buggy stackoverflow detection happens to be able to handle. |
Also note that the same debugging should be done on the now incorrectly closed #17280 as well since it's most likely that the issue disappeared for unrelated reason and it's important to check if the two are actually crashing for exactly the same reason (or if the signal handler/unwinder has more than one issue) |
I can no longer reproduce the original example on either 0.6.0 or master. |
This was a funny typo:
Definitely an error, but probably shouldn't segfault.
The text was updated successfully, but these errors were encountered: