-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
segfault in repr with references #3501
Comments
This definitely should not type check. You are returning a pointer into the stack frame. |
I added this to 0.4 milestone and assigned myself. I think it's pretty important to get this right. I'm having a hard time debugging it, though, due to #3506 |
Actually, this is due to the unsound type of
then you get the region error I expected:
|
Dupe of #3513, closing. |
Closing as dup of #3513. |
add a test for the TLS memory leak This is a regression test for rust-lang#123583.
Results in a secgault. The stack trace suggests it's in the repr function:
The text was updated successfully, but these errors were encountered: