panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x90 pc=0x78a4f0] goroutine 26 [running]: github.com/google/syzkaller/prog.(*GroupArg).Size(0xc001b22930, 0xc001b22930) /syzkaller/gopath/src/github.com/google/syzkaller/prog/prog.go:189 +0x40 github.com/google/syzkaller/prog.foreachArgImpl(0x9a74e0, 0xc001b22930, 0xc001b219c8, 0xc001b22630, 0x2a, 0x0, 0xc001fe4af8) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:141 +0x21e github.com/google/syzkaller/prog.foreachArgImpl(0x9a74e0, 0xc001b22660, 0xc001b219c8, 0xc001b22630, 0x0, 0x40be00, 0xc001fe4af8) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:136 +0x1c8 github.com/google/syzkaller/prog.foreachArgImpl(0x9a7520, 0xc001b22630, 0xc001b219c8, 0x0, 0x0, 0x202030203030200, 0xc001fe4af8) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:151 +0x3a6 github.com/google/syzkaller/prog.ForeachArg(0xc001b219c0, 0xc001fe4af8) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:120 +0x9e OpenBSD/amd64 (ci-openbsd-main-3.c.syzkaller.internal) (tty00) github.com/google/syzkaller/prog.getCompatibleResources(0xc001a91280, 0x8f0222, 0x3, 0xc0016ea840, 0xc0027a8300, 0x9, 0x10) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:870 +0xb9 github.com/google/syzkaller/prog.resourceCentric(0xca9f80, 0xc0013926e0, 0xc0016ea840, 0x2c9568001, 0x0, 0x8, 0x203000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:818 +0xf8 github.com/google/syzkaller/prog.(*ResourceType).generate(0xca9f80, 0xc0016ea840, 0xc0013926e0, 0xc0026c8f38, 0xc0026c8ee8, 0x78a6e3, 0xcba720, 0x2c) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:650 +0x920 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0016ea840, 0xc0013926e0, 0x9ae620, 0xca9f80, 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.(*ArrayType).generate(0xcbbc20, 0xc0016ea840, 0xc0013926e0, 0x203000, 0x203000, 0x203000, 0x203000, 0x203000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:774 +0x16e github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0016ea840, 0xc0013926e0, 0x9adf60, 0xcbbc20, 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.(*PtrType).generate(0xca9f20, 0xc0016ea840, 0xc0013926e0, 0x9a7460, 0xc001897520, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:798 +0x95 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0016ea840, 0xc0013926e0, 0x9ae560, 0xca9f20, 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(0xc0016ea840, 0xc0013926e0, 0xc9a200, 0x2, 0x2, 0xc0026c9360, 0x4eeea3, 0xc002214000, 0x193b828d5efea6a8, 0xc0026c9388, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:580 +0x107 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc0016ea840, 0xc0013926e0, 0xce2500, 0x8, 0x9, 0xc001d43680) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:524 +0xc6 github.com/google/syzkaller/prog.(*randGen).createResource(0xc0016ea840, 0xc0013926e0, 0xca9f80, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:357 +0x54b github.com/google/syzkaller/prog.(*ResourceType).generate(0xca9f80, 0xc0016ea840, 0xc0013926e0, 0x9a7560, 0xc0015cdd00, 0xc000138380, 0x2c9568008, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:675 +0x5e8 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0016ea840, 0xc0013926e0, 0x9ae620, 0xca9f80, 0xc000ec4000, 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.(*ArrayType).generate(0xcbbc20, 0xc0016ea840, 0xc0013926e0, 0xc001897360, 0xc0026c9ae8, 0x203000, 0x203000, 0x203000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:774 +0x16e github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0016ea840, 0xc0013926e0, 0x9adf60, 0xcbbc20, 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.(*PtrType).generate(0xca9f20, 0xc0016ea840, 0xc0013926e0, 0x9a7460, 0xc0018973a0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:798 +0x95 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0016ea840, 0xc0013926e0, 0x9ae560, 0xca9f20, 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(0xc0016ea840, 0xc0013926e0, 0xc9a200, 0x2, 0x2, 0xc0026c9d58, 0x1ed87298, 0xd7ee9f7ab3870f0e, 0xc0026c9d90, 0x789dce, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:580 +0x107 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc0016ea840, 0xc0013926e0, 0xce2500, 0x2f, 0xc0013926e0, 0xc001a2d680) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:524 +0xc6 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc0016ea840, 0xc0013926e0, 0xc0015cc800, 0xf, 0xc0015cc800, 0x0, 0xc0013926e0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:516 +0xb2 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc0026c9ec0, 0x14) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:137 +0xf2 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc0015cc800, 0x9a1d60, 0xc002c020f0, 0x1e, 0xc0017a8940, 0xc002ac8000, 0x1faf, 0x2400) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:42 +0x29b main.(*Proc).loop(0xc0018c2180) /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 login: