-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Seg fault in Arc #12504
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
Comments
Your program appears to have been removed, could you add it back up again? A common reason for this is moving out of a capture variable multiple times in a loop, the compiler sadly doesn't currently prevent that. (#12041) |
Second try: https://gist.github.com/manuels/9178144 |
Aha indeed, https://gist.github.com/manuels/9178144#file-gistfile1-txt-L41 is a location where you're moving out in a loop (and there may be more). Closing as a dupe of #12041 |
ok, thanks @alexcrichton! and sorry for the messy code. I was playing around with rust... |
fix: Fix config patching for callable snippets Closes rust-lang/rust-analyzer#12498
I get a segmentation fault in https://github.com/mozilla/rust/blob/a88654977234d18b57e2a1842549941397ab0d59/src/libstd/sync/arc.rs#L83 in my program. (Find the full (complex and not really productive) program here)
I'm pretty new to rust.
How can I try to debug this segmentation fault?
The text was updated successfully, but these errors were encountered: