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

misc/cgo/test: linux-amd64-alpine: "fatal error: unknown caller pc" in gentraceback #54749

Closed
heschi opened this issue Aug 29, 2022 · 4 comments
Assignees
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@heschi
Copy link
Contributor

heschi commented Aug 29, 2022

2022-08-19T17:46:05-4a954fa/linux-amd64-alpine
2022-08-19T16:04:12-f15761b/linux-amd64-alpine
2022-08-19T03:09:05-a409356/linux-amd64-alpine
2022-08-19T03:01:14-55ecc3a/linux-amd64-alpine

scatter = 0x56df81
runtime: g 38: unexpected return pc for runtime.ensureSigM.func1 called from 0x0
stack: frame={sp:0xc0001db758, fp:0xc0001db7e0} stack=[0xc0001db000,0xc0001db800)
0x000000c0001db658:  0x0000000000000002  0x0000000000000000 
0x000000c0001db668:  0x0000000000000000  0x0000000000700160 
0x000000c0001db678:  0x000000000043f296 <runtime.gopark+0x00000000000000d6>  0x0000000000000000 
0x000000c0001db688:  0x000000c00002ca00  0x0000000000000010 
0x000000c0001db698:  0x0000000000000001  0x0000000000000001 
0x000000c0001db6a8:  0x0000000000000002  0x000000c000184d00 
0x000000c0001db6b8:  0x0000000000000004  0x000000c00019a280 
0x000000c0001db6c8:  0x000000c0001db7a4  0x000000c000184ea0 
0x000000c0001db6d8:  0x000000c00019a240  0x000000c0001803c0 
0x000000c0001db6e8:  0x000000c000180360  0x000000c000180360 
0x000000c0001db6f8:  0x000000c000184fe8  0x000000c000184f28 
0x000000c0001db708:  0x000000c000184fe8  0x0000000000450220 <runtime.selectgo.func2+0x0000000000000000> 
0x000000c0001db718:  0x000000c0001db748  0x000000000040cb1d <runtime.chansend1+0x000000000000001d> 
0x000000c0001db728:  0x000000c000180300  0x000000c0001db78f 
0x000000c0001db738:  0x0000000000000001  0x0000000000000002 
0x000000c0001db748:  0x000000c0001db7d0  0x00000000004694f0 <runtime.ensureSigM.func1+0x00000000000001b0> 
0x000000c0001db758: <0x000000c0001db7a8  0x000000c0001db7a0 
0x000000c0001db768:  0x0000000000000000  0x0000000000000000 
0x000000c0001db778:  0x000000c0001db7a8  0x000000000040cb01 <runtime.chansend1+0x0000000000000001> 
0x000000c0001db788:  0x010000c0001802a0  0x00000002005ece60 
0x000000c0001db798:  0xfffffffc3bbe3b00  0x0001000000000001 
0x000000c0001db7a8:  0x000000c000180360  0x000000c0001db790 
0x000000c0001db7b8:  0x00007f24312e16fa  0x00007f2409d13b74 
0x000000c0001db7c8:  0x0000000000000000  0x0000000000000000 
0x000000c0001db7d8: !0x0000000000000000 >0xffffffffffffffff 
0x000000c0001db7e8:  0x00007f24312e0cf5  0x0000000000000000 
0x000000c0001db7f8:  0x0000000000000000 
fatal error: unknown caller pc

cc @golang/runtime

@heschi heschi added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Aug 29, 2022
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label Aug 29, 2022
@gopherbot gopherbot added this to the Unreleased milestone Aug 29, 2022
@heschi heschi changed the title x/build: linux-amd64-alpine: "fatal error: unknown caller pc" in misc/cgo/test misc/cgo/test: linux-amd64-alpine: "fatal error: unknown caller pc" in Aug 29, 2022
@heschi heschi removed the Builders x/build issues (builders, bots, dashboards) label Aug 29, 2022
@mknyszek mknyszek added the compiler/runtime Issues related to the Go compiler and/or runtime. label Aug 29, 2022
@bcmills bcmills changed the title misc/cgo/test: linux-amd64-alpine: "fatal error: unknown caller pc" in misc/cgo/test: linux-amd64-alpine: "fatal error: unknown caller pc" in gentraceback Aug 30, 2022
@bcmills bcmills modified the milestones: Unreleased, Backlog Aug 30, 2022
@bcmills
Copy link
Contributor

bcmills commented Aug 30, 2022

This may be related to #54422.

@prattmic
Copy link
Member

I suspect this is related to #39857. I previously added some test skips, but perhaps missed a few.

@prattmic
Copy link
Member

prattmic commented Sep 7, 2022

Yes, likely fixed by https://go.dev/cl/425001.

That test was corrupting random goroutine stacks, hence why it could cause crashes afterwards, when the bad test is no longer running.

@prattmic prattmic closed this as completed Sep 7, 2022
Repository owner moved this from Todo to Done in Go Compiler / Runtime Sep 7, 2022
@golang golang locked and limited conversation to collaborators Sep 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

5 participants