runtime: stack trace line number is wrong #25708
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go version devel +06b3260 Sat Jun 2 18:00:44 2018 +0000 linux/amd64
Does this issue reproduce with the latest release?
I do not know.
What operating system and processor architecture are you using (
go env
)?I use Linux, but I cross-compiled example for Windows.
What did you do?
While debugging #25671 I compiled this program
ktye/goissues@72c9933#diff-3ccd738cae05756fce2ac5ba10cc4800
I then modified d20ef58a6d38 commit of golang.org/x/exp like this:
Then I run the program and that brought main window up, and I clicked "close" button of the window. And I see this stack trace:
What did you expect to see?
I expect stack trace point to the line 48 with
defer w.Release()
What did you see instead?
Stack trace points me to the line 63 with
return
Thank you.
Alex
The text was updated successfully, but these errors were encountered: