-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
compiled program SIGSEGV after thread panic!()s #23850
Comments
We install handler for SIGPIPE, so you should do |
Thanks for the
|
edit: I stand corrected. |
It cannot be a stack overflow if a message that the stack overflowed isn’t printed. The |
Given that this issue was fixed in hyper, and we don't have a reproduction to see if there was a broader issue, I'm going to give this a close. @mikedilger if you're still seeing something like this, please let me know! |
A panic!() in one thread is killing entire program. Program is too large to post (website, hyper w/ 5 threads) and condition may be hard for others to replicate, but I will try to create something to demonstrate. Tail end of output from gdb:
What caused the panic was calling hyper::server::response::Response .end().unwrap() after SIGPIPE, so the response can't be sent. But the panic!() is expected, not a bug. The bug is the SEGV afterwards.
The text was updated successfully, but these errors were encountered: