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: exitThread on Plan 9 since CL 46037 #22221

0intro opened this issue Oct 11, 2017 · 2 comments

runtime: fatal error: exitThread on Plan 9 since CL 46037 #22221

0intro opened this issue Oct 11, 2017 · 2 comments


Copy link

@0intro 0intro commented Oct 11, 2017

Since CL 46037, the runtime is crashing on Plan 9 with the following error:


##### Building packages and commands for plan9/386.
fatal error: exitThread

runtime stack:
runtime.throw(0x25274d, 0xa)
	/usr/go/src/runtime/panic.go:616 +0x6a
	/usr/go/src/runtime/os_plan9.go:427 +0x2a
	/usr/go/src/runtime/proc.go:1328 +0x10c
	/usr/go/src/runtime/proc.go:1179 +0x6b

goroutine 1 [runnable]:
syscall.Seek(0x4, 0x0, 0x0, 0x0, 0x3, 0x0, 0x0, 0x0)
	/usr/go/src/syscall/syscall_plan9.go:157 +0xc5
syscall.readenv(0x10732d50, 0x6, 0x0, 0x0, 0x0, 0x0)
	/usr/go/src/syscall/env_plan9.go:25 +0x114
syscall.Environ(0x0, 0x0, 0x0)
	/usr/go/src/syscall/env_plan9.go:101 +0x126
os.Environ(0x106ea38c, 0x2, 0x106da5e8)
	/usr/go/src/os/env.go:117 +0x19
cmd/go/internal/work.(*Builder).gccSupportsFlag(0x106d80f0, 0x1065e708, 0x1, 0x1, 0x2562ff, 0x16, 0x0)
	/usr/go/src/cmd/go/internal/work/build.go:3572 +0x390
cmd/go/internal/work.(*Builder).compilerCmd(0x106d80f0, 0x24fc22, 0x2, 0x24fbfe, 0x2, 0x24fb31, 0x1, 0x0, 0x0, 0x20e2c0, ...)
	/usr/go/src/cmd/go/internal/work/build.go:3503 +0x4f7
cmd/go/internal/work.(*Builder).GccCmd(0x106d80f0, 0x24fb31, 0x1, 0x0, 0x0, 0x106a4160, 0xb, 0x16)
	/usr/go/src/cmd/go/internal/work/build.go:3449 +0x64
cmd/go/internal/envcmd.MkEnv(0x1068c580, 0x58, 0x58)
	/usr/go/src/cmd/go/internal/envcmd/env.go:76 +0x31a
	/usr/go/src/cmd/go/main.go:122 +0x479

goroutine 5 [syscall]:
os/signal.signal_recv(0x0, 0x0)
	/usr/go/src/runtime/sigqueue_plan9.go:109 +0x69
	/usr/go/src/os/signal/signal_plan9.go:27 +0x19
created by os/signal.init.0
	/usr/go/src/os/signal/signal_plan9.go:22 +0x36
@0intro 0intro added the OS-Plan9 label Oct 11, 2017
@0intro 0intro added this to the Go1.10 milestone Oct 11, 2017
@0intro 0intro self-assigned this Oct 11, 2017

This comment has been minimized.

Copy link
Member Author

@0intro 0intro commented Oct 11, 2017

This issue was discovered while investigating on issue #22219.


This comment has been minimized.

Copy link

@gopherbot gopherbot commented Oct 11, 2017

Change mentions this issue: runtime: fix crash on Plan 9

@gopherbot gopherbot closed this in 926373e Oct 12, 2017
@golang golang locked and limited conversation to collaborators Oct 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.