Skip to content

//gapis/api/vulkan:go_default_test panics #2030

@pmuetschard

Description

@pmuetschard
--- FAIL: TestCallReflectedCommand (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x16bbebe]

goroutine 20 [running]:
testing.tRunner.func1(0xc4203f40f0)
	GOROOT/src/testing/testing.go:742 +0x29d
panic(0x24a3a00, 0x3ee0480)
	GOROOT/src/runtime/panic.go:505 +0x229
github.com/google/gapid/gapis/api/vulkan.QueryPoolObjectʳ.SetLastBoundQueue(...)
	bazel-out/k8-fastbuild/genfiles/gapis/api/vulkan/api.go:30017
github.com/google/gapid/gapis/api/vulkan.subDovkCmdWriteTimestamp(0x2a7c7a0, 0xc4203eacc0, 0x2a8d820, 0xc42016ea20, 0xa, 0xc4203eadb0, 0xc4203369a0, 0xc4202d0dc0, 0x0, 0x0, ...)
	bazel-out/k8-fastbuild/genfiles/gapis/api/vulkan/mutate.go:2388 +0x6e
reflect.Value.call(0x25886e0, 0x288abe0, 0x13, 0x282ee6e, 0x4, 0xc42010ae30, 0x9, 0x9, 0xc42033a968, 0x2740ac0, ...)
	GOROOT/src/reflect/value.go:447 +0x969
reflect.Value.Call(0x25886e0, 0x288abe0, 0x13, 0xc42010ae30, 0x9, 0x9, 0xc4200f95d0, 0x9c9929, 0xc420336930)
	GOROOT/src/reflect/value.go:308 +0xa4
github.com/google/gapid/gapis/api/vulkan.CallReflectedCommand(0x2a7c7a0, 0xc4203eacc0, 0x2a8d820, 0xc42016ea20, 0xa, 0xc4203369a0, 0x0, 0x25886e0, 0x288abe0, 0x2740ac0, ...)
	gapis/api/vulkan/externs.go:70 +0x530
github.com/google/gapid/gapis/api/vulkan.TestCallReflectedCommand(0xc4203f40f0)
	gapis/api/vulkan/externs_test.go:40 +0x1af
testing.tRunner(0xc4203f40f0, 0x2887f20)
	GOROOT/src/testing/testing.go:777 +0xd0
created by testing.(*T).Run
	GOROOT/src/testing/testing.go:824 +0x2e0

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions