-
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
Server segfault when passing channels from inner tasks #7152
Comments
A backtrace from rust_task_fail would be more useful, to see where the option::unwrap none failure is coming from. |
I'm having trouble getting a debug build, looks like the same problem as #6814. If you have any guidance on how to get the trace you need, please let me know. Here's breaking on upcall_fail:
|
Sorry, from rust_task_fail like you asked for:
|
The net code that was hitting this doesn't exist in the tree anymore. |
I'm running into an issue with a basic server where when I pass a channel out of a task spawned for each connection, the server will segfault on subsequent requests. I'm probably doing The Wrong Thing here, but segfaulting from code that's not marked unsafe seems like a bug.
Would also appreciate feedback on the right way to have a task per connection with some way to pump data into it.
Code recreating the issue is at https://gist.github.com/jfager/5788001, gdb backtrace below.
The text was updated successfully, but these errors were encountered: