Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pmuetschard opened this issue Jul 3, 2018 · 1 comment
Closed

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

pmuetschard opened this issue Jul 3, 2018 · 1 comment

Comments

@pmuetschard
Copy link
Member

--- 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
@AWoloszyn
Copy link
Contributor

@Qining is looks like this is related to your recent updates to LastBoundQueue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants