panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x78a429] goroutine 27 [running]: github.com/google/syzkaller/prog.(*ResultArg).Size(0xc003b45c40, 0x1) /syzkaller/gopath/src/github.com/google/syzkaller/prog/prog.go:278 +0x29 github.com/google/syzkaller/prog.(*UnionArg).Size(0xc003b3bd40, 0x9acd00) /syzkaller/gopath/src/github.com/google/syzkaller/prog/prog.go:240 +0x55 github.com/google/syzkaller/prog.foreachArgImpl(0x9a62a0, 0xc003b4c570, 0xc003b4c250, 0xc003b4c540, 0x0, 0x0, 0xc000739808) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:138 +0x308 github.com/google/syzkaller/prog.foreachArgImpl(0x9a62e0, 0xc003b4c540, 0xc003b4c250, 0xc003b4c210, 0x20, 0x0, 0xc000739808) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:153 +0x3e8 github.com/google/syzkaller/prog.foreachArgImpl(0x9a62a0, 0xc003b4c240, 0xc003b45808, 0xc003b4c210, 0x0, 0x0, 0xc000739808) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:136 +0x1d0 github.com/google/syzkaller/prog.foreachArgImpl(0x9a62e0, 0xc003b4c210, 0xc003b45808, 0x0, 0x0, 0x303020202020200, 0xc000739808) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:153 +0x3e8 github.com/google/syzkaller/prog.ForeachArg(0xc003b45800, 0xc000739808) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:120 +0x9e github.com/google/syzkaller/prog.getCompatibleResources(0xc003b2e900, 0x8f3b4b, 0x7, 0xc00315f620, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:870 +0xb9 github.com/google/syzkaller/prog.resourceCentric(0xcb2000, 0xc0048ecc80, 0xc00315f620, 0xc00315fa01, 0x203000, 0xc9d860, 0x40c698) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:818 +0xf8 github.com/google/syzkaller/prog.(*ResourceType).generate(0xcb2000, 0xc00315f620, 0xc0048ecc80, 0x10, 0x878360, 0xc003222240, 0xc000171880, 0x10) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:650 +0x920 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc00315f620, 0xc0048ecc80, 0x9acc00, 0xcb2000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:643 +0x506 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:592 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc00315f620, 0xc0048ecc80, 0xc93fa0, 0x1, 0x1, 0xc000739d58, 0xd397ff5b, 0xbc79736f59132c6b, 0xc000739d90, 0x7897fe, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:580 +0x107 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc00315f620, 0xc0048ecc80, 0xcbf920, 0x136, 0xc0048ecc80, 0xc003045e00) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:524 +0xc6 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc00315f620, 0xc0048ecc80, 0xc003045a80, 0x4, 0xc003045a80, 0xc003045d80, 0xc0048ecc80) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:516 +0xb2 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc000739ec0, 0x14) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:137 +0xf2 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc003045a80, 0x9a0ba0, 0xc002b7c780, 0x1e, 0xc002e53a80, 0xc002fa8000, 0x1e28, 0x2400) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:42 +0x29b main.(*Proc).loop(0xc002e53b00) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:99 +0x434 created by main.main /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:259 +0x114c OpenBSD/amd64 (ci-openbsd-multicore-9.c.syzkaller.internal) (tty00) login: