gdb: Stack pointer is 0 for goroutine 1 #10468
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
I noted this while writing 53840ad, so here is a proper bug report.
This only occurs for goroutine #1, and causes a Python exception. As far as I can tell, it is because for goroutine 1,
pc
is valid butsp
is 0x0, inruntime.allgs.sched
. I am not familiar enough with the runtime to discern more currently - i.e. whether it should be fixed in the runtime, or the Python script. I have reproduced on both Linux and FreeBSD. Details are below.Operating System:
But it is reproducible on Debian Unstable with vanilla packages as well.
GDB Version:
GNU gdb (GDB) 7.8.2 [GDB v7.8.2 for FreeBSD]
Go version:
go version devel +888d44d Wed Apr 15 12:26:24 2015 +0000 freebsd/amd64
How to reproduce:
The text was updated successfully, but these errors were encountered: