-
Notifications
You must be signed in to change notification settings - Fork 13k
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
"fatal, 'on_rust_stack()' failed" with recursive resource #2061
Comments
I don't see that assert fail, instead this:
Which is also bad |
This may be a symptom of the general brokenness of failing destructors (#910) |
Translating this test to use structs, I correctly got the "ran out of stack" error. There are no errors with valgrind. Added the test, closing this. |
The mac bots are failing this test: http://bot.rust-lang.org/logs/2012/10/02/2012-11-02T00:07:27Z-24734e01-de89-40ba-b676-f7205dd22bd2.html I xfailed it. |
The test fails on the Mac bot because the test executable is returning an exit code of 1 instead of 101. @brson advised that the bot behavior is likely because the unwinder doesn't know what to do and calls |
I confirmed that the test fails with optimization enabled, but passes with optimization disabled. In the optimized version, in |
As part of #3695 I want to make running out of stack a fatal runtime error, instead of a recoverable task failure, so hopefully that will make this issue moot. |
visited for triage. I think at this point this should probably be treated as a duplicate of #3695, in the sense that whatever resolution we end up with for that bug should also dictate the resolution for this bug. |
#910 is milestoned for 1.0, so this one is low priority on its own. |
This test was added on Nov 1, 2012: rust-lang@0069bd2#diff-b516ff69faf8886c48e6f5e833c2548c and then ignored on the same day: rust-lang@a90020f#diff-b516ff69faf8886c48e6f5e833c2548c and never unignored again.
Hits a fatal assertion rather than simply failing:
The text was updated successfully, but these errors were encountered: