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: SIGSEGV during sigpanic in TestCgoCallbackGC on netbsd-386-9_0 builder #39595

Open
bcmills opened this issue Jun 15, 2020 · 3 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-NetBSD
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Jun 15, 2020

2020-06-12T17:25:26-7d975ae/netbsd-386-9_0

--- FAIL: TestCgoCallbackGC (0.71s)
    crash_test.go:105: /tmp/go-build517568832/testprogcgo.exe CgoCallbackGC exit status: exit status 2
    crash_cgo_test.go:70: expected "OK\n", but got:
        fatal error: unexpected signal during runtime execution
        [signal SIGSEGV: segmentation violation code=0x1 addr=0xcd42f9e0 pc=0xada54001]
        
        runtime stack:
        runtime.throw(0x81765a7, 0x2a)
        	/tmp/workdir/go/src/runtime/panic.go:1116 +0x64
        runtime.sigpanic()
        	/tmp/workdir/go/src/runtime/signal_unix.go:704 +0x38e
        
        goroutine 14 [syscall]:
        runtime.cgocall(0x8138c38, 0x85677dc, 0x85677dc)
        	/tmp/workdir/go/src/runtime/cgocall.go:133 +0x61 fp=0x85677c8 sp=0x85677b0 pc=0x804c971
        main._Cfunc_foo()
        	_cgo_gotypes.go:228 +0x2d fp=0x85677dc sp=0x85677c8 pc=0x81317fd
        main.CgoCallbackGC.func2(0x8502080)
        	/tmp/workdir/go/src/runtime/testdata/testprogcgo/callback.go:85 +0x14 fp=0x85677e8 sp=0x85677dc pc=0x8136984
        runtime.goexit()
        	/tmp/workdir/go/src/runtime/asm_386.s:1333 +0x1 fp=0x85677ec sp=0x85677e8 pc=0x80a35f1
        created by main.CgoCallbackGC
        	/tmp/workdir/go/src/runtime/testdata/testprogcgo/callback.go:84 +0xde

Possibly related to #37605.

CC @ianlancetaylor @cherrymui @bsiegert

@bcmills bcmills added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-NetBSD labels Jun 15, 2020
@bcmills bcmills added this to the Backlog milestone Jun 15, 2020
@bcmills
Copy link
Contributor Author

bcmills commented Jul 27, 2020

@bcmills
Copy link
Contributor Author

bcmills commented Jan 26, 2021

@bcmills
Copy link
Contributor Author

bcmills commented Feb 25, 2021

A possible connection between this issue and #32023: a failure on this builder, but with that failure mode:
2021-02-25T01:30:37-ff614b1/netbsd-386-9_0

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jul 7, 2022
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. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-NetBSD
Projects
Status: Triage Backlog
Development

No branches or pull requests

2 participants