Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
x/net/websocket: server recovers from panics and then segfaults #2375
What steps will reproduce the problem? 1. Download the attached file. 2. Run `6g panic.go && 6l panic.6 && ./6.out`. What is the expected output? The panic should be printed and then recovered from, and the server should continue serving. I believe this is what happens when a panic happens in a regular old HTTP handler. What do you see instead? See attached. The panic is recovered from, and then there is another panic due to an invalid memory address or nil pointer dereference. Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? OS X 10.6.8 Which revision are you using? (hg identify) 0445521cd154 tip Please provide any additional information below.