Skip to content
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 #60783

Closed
liyuan1125 opened this issue Jun 14, 2023 · 1 comment
Closed

runtime: fatal error: unexpected signal during runtime execution #60783

liyuan1125 opened this issue Jun 14, 2023 · 1 comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.

Comments

@liyuan1125
Copy link

What version of Go are you using (go version)?

$ go version

go version go1.20.5 darwin/arm64

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xd0 pc=0x426356]

runtime stack:
runtime.throw({0xf1354a?, 0x16a7d40?})
/usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc000069750 sp=0xc000069720 pc=0x43559d
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:825 +0x3e9 fp=0xc0000697b0 sp=0xc000069750 pc=0x44bda9
runtime.(*lfstack).pop(...)
/usr/local/go/src/runtime/lfstack.go:47
runtime.getempty()
/usr/local/go/src/runtime/mgcwork.go:355 +0x1b6 fp=0xc000069810 sp=0xc0000697b0 pc=0x426356
runtime.(*stackScanState).addObject(0xc000069ca0, 0xc0004f0e90, 0xf881d0)
/usr/local/go/src/runtime/mgcstack.go:276 +0x38 fp=0xc000069838 sp=0xc000069810 pc=0x423ab8
runtime.scanframeworker(0xc000069bc8, 0xc000069ca0, 0x1?)
/usr/local/go/src/runtime/mgcmark.go:1000 +0x20d fp=0xc0000698a0 sp=0xc000069838 pc=0x41ee0d
runtime.scanstack.func1(0x14c2270?, 0x16a7d40?)
/usr/local/go/src/runtime/mgcmark.go:801 +0x25 fp=0xc0000698c8 sp=0xc0000698a0 pc=0x41ebc5
runtime.gentraceback(0x0?, 0x0?, 0x0?, 0xc000b97860, 0x0, 0x0, 0x7fffffff, 0xc000069e00, 0x0?, 0x0)
/usr/local/go/src/runtime/traceback.go:332 +0xbee fp=0xc000069c20 sp=0xc0000698c8 pc=0x4599ee
runtime.scanstack(0xc000b97860, 0xc00004bc38)
/usr/local/go/src/runtime/mgcmark.go:804 +0x1f2 fp=0xc000069e28 sp=0xc000069c20 pc=0x41e652
runtime.markroot.func1()
/usr/local/go/src/runtime/mgcmark.go:239 +0xb5 fp=0xc000069e78 sp=0xc000069e28 pc=0x41d455
runtime.markroot(0xc00004bc38, 0x16d, 0x1)
/usr/local/go/src/runtime/mgcmark.go:213 +0x1a5 fp=0xc000069f18 sp=0xc000069e78 pc=0x41d105
runtime.gcDrain(0xc00004bc38, 0x7)
/usr/local/go/src/runtime/mgcmark.go:1069 +0x39f fp=0xc000069f78 sp=0xc000069f18 pc=0x41f1ff
runtime.gcBgMarkWorker.func2()
/usr/local/go/src/runtime/mgc.go:1367 +0x7a fp=0xc000069fc8 sp=0xc000069f78 pc=0x41b6da
runtime.systemstack()
/usr/local/go/src/runtime/asm_amd64.s:496 +0x49 fp=0xc000069fd0 sp=0xc000069fc8 pc=0x465da9

goroutine 34 [GC worker (active)]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:463 fp=0xc0000bcf50 sp=0xc0000bcf48 pc=0x465d40
runtime.gcBgMarkWorker()
/usr/local/go/src/runtime/mgc.go:1335 +0x205 fp=0xc0000bcfe0 sp=0xc0000bcf50 pc=0x41b3a5
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1598 +0x1 fp=0xc0000bcfe8 sp=0xc0000bcfe0 pc=0x467e21
created by runtime.gcBgMarkStartWorkers
/usr/local/go/src/runtime/mgc.go:1199 +0x25
fatal error: unexpected signal during runtime execution
panic during panic
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x45c639]

runtime stack:
runtime.throw({0xf1354a?, 0x3?})
/usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc0000694f0 sp=0xc0000694c0 pc=0x43559d
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:825 +0x3e9 fp=0xc000069550 sp=0xc0000694f0 pc=0x44bda9
runtime.readgstatus(...)
/usr/local/go/src/runtime/proc.go:932
runtime.tracebackothers.func1(0x0?)
/usr/local/go/src/runtime/traceback.go:979 +0x39 fp=0xc000069590 sp=0xc000069550 pc=0x45c639
runtime.forEachGRace(0xc0000695f8)
/usr/local/go/src/runtime/proc.go:604 +0x4d fp=0xc0000695c0 sp=0xc000069590 pc=0x438e2d
runtime.tracebackothers(0xc0001ffa00?)
/usr/local/go/src/runtime/traceback.go:978 +0xe5 fp=0xc000069628 sp=0xc0000695c0 pc=0x45c5c5
runtime.dopanic_m(0xc0001ffa00, 0xc0000696c8?, 0x40bfb3?)
/usr/local/go/src/runtime/panic.go:1273 +0x285 fp=0xc0000696a0 sp=0xc000069628 pc=0x435f85
runtime.fatalthrow.func1()
/usr/local/go/src/runtime/panic.go:1127 +0x6e fp=0xc0000696e0 sp=0xc0000696a0 pc=0x43598e
runtime.fatalthrow(0x69728?)
/usr/local/go/src/runtime/panic.go:1120 +0x6c fp=0xc000069720 sp=0xc0000696e0 pc=0x4358ec
runtime.throw({0xf1354a?, 0x16a7d40?})
/usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc000069750 sp=0xc000069720 pc=0x43559d
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:825 +0x3e9 fp=0xc0000697b0 sp=0xc000069750 pc=0x44bda9
runtime.(*lfstack).pop(...)
/usr/local/go/src/runtime/lfstack.go:47
runtime.getempty()
/usr/local/go/src/runtime/mgcwork.go:355 +0x1b6 fp=0xc000069810 sp=0xc0000697b0 pc=0x426356
runtime.(*stackScanState).addObject(0xc000069ca0, 0xc0004f0e90, 0xf881d0)
/usr/local/go/src/runtime/mgcstack.go:276 +0x38 fp=0xc000069838 sp=0xc000069810 pc=0x423ab8
runtime.scanframeworker(0xc000069bc8, 0xc000069ca0, 0x1?)
/usr/local/go/src/runtime/mgcmark.go:1000 +0x20d fp=0xc0000698a0 sp=0xc000069838 pc=0x41ee0d
runtime.scanstack.func1(0x14c2270?, 0x16a7d40?)
/usr/local/go/src/runtime/mgcmark.go:801 +0x25 fp=0xc0000698c8 sp=0xc0000698a0 pc=0x41ebc5
runtime.gentraceback(0x0?, 0x0?, 0x0?, 0xc000b97860, 0x0, 0x0, 0x7fffffff, 0xc000069e00, 0x0?, 0x0)
/usr/local/go/src/runtime/traceback.go:332 +0xbee fp=0xc000069c20 sp=0xc0000698c8 pc=0x4599ee
runtime.scanstack(0xc000b97860, 0xc00004bc38)
/usr/local/go/src/runtime/mgcmark.go:804 +0x1f2 fp=0xc000069e28 sp=0xc000069c20 pc=0x41e652
runtime.markroot.func1()
/usr/local/go/src/runtime/mgcmark.go:239 +0xb5 fp=0xc000069e78 sp=0xc000069e28 pc=0x41d455
runtime.markroot(0xc00004bc38, 0x16d, 0x1)
/usr/local/go/src/runtime/mgcmark.go:213 +0x1a5 fp=0xc000069f18 sp=0xc000069e78 pc=0x41d105
runtime.gcDrain(0xc00004bc38, 0x7)
/usr/local/go/src/runtime/mgcmark.go:1069 +0x39f fp=0xc000069f78 sp=0xc000069f18 pc=0x41f1ff
runtime.gcBgMarkWorker.func2()
/usr/local/go/src/runtime/mgc.go:1367 +0x7a fp=0xc000069fc8 sp=0xc000069f78 pc=0x41b6da
runtime.systemstack()
/usr/local/go/src/runtime/asm_amd64.s:496 +0x49 fp=0xc000069fd0 sp=0xc000069fc8 pc=0x465da9
[signal SIGSEGV: segmentation violation code=0x1 addr=0xd0 pc=0x426356]

runtime stack:
runtime.throw({0xf1354a?, 0x1da728?})
/usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc0000676e8 sp=0xc0000676b8 pc=0x43559d
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:825 +0x3e9 fp=0xc000067748 sp=0xc0000676e8 pc=0x44bda9
runtime.(*lfstack).pop(...)
/usr/local/go/src/runtime/lfstack.go:47
runtime.getempty()
/usr/local/go/src/runtime/mgcwork.go:355 +0x1b6 fp=0xc0000677a8 sp=0xc000067748 pc=0x426356
runtime.(*stackScanState).putPtr(0xc000500480?, 0xc0012f59f0, 0x10?)
/usr/local/go/src/runtime/mgcstack.go:215 +0xad fp=0xc0000677d0 sp=0xc0000677a8 pc=0x4238ad
runtime.scanblock(0xc0012f59c8, 0x40, 0xf6021e, 0x467e21?, 0xc000067ca0)
/usr/local/go/src/runtime/mgcmark.go:1240 +0xf0 fp=0xc000067838 sp=0xc0000677d0 pc=0x41f5b0
runtime.scanframeworker(0xc000067bc8, 0xc000067ca0, 0x1?)
/usr/local/go/src/runtime/mgcmark.go:972 +0xbd fp=0xc0000678a0 sp=0xc000067838 pc=0x41ecbd
runtime.scanstack.func1(0x14c2270?, 0x16a7d40?)
/usr/local/go/src/runtime/mgcmark.go:801 +0x25 fp=0xc0000678c8 sp=0xc0000678a0 pc=0x41ebc5
runtime.gentraceback(0x10?, 0x1039178?, 0x0?, 0xc000b961a0, 0x0, 0x0, 0x7fffffff, 0xc000067e00, 0x0?, 0x0)
/usr/local/go/src/runtime/traceback.go:332 +0xbee fp=0xc000067c20 sp=0xc0000678c8 pc=0x4599ee
runtime.scanstack(0xc000b961a0, 0xc000047238)
/usr/local/go/src/runtime/mgcmark.go:804 +0x1f2 fp=0xc000067e28 sp=0xc000067c20 pc=0x41e652
runtime.markroot.func1()
/usr/local/go/src/runtime/mgcmark.go:239 +0xb5 fp=0xc000067e78 sp=0xc000067e28 pc=0x41d455
runtime.markroot(0xc000047238, 0x16c, 0x1)
/usr/local/go/src/runtime/mgcmark.go:213 +0x1a5 fp=0xc000067f18 sp=0xc000067e78 pc=0x41d105
runtime.gcDrain(0xc000047238, 0x3)
/usr/local/go/src/runtime/mgcmark.go:1069 +0x39f fp=0xc000067f78 sp=0xc000067f18 pc=0x41f1ff
runtime.gcBgMarkWorker.func2()
/usr/local/go/src/runtime/mgc.go:1348 +0xad fp=0xc000067fc8 sp=0xc000067f78 pc=0x41b70d
runtime.systemstack()
/usr/local/go/src/runtime/asm_amd64.s:496 +0x49 fp=0xc000067fd0 sp=0xc000067fc8 pc=0x465da9
[signal SIGSEGV: segmentation violation code=0x1 addr=0xbfffffffe0 pc=0x469308]

runtime stack:
runtime.throw({0xf1354a?, 0xc0012f8000?})
/usr/local/go/src/runtime/panic.go:1047 +0x5d fp=0xc0000f39a0 sp=0xc0000f3970 pc=0x43559d
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:825 +0x3e9 fp=0xc0000f3a00 sp=0xc0000f39a0 pc=0x44bda9
runtime.memmove()
/usr/local/go/src/runtime/memmove_amd64.s:509 +0x648 fp=0xc0000f3a08 sp=0xc0000f3a00 pc=0x469308
runtime.syncadjustsudogs(0xc000ba0b60, 0xa80, 0xc0000f3ad0)
/usr/local/go/src/runtime/stack.go:842 +0xeb fp=0xc0000f3a48 sp=0xc0000f3a08 pc=0x44e98b
runtime.copystack(0xc000ba0b60, 0x0?)
/usr/local/go/src/runtime/stack.go:911 +0x375 fp=0xc0000f3c00 sp=0xc0000f3a48 pc=0x44ed95
runtime.shrinkstack(0xc000ba0b60)
/usr/local/go/src/runtime/stack.go:1216 +0x134 fp=0xc0000f3c20 sp=0xc0000f3c00 pc=0x44fbd4
runtime.scanstack(0xc000ba0b60, 0xc00004e138)
/usr/local/go/src/runtime/mgcmark.go:775 +0xf2 fp=0xc0000f3e28 sp=0xc0000f3c20 pc=0x41e552
runtime.markroot.func1()
/usr/local/go/src/runtime/mgcmark.go:239 +0xb5 fp=0xc0000f3e78 sp=0xc0000f3e28 pc=0x41d455
runtime.markroot(0xc00004e138, 0x167, 0x1)
/usr/local/go/src/runtime/mgcmark.go:213 +0x1a5 fp=0xc0000f3f18 sp=0xc0000f3e78 pc=0x41d105
runtime.gcDrain(0xc00004e138, 0x7)
/usr/local/go/src/runtime/mgcmark.go:1069 +0x39f fp=0xc0000f3f78 sp=0xc0000f3f18 pc=0x41f1ff
runtime.gcBgMarkWorker.func2()
/usr/local/go/src/runtime/mgc.go:1367 +0x7a fp=0xc0000f3fc8 sp=0xc0000f3f78 pc=0x41b6da
runtime.systemstack()
/usr/local/go/src/runtime/asm_amd64.s:496 +0x49 fp=0xc0000f3fd0 sp=0xc0000f3fc8 pc=0x465da9

@seankhliao seankhliao added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jun 15, 2023
@seankhliao seankhliao changed the title fatal error: unexpected signal during runtime execution runtime: fatal error: unexpected signal during runtime execution Jun 15, 2023
@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jun 15, 2023
@gopherbot
Copy link
Contributor

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.)

@gopherbot gopherbot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants