You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/compile: declaring non-callable append then attempting to call crashes gc #28211
I cannot reproduce this either. Also, @Xjs I don't quite believe you're running current master: Your stack dump indicates a crash at c:/go/src/cmd/compile/internal/gc/typecheck.go:1270 which is the middle of a comment. Can you please update (and make sure you're using the newest compiler) and try again, thanks.
@griesemer Indeed, the go tool seems not to have called the freshly-built compile.exe. Can confirm that this error doesn't occur in tip on Windows anymore. Sorry for the confusion. (Can also confirm that 1.11.1's compile.exe does produce this error, though.)
Activity
agnivade commentedon Oct 15, 2018
Fixed on tip. Also backported to 1.11.1
Xjs commentedon Oct 15, 2018
@agnivade Still occurs on play.golang.org (as of now, see
https://play.golang.org/p/Z36gAU5mgUY), 1.11.1/windows, 1.11.1/linux. So not sure about that backport.
Xjs commentedon Oct 15, 2018
Just checked with current master, still crashes. Please reopen.
agnivade commentedon Oct 15, 2018
I cannot reproduce. Possibly a windows issue ?
@griesemer
griesemer commentedon Oct 15, 2018
I cannot reproduce this either. Also, @Xjs I don't quite believe you're running current master: Your stack dump indicates a crash at c:/go/src/cmd/compile/internal/gc/typecheck.go:1270 which is the middle of a comment. Can you please update (and make sure you're using the newest compiler) and try again, thanks.
Xjs commentedon Oct 16, 2018
@griesemer Indeed, the go tool seems not to have called the freshly-built
compile.exe. Can confirm that this error doesn't occur in tip on Windows anymore. Sorry for the confusion. (Can also confirm that 1.11.1'scompile.exedoes produce this error, though.)agnivade commentedon Oct 16, 2018
Reason why it didn't get included for 1.11.1 - #27973 (comment).
Closing it now.