panic: bad arg kind: goroutine 24 [running]: github.com/google/syzkaller/prog.clone(0x0, 0x0, 0xc000a6d358, 0xc00257a7b0, 0xc00257a750) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:79 +0x897 github.com/google/syzkaller/prog.(*Prog).Clone(0xc0004a2ec0, 0x8f3c34) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:24 +0x27a github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc0034201c0, 0xc002009c20, 0xbf6d00, 0x0, 0x0, 0x0, 0xc002210da0, 0xc000a6d5f8, 0x7b46fe) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:839 +0xc5 github.com/google/syzkaller/prog.(*ResourceType).generate(0xbf6d00, 0xc0034201c0, 0xc002009c20, 0xc001651d00, 0x98ed80, 0xc002210da0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:669 +0x285 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0034201c0, 0xc002009c20, 0x993aa0, 0xbf6d00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0034201c0, 0xc002009c20, 0xc8e160, 0xc, 0xc, 0xc002210c00, 0x203000, 0x203000, 0x203000, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x113 github.com/google/syzkaller/prog.(*StructType).generate(0xc037a0, 0xc0034201c0, 0xc002009c20, 0x0, 0xcdc800, 0x84a560, 0xc00003d800, 0x2fa5de108, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0034201c0, 0xc002009c20, 0x993b80, 0xc037a0, 0x840000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0034201c0, 0xc002009c20, 0xbfef40, 0x2, 0x2, 0xc003166d00, 0x84a560, 0xc00000d760, 0xc000a6da90, 0x40d510, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x113 github.com/google/syzkaller/prog.(*StructType).generate(0xc03980, 0xc0034201c0, 0xc002009c20, 0x0, 0xcdc800, 0x91b090, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0034201c0, 0xc002009c20, 0x993b80, 0xc03980, 0xcd0000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608 github.com/google/syzkaller/prog.(*UnionType).mutate(0xbfeac0, 0xc0034201c0, 0xc002009c20, 0x98eec0, 0xc0033e9ea0, 0xc0033e9d88, 0xbfea80, 0x2, 0x2, 0xc0022073b0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:457 +0x18b github.com/google/syzkaller/prog.(*Target).mutateArg(0xc000075860, 0xc0034201c0, 0xc002009c20, 0x98eec0, 0xc0033e9ea0, 0xc0033e9d88, 0xbfea80, 0x2, 0x2, 0xc0022073b0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:229 +0xec github.com/google/syzkaller/prog.(*mutator).mutateArg(0xc000a6dec0, 0xa) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:182 +0x275 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc002226040, 0x988ac0, 0xc00344f320, 0x14, 0xc00340dfc0, 0xc002dde000, 0x276b, 0x3000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:47 +0x330 main.(*Proc).loop(0xc0035fe000) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:95 +0x3e5 created by main.main /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:267 +0x1175