Skip to content

runtime: invalid address on Plan 9 #7296

@0intro

Description

@0intro
What steps will reproduce the problem?

Run multiple times:

% all.rc

What is the expected output? What do you see instead?

Sometime, you can see an os/exec or runtime test failing.

--- FAIL: TestExtraFilesRace (0.52 seconds)
    exec_test.go:480: iteration 2, process A got:
        exec.test 244575: suicide: invalid address 0x16c41/220 in sys call pc=0x234c1
        exec.test 244575: suicide: bad address in notify
        fd3: listener 127.0.0.1:32800
        
        want:
        fd3: listener 127.0.0.1:32800
        
FAIL
FAIL    os/exec 1.468s

--- FAIL: TestInitDeadlock (0.34 seconds)
    crash_test.go:92: output does not start with "fatal error: all goroutines are asleep - deadlock!\n":
        go 248505: suicide: invalid address 0x5f0d1/220 in sys call pc=0x6ad71
        go 248505: suicide: bad address in notify
        fatal error: all goroutines are asleep - deadlock!
        
        goroutine 17 [syscall]:
        runtime.notetsleepg(0x3027ed9c, 0xf8475800, 0xd)
            /tmp/gobuilder/plan9-386-cnielsen-9623db1cea87/go/src/pkg/runtime/lock_sema.c:254 +0x70
        runtime.MHeap_Scavenger()
            /tmp/gobuilder/plan9-386-cnielsen-9623db1cea87/go/src/pkg/runtime/mheap.c:458 +0xc2
        runtime.goexit()
            /tmp/gobuilder/plan9-386-cnielsen-9623db1cea87/go/src/pkg/runtime/proc.c:1438
        
        goroutine 16 [select (no cases)]:
        main.init·1()
            /tmp/go-build053645721/main.go:4 +0x1d
        main.init()
            /tmp/go-build053645721/main.go:7 +0x3d
        exit status: 'main 248510: 2'
FAIL
FAIL    runtime 72.977s

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions