-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
ExpertNeededFrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.arch-mipscompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.
Milestone
Description
We just got a bug report from a user that AllThreadsSyscall6
(via a call to syscall.Setuid
without cgo) crashed.
Does AllThreadsSyscall not work on mipsle?
Go 1.19.2
GOARCH=mipsle
(https://openwrt.org/toh/hwdata/gehua/gehua_ghl-r-001)
CGO_ENABLED=0
trap:4081, a123456=[1,30851488,0,0,0,0]
results: got {r1=0,r2=4081,errno=0}, want {r1=0,r2=30851488,errno=0
fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted
trap:4081, a123456=[1,30851488,0,0,0,0]
results: got {r1=0,r2=4081,errno=0}, want {r1=0,r2=30851488,errno=0
fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted
trap:4081, a123456=[1,30851488,0,0,0,0]
results: got {r1=0,r2=4081,errno=0}, want {r1=0,r2=30851488,errno=0
fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted
trap:4081, a123456=[1,30851488,0,0,0,0]
results: got {r1=0,r2=4081,errno=0}, want {r1=0,r2=30851488,errno=0
fatal error: AllThreadsSyscall6 results differ between threads; runtime corrupted
goroutine 0 [idle]:
runtime.fatal({0xb8af82, 0x44})
runtime/panic.go:1066 +0x54
runtime.runPerThreadSyscall()
runtime/os_linux.go:884 +0x3e0
runtime.sighandler(0x21, 0x1c53d08, 0x1c53d88, 0x1c005a0)
runtime/signal_unix.go:647 +0x710
runtime.sigtrampgo(0x21, 0x1c53d08, 0x1c53d88)
runtime/signal_unix.go:479 +0x208
runtime.sigtramp()
runtime/sys_linux_mipsx.s:325 +0x40
goroutine 1 [running]:
goroutine running on other thread; stack unavailable
goroutine 0 [idle]:
runtime.fatal({0xb8af82, 0x44})
runtime/panic.go:1066 +0x54
runtime.runPerThreadSyscall()
runtime/os_linux.go:884 +0x3e0
runtime.sighandler(0x21, 0x1c5bd08, 0x1c5bd88, 0x1c00780)
runtime/signal_unix.go:647 +0x710
runtime.sigtrampgo(0x21, 0x1c5bd08, 0x1c5bd88)
runtime/signal_unix.go:479 +0x208
runtime.sigtramp()
runtime/sys_linux_mipsx.s:325 +0x40
goroutine 0 [idle]:
runtime.fatal({0xb8af82, 0x44})
runtime/panic.go:1066 +0x54
runtime.runPerThreadSyscall()
runtime/os_linux.go:884 +0x3e0
runtime.sighandler(0x21, 0x1c8bd08, 0x1c8bd88, 0x1c820f0)
runtime/signal_unix.go:647 +0x710
runtime.sigtrampgo(0x21, 0x1c8bd08, 0x1c8bd88)
runtime/signal_unix.go:479 +0x208
runtime.sigtramp()
runtime/sys_linux_mipsx.s:325 +0x40
goroutine 0 [idle]:
runtime.fatal({0xb8af82, 0x44})
runtime/panic.go:1066 +0x54
runtime.runPerThreadSyscall()
runtime/os_linux.go:884 +0x3e0
runtime.sighandler(0x21, 0x1c43d08, 0x1c43d88, 0x1c002d0)
runtime/signal_unix.go:647 +0x710
runtime.sigtrampgo(0x21, 0x1c43d08, 0x1c43d88)
runtime/signal_unix.go:479 +0x208
runtime.sigtramp()
runtime/sys_linux_mipsx.s:325 +0x40
(from tailscale/tailscale#6060)
Metadata
Metadata
Assignees
Labels
ExpertNeededFrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.arch-mipscompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.