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: unexpected signal panic on make(map[string]interface{}) #23329
Comments
I don't understand how this could happen. The line in malloc.go which faults is (line 779):
There is a previous line in the same function (line 627) that does:
and that line succeeded. Long shot: something corrupting the stack? Questions:
|
How often do you see this crash? Is there any way you can post enough code for us to reproduce this? Without us being able to reproduce, it's going to be hard to fix. By "never" on the latest release, do you mean you tried it on tip? 1.9.2? 1.10 beta? How confident are you that it has been fixed? Are you using unsafe? cgo? |
Please build your program with the -race flag and test it. If there are any races reported you will need to fix those before we can continue to investigate.
… On 4 Jan 2018, at 17:24, ruandao ***@***.***> wrote:
How often do you see this crash?
one time
Is there any way you can post enough code for us to reproduce this? Without us being able to reproduce, it's going to be hard to fix.
this was in a big project, it have too many rely env (like redis, other http service)
By "never" on the latest release, do you mean you tried it on tip? 1.9.2? 1.10 beta? How confident are you that it has been fixed?
sorry, i never look carefully, i mean never test.
Are you using unsafe? cgo?
i never use cgo
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ping @ruandao |
i can't provide more info, because my code has a lot of race problem when plus -race flag... |
Sorry, I don't understand what you mean. Are you saying that |
Feel free to reopen this bug if/when the problem still occurs after data races are fixed. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.9.1
Does this issue reproduce with the latest release?
never test
What operating system and processor architecture are you using (
go env
)?set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\Go\workspace\BASE\FishingServer;D:\Go_
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
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
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
not crash
What did you see instead?
crash
The text was updated successfully, but these errors were encountered: