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

panic: context canceled #1123

Closed
dsrbecky opened this issue Sep 20, 2017 · 0 comments
Closed

panic: context canceled #1123

dsrbecky opened this issue Sep 20, 2017 · 0 comments

Comments

@dsrbecky
Copy link
Contributor

panic: context canceled [recovered]
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x95ebc4]

goroutine 151779 [running]:
github.com/google/gapid/gapis/database.(*memory).resolvePanicHandler(0xc42034c120, 0x391e3a0, 0xc4ab98f380)
/ssd/go/src/github.com/google/gapid/gapis/database/debug.go:96 +0x494
panic(0x1f68800, 0xc4200142e0)
/usr/local/google/home/dsrbecky/bin/go/src/runtime/panic.go:489 +0x2cf
github.com/google/gapid/gapis/api/gles.panicOnError(0x38ea720, 0xc4200142e0)
/ssd/go/src/github.com/google/gapid/gapis/api/gles/api.go:81282 +0x4a
github.com/google/gapid/gapis/api/gles.U8ˢ.Read(0x0, 0xc, 0x2cddc, 0xc5000014e9, 0x391e3a0, 0xc4ab98f380, 0x0, 0x0, 0xc4f2c11da0, 0x0, ...)
/ssd/go/src/github.com/google/gapid/gapis/api/gles/api.go:21997 +0x1c8
github.com/google/gapid/gapis/api/gles.vertexStreamData(0x391e3a0, 0xc4ab98f380, 0xc4f2a1af00, 0xc539155cb0, 0x11f3, 0x0, 0x0, 0x2cdf8, 0x4000014e9, 0xc4f2c11da0, ...)
/ssd/go/src/github.com/google/gapid/gapis/api/gles/draw_call_mesh.go:176 +0x212
github.com/google/gapid/gapis/api/gles.drawCallMesh(0x391e3a0, 0xc4ab98f380, 0x7f74203fc938, 0xc4463d7950, 0xc4b3e2ea00, 0xc4851e5901, 0x7f74203fc910, 0x233dd80)
/ssd/go/src/github.com/google/gapid/gapis/api/gles/draw_call_mesh.go:102 +0x88c
github.com/google/gapid/gapis/api/gles.API.Mesh(0x391e3a0, 0xc4ab98f380, 0x23bb480, 0xc4463d7950, 0xc4b3e2ea00, 0x233dd80, 0x3922801, 0x7f74203fc910)
/ssd/go/src/github.com/google/gapid/gapis/api/gles/gles.go:164 +0x84
github.com/google/gapid/gapis/api/gles.(*API).Mesh(0x429d110, 0x391e3a0, 0xc4ab98f380, 0x23bb480, 0xc4463d7950, 0xc4b3e2ea00, 0xc42005fc00, 0xc4851e5b00, 0x517502)
:3469 +0x77
github.com/google/gapid/gapis/resolve.meshFor(0x391e3a0, 0xc4ab98f380, 0x23bb480, 0xc4463d7950, 0xc4b3e2ea00, 0xc4b3e2e9e0, 0x0, 0x0)
/ssd/go/src/github.com/google/gapid/gapis/resolve/mesh.go:49 +0xb7f
github.com/google/gapid/gapis/resolve.meshFor(0x391e3a0, 0xc4ab98f380, 0x21e90c0, 0xc4b3e34600, 0xc476856a80, 0xc4b3e34600, 0x0, 0x0)
/ssd/go/src/github.com/google/gapid/gapis/resolve/mesh.go:67 +0x92c
github.com/google/gapid/gapis/resolve.Mesh(0x391e3a0, 0xc4ab98f380, 0xc476856a80, 0xc4ec96ccc0, 0x196, 0xc5384ead18)
/ssd/go/src/github.com/google/gapid/gapis/resolve/mesh.go:33 +0xb9
github.com/google/gapid/gapis/resolve.ResolveInternal(0x391e3a0, 0xc4ab98f380, 0x391f060, 0xc476856a80, 0x391f060, 0xc476856a80, 0xc5384eadd0, 0xcf1a6528c6)
/ssd/go/src/github.com/google/gapid/gapis/resolve/resolve.go:301 +0x9a3
github.com/google/gapid/gapis/resolve.As(0x391e3a0, 0xc4ab98f380, 0xc476856840, 0x9ead01, 0x23b81e0, 0xc476856840, 0xc5384eae38)
/ssd/go/src/github.com/google/gapid/gapis/resolve/as.go:29 +0x79
github.com/google/gapid/gapis/resolve.ResolveInternal(0x391e3a0, 0xc4ab98f380, 0x391eba0, 0xc476856840, 0x1f774a0, 0xc4ec96ccc8, 0x391eba0, 0xc476856840)
/ssd/go/src/github.com/google/gapid/gapis/resolve/resolve.go:263 +0x82e
github.com/google/gapid/gapis/resolve.ResolveService(0x391e3a0, 0xc4ab98f380, 0x391eba0, 0xc476856840, 0x2071c00, 0x2156fc0, 0xc420042c01, 0x38ebfa0)
/ssd/go/src/github.com/google/gapid/gapis/resolve/resolve.go:248 +0x4d
github.com/google/gapid/gapis/resolve.(*GetResolvable).Resolve(0xc4ec96ccd0, 0x391e3a0, 0xc4ab98f380, 0x38ebfa0, 0xc4ec96ccd0, 0x1, 0x38f0ce0)
/ssd/go/src/github.com/google/gapid/gapis/resolve/get.go:35 +0xa9
github.com/google/gapid/gapis/database.(*record).resolve(0xc4d82f85c0, 0x391e3a0, 0xc4ab98f380, 0x391e3a0, 0xc4ab98f380)
/ssd/go/src/github.com/google/gapid/gapis/database/memory.go:78 +0x8d
github.com/google/gapid/gapis/database.(*memory).resolveLocked.func1(0xc42034c120, 0xc4d82f85c0, 0xc4dfbe54a0, 0x391e3a0, 0xc4ab98f380)
/ssd/go/src/github.com/google/gapid/gapis/database/memory.go:154 +0x81
created by github.com/google/gapid/gapis/database.(*memory).resolveLocked
/ssd/go/src/github.com/google/gapid/gapis/database/memory.go:161 +0x708

@ben-clayton ben-clayton added this to the V1.0 milestone Sep 21, 2017
ben-clayton added a commit to ben-clayton/gapid that referenced this issue Oct 10, 2017
ben-clayton added a commit to ben-clayton/gapid that referenced this issue Oct 10, 2017
Use the non-must form to handle context cancellation correctly in hand written code.

Fixes google#1123
ben-clayton added a commit to ben-clayton/gapid that referenced this issue Oct 10, 2017
ben-clayton added a commit to ben-clayton/gapid that referenced this issue Oct 10, 2017
Use the non-must form to handle context cancellation correctly in hand written code.

Fixes google#1123
ben-clayton added a commit to ben-clayton/gapid that referenced this issue Oct 10, 2017
ben-clayton added a commit to ben-clayton/gapid that referenced this issue Oct 10, 2017
Use the non-must form to handle context cancellation correctly in hand written code.

Fixes google#1123
ben-clayton added a commit to ben-clayton/gapid that referenced this issue Oct 10, 2017
Use the non-must form to handle context cancellation correctly in hand written code.

Fixes google#1123
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

2 participants