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: fatal error: unexpected signal during runtime execution #24861
Comments
What program? There's no code in your message. |
It's a large program , server part of an online game, too much code to attach, can't position which part cost the crash right now |
|
1.No cgo |
Oh, it does use cgo, it imported a package "gopkg.in/mgo.v2" and this package use cgo And this Error just happened randomly, several times a day or once a week are both in chance |
This looks like it may be caused by memory corruption, either by erroneous cgo code or by a data race in your code. You should find a way to deploy a race-enabled version of the code on some subset of your servers or something like that. I don't see how we could investigate (or do anything about) this, without having a reproducer or anything to work on. cc @aclements in case he has something to say about the stack-trace |
Thank you very much, I'll try to find one |
This looks like a profiling signal occurred on a stack with an invalid frame pointer. That should in general be impossible; not sure what happened here. |
I think that to fix this we will need a way to reproduce this ourselves. |
Hey @iceooacai - just wanted to check if you were able to make any progress on this ? We would need a short reproducer to debug this further, or you can also try running a race-detection enabled version of your code. As a last resort, please also try with 1.12beta2 if that makes any difference. Thanks. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.10 windows/amd64
Does this issue reproduce with the latest release?
no
What operating system and processor architecture are you using (
go env
)?set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Administrator\AppData\Local\go-build
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\GoPath;D:\Server_正式服
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\ADMINI~1\AppData\Local\Temp\2\go-build259
987786=/tmp/go-build -gno-record-gcc-switches
What did you do?
I did nothing
What did you expect to see?
Was expecting program could run fluently without any crash
What did you see instead?
The text was updated successfully, but these errors were encountered: