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 · 0 comments
Open

Comments

@bcmills
Copy link
Member

@bcmills 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 this to the Backlog milestone Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.