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
runtime: TestGdbPython nil pointer dereference #13887
Comments
Which OS and version? And which version of Go? We need more information. |
Also, which version of gdb? |
i don't have the exact go version around anymore. |
error is still there (after hours of running) |
The author of the failing test (the one that runs
He opened an issue about this, #10468, where he wrote:
He's correct in that the cause of the Python exception is the
which has a Maybe the gdb-test is failing because it sometimes happens that the test is run while the tested goroutine (2) is running? Unfortunately I wasn't able to observe the python exception with my gdb 7.11 (not even changing the test to backtrace on goroutine 1, which is usually running, causes an exception to be raised), so I can't really go on with my investigation : ) |
The most recent occurrence of this on the dashboard: 2017-05-25T01:55:18-a9d8d4d/linux-386-387:
This has the stack trace in it. The exact place this is happening is a little strange, but my guess is that the MemoryError is a secondary effect of GDB updating its frame cache when $sp is set to (presumably) 0. |
That's certainly possible. The test main doesn't do much, so it's certainly possible that some of these other goroutines are still getting off the ground and haven't parked yet. Indeed, when they're running Really, gdb shouldn't be using |
CL https://golang.org/cl/45031 mentions this issue. |
Sometimes this error occurs. (1 out of 100?)
The text was updated successfully, but these errors were encountered: