Skip to content

Goon driver fails under heavy usage #42

@farhadi

Description

@farhadi

Working with the goon driver sometimes I get the following error:

panic: write /dev/stdout: broken pipe

goroutine 21 [running]:
runtime.panic(0x4be580, 0xc208000350)
/usr/lib/go/src/pkg/runtime/panic.c:279 +0xf5
log.(*Logger).Panicf(0xc20801a230, 0x4fdc90, 0x3, 0x7f04e7dbbe38, 0x1, 0x1)
/usr/lib/go/src/pkg/log/log.go:200 +0xcd
main.fatal_if(0x4dfc20, 0xc2080264e0)
/root/home/test/goon/util.go:38 +0x180
main.outLoop(0x7f04e7f46670, 0xc208034030, 0x7f04e7f46318, 0xc208034008, 0x0, 0xc2080041e0)
/root/home/test/goon/io.go:151 +0x41b
created by main.wrapStdout
/root/home/test/goon/io.go:34 +0x181

goroutine 16 [chan receive]:
main.proto_2_0(0x7fffce170101, 0x503bf0, 0x3, 0x4fe1b0, 0x1, 0xc20800e060, 0x9, 0x9, 0x0, 0x0)
/root/home/test/goon/proto_2_0.go:58 +0x421
main.main()
/root/home/test/goon/main.go:51 +0x3d7

goroutine 19 [finalizer wait]:
runtime.park(0x417720, 0x5a78f0, 0x5a6409)
/usr/lib/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x5a78f0, 0x5a6409)
/usr/lib/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/usr/lib/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1445

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions