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

The gapis server has exited with an error code of: 2 #2190

Closed
zhangyiwei opened this issue Sep 10, 2018 · 0 comments
Closed

The gapis server has exited with an error code of: 2 #2190

zhangyiwei opened this issue Sep 10, 2018 · 0 comments
Assignees

Comments

@zhangyiwei
Copy link
Contributor

GAPID Version: 1.1.1:developer
OS: linux amd64
App: Helix Jump
Method: capture in the middle
Error: can not open trace file.

Please provide detailed steps that led to the error and copy-paste the stack trace.
Extra details from the logs and the trace file would be extra helpful.

panic: interface conversion: interface {} is []gles.GLboolean, not []uint8 [recovered]
panic: Panic at command 472:glGetBooleanv(param: GL_STENCIL_TEST, values: 0xc7a9790c):
interface conversion: interface {} is []gles.GLboolean, not []uint8 [recovered]
panic:
--- *resolve.ContextListResolvable ---
capture:<ID:data:"\\\230vL\373,\316-0\004n\002\303)-\324\215G\350" > > config:<replay_device:<ID:<data:"\033\236\201&p^\025\275I\030sH,\202.\320n\027B\245" > > >
Store():
gapis/database/database.go:50 github.com/google/gapid/gapis/database.Build
gapis/resolve/contexts.go:35 github.com/google/gapid/gapis/resolve.Contexts
gapis/resolve/resolve.go:331 github.com/google/gapid/gapis/resolve.ResolveInternal
gapis/resolve/resolve.go:293 github.com/google/gapid/gapis/resolve.ResolveService
gapis/resolve/get.go:33 github.com/google/gapid/gapis/resolve.(*GetResolvable).Resolve
gapis/database/memory.go:130 github.com/google/gapid/gapis/database.(*record).resolve
gapis/database/memory.go:222 github.com/google/gapid/gapis/database.(*memory).resolveLocked.func1
core/app/crash/crash.go:65 github.com/google/gapid/core/app/crash.Go.func1

Build() #0:
gapis/database/database.go:54 github.com/google/gapid/gapis/database.Build
gapis/resolve/contexts.go:35 github.com/google/gapid/gapis/resolve.Contexts
gapis/resolve/resolve.go:331 github.com/google/gapid/gapis/resolve.ResolveInternal
gapis/resolve/resolve.go:293 github.com/google/gapid/gapis/resolve.ResolveService
gapis/resolve/get.go:33 github.com/google/gapid/gapis/resolve.(*GetResolvable).Resolve
gapis/database/memory.go:130 github.com/google/gapid/gapis/database.(*record).resolve
gapis/database/memory.go:222 github.com/google/gapid/gapis/database.(*memory).resolveLocked.func1
core/app/crash/crash.go:65 github.com/google/gapid/core/app/crash.Go.func1

--- *resolve.GetResolvable ---
path:<contexts:<capture:<ID:data:"\\\230vL\373,\316-0\004n\002\303)-\324\215G\350" > > > > config:<replay_device:<ID:<data:"\033\236\201&p^\025\275I\030sH,\202.\320n\027B\245" > > >
Store():
gapis/database/database.go:50 github.com/google/gapid/gapis/database.Build
gapis/resolve/get.go:26 github.com/google/gapid/gapis/resolve.Get
gapis/server/server.go:328 github.com/google/gapid/gapis/server.(*server).Get
gapis/server/grpc.go:170 github.com/google/gapid/gapis/server.(*grpcServer).Get
bazel-out/k8-fastbuild/bin/gapis/service/linux_amd64_stripped/service_go_proto~/github.com/google/gapid/gapis/service/service.pb.go:9171 github.com/google/gapid/gapis/service._Gapid_Get_Handler.func1
core/app/auth/auth.go:110 github.com/google/gapid/core/app/auth.ServerInterceptor.func1
bazel-out/k8-fastbuild/bin/gapis/service/linux_amd64_stripped/service_go_proto~/github.com/google/gapid/gapis/service/service.pb.go:9173 github.com/google/gapid/gapis/service._Gapid_Get_Handler
external/org_golang_google_grpc/server.go:719 google.golang.org/grpc.(*Server).processUnaryRPC
external/org_golang_google_grpc/server.go:905 google.golang.org/grpc.(*Server).handleStream

Build() #0:
gapis/database/database.go:54 github.com/google/gapid/gapis/database.Build
gapis/resolve/get.go:26 github.com/google/gapid/gapis/resolve.Get
gapis/server/server.go:328 github.com/google/gapid/gapis/server.(*server).Get
gapis/server/grpc.go:170 github.com/google/gapid/gapis/server.(*grpcServer).Get
bazel-out/k8-fastbuild/bin/gapis/service/linux_amd64_stripped/service_go_proto~/github.com/google/gapid/gapis/service/service.pb.go:9171 github.com/google/gapid/gapis/service._Gapid_Get_Handler.func1
core/app/auth/auth.go:110 github.com/google/gapid/core/app/auth.ServerInterceptor.func1
bazel-out/k8-fastbuild/bin/gapis/service/linux_amd64_stripped/service_go_proto~/github.com/google/gapid/gapis/service/service.pb.go:9173 github.com/google/gapid/gapis/service._Gapid_Get_Handler
external/org_golang_google_grpc/server.go:719 google.golang.org/grpc.(*Server).processUnaryRPC
external/org_golang_google_grpc/server.go:905 google.golang.org/grpc.(*Server).handleStream
[recovered]
panic:
--- *resolve.ContextListResolvable ---
capture:<ID:data:"\\\230vL\373,\316-0\004n\002\303)-\324\215G\350" > > config:<replay_device:<ID:<data:"\033\236\201&p^\025\275I\030sH,\202.\320n\027B\245" > > >
Store():
gapis/database/database.go:50 github.com/google/gapid/gapis/database.Build
gapis/resolve/contexts.go:35 github.com/google/gapid/gapis/resolve.Contexts
gapis/resolve/resolve.go:331 github.com/google/gapid/gapis/resolve.ResolveInternal
gapis/resolve/resolve.go:293 github.com/google/gapid/gapis/resolve.ResolveService
gapis/resolve/get.go:33 github.com/google/gapid/gapis/resolve.(*GetResolvable).Resolve
gapis/database/memory.go:130 github.com/google/gapid/gapis/database.(*record).resolve
gapis/database/memory.go:222 github.com/google/gapid/gapis/database.(*memory).resolveLocked.func1
core/app/crash/crash.go:65 github.com/google/gapid/core/app/crash.Go.func1

Build() #0:
gapis/database/database.go:54 github.com/google/gapid/gapis/database.Build
gapis/resolve/contexts.go:35 github.com/google/gapid/gapis/resolve.Contexts
gapis/resolve/resolve.go:331 github.com/google/gapid/gapis/resolve.ResolveInternal
gapis/resolve/resolve.go:293 github.com/google/gapid/gapis/resolve.ResolveService
gapis/resolve/get.go:33 github.com/google/gapid/gapis/resolve.(*GetResolvable).Resolve
gapis/database/memory.go:130 github.com/google/gapid/gapis/database.(*record).resolve
gapis/database/memory.go:222 github.com/google/gapid/gapis/database.(*memory).resolveLocked.func1
core/app/crash/crash.go:65 github.com/google/gapid/core/app/crash.Go.func1

--- *resolve.GetResolvable ---
path:<contexts:<capture:<ID:data:"\\\230vL\373,\316-0\004n\002\303)-\324\215G\350" > > > > config:<replay_device:<ID:<data:"\033\236\201&p^\025\275I\030sH,\202.\320n\027B\245" > > >
Store():
gapis/database/database.go:50 github.com/google/gapid/gapis/database.Build
gapis/resolve/get.go:26 github.com/google/gapid/gapis/resolve.Get
gapis/server/server.go:328 github.com/google/gapid/gapis/server.(*server).Get
gapis/server/grpc.go:170 github.com/google/gapid/gapis/server.(*grpcServer).Get
bazel-out/k8-fastbuild/bin/gapis/service/linux_amd64_stripped/service_go_proto~/github.com/google/gapid/gapis/service/service.pb.go:9171 github.com/google/gapid/gapis/service._Gapid_Get_Handler.func1
core/app/auth/auth.go:110 github.com/google/gapid/core/app/auth.ServerInterceptor.func1
bazel-out/k8-fastbuild/bin/gapis/service/linux_amd64_stripped/service_go_proto~/github.com/google/gapid/gapis/service/service.pb.go:9173 github.com/google/gapid/gapis/service._Gapid_Get_Handler
external/org_golang_google_grpc/server.go:719 google.golang.org/grpc.(*Server).processUnaryRPC
external/org_golang_google_grpc/server.go:905 google.golang.org/grpc.(*Server).handleStream

Build() #0:
gapis/database/database.go:54 github.com/google/gapid/gapis/database.Build
gapis/resolve/get.go:26 github.com/google/gapid/gapis/resolve.Get
gapis/server/server.go:328 github.com/google/gapid/gapis/server.(*server).Get
gapis/server/grpc.go:170 github.com/google/gapid/gapis/server.(*grpcServer).Get
bazel-out/k8-fastbuild/bin/gapis/service/linux_amd64_stripped/service_go_proto~/github.com/google/gapid/gapis/service/service.pb.go:9171 github.com/google/gapid/gapis/service._Gapid_Get_Handler.func1
core/app/auth/auth.go:110 github.com/google/gapid/core/app/auth.ServerInterceptor.func1
bazel-out/k8-fastbuild/bin/gapis/service/linux_amd64_stripped/service_go_proto~/github.com/google/gapid/gapis/service/service.pb.go:9173 github.com/google/gapid/gapis/service._Gapid_Get_Handler
external/org_golang_google_grpc/server.go:719 google.golang.org/grpc.(*Server).processUnaryRPC
external/org_golang_google_grpc/server.go:905 google.golang.org/grpc.(*Server).handleStream

goroutine 592 [running]:
github.com/google/gapid/core/app/crash.Crash(0x36316a0, 0xc47048ddb0)
core/app/crash/crash.go:89 +0xa7
github.com/google/gapid/core/app/crash.handler()
core/app/crash/crash.go:56 +0x52
panic(0x36316a0, 0xc47048ddb0)
GOROOT/src/runtime/panic.go:502 +0x229
github.com/google/gapid/gapis/database.(*memory).resolvePanicHandler(0xc420368220, 0x427b860, 0xc46ff6d620)
gapis/database/debug.go:106 +0x7c8
panic(0x365d620, 0xc47048d8b0)
GOROOT/src/runtime/panic.go:502 +0x229
github.com/google/gapid/gapis/api.ForeachCmd.func1(0xc4705d7ab8, 0xc4705d7ae8)
gapis/api/cmd_foreach.go:43 +0x162
panic(0x378a280, 0xc47059d840)
GOROOT/src/runtime/panic.go:502 +0x229
github.com/google/gapid/gapis/memory.encode(0xc470599060, 0x344fe00, 0xc470599080, 0x97)
gapis/memory/write.go:85 +0xeb8
github.com/google/gapid/gapis/memory.Write(0xc470599060, 0x344fe00, 0xc470599080)
gapis/memory/write.go:26 +0x61
github.com/google/gapid/gapis/api/gles.GLbooleanˢ.Write(0xc7a9790c, 0xc7a9790c, 0x4, 0x1, 0x0, 0x427b860, 0xc470532a50, 0xc47059591c, 0x1, 0x1, ...)
bazel-out/k8-fastbuild/genfiles/gapis/api/gles/api.go:29992 +0x1cd
github.com/google/gapid/gapis/api/gles.GLbooleanˢ.MustWrite(0xc7a9790c, 0xc7a9790c, 0x4, 0x1, 0x0, 0x427b860, 0xc470532a50, 0xc47059591c, 0x1, 0x1, ...)
bazel-out/k8-fastbuild/genfiles/gapis/api/gles/api.go:30002 +0xd5
github.com/google/gapid/gapis/api/gles.subGetStateVariable_GLboolean(0x427b860, 0xc470532a50, 0x429c560, 0xc46fd489c0, 0x1d8, 0xc46fd4ac00, 0xc46fe9ae00, 0xc46fc9c870, 0xc807e970, 0x0, ...)
bazel-out/k8-fastbuild/genfiles/gapis/api/gles/mutate.go:10511 +0x9c89
github.com/google/gapid/gapis/api/gles.(*GlGetBooleanv).Mutate(0xc46fd489c0, 0x427b860, 0xc470532a50, 0x1d8, 0xc46fe9ae00, 0x0, 0x0, 0xc421c9d9c0)
bazel-out/k8-fastbuild/genfiles/gapis/api/gles/mutate.go:41139 +0x226
github.com/google/gapid/gapis/resolve.(*ContextListResolvable).Resolve.func1(0x427b860, 0xc470532a50, 0x1d8, 0x429c560, 0xc46fd489c0, 0x0, 0x0)
gapis/resolve/contexts.go:104 +0xa5
github.com/google/gapid/gapis/api.ForeachCmd(0x427b860, 0xc4705325d0, 0xc46fe44000, 0x8fb, 0xa00, 0xc47067ddc8, 0x0, 0x0)
gapis/api/cmd_foreach.go:50 +0x23e
github.com/google/gapid/gapis/resolve.(*ContextListResolvable).Resolve(0xc46ff6d530, 0x427b860, 0xc46ff6d770, 0xc46ff6d6b0, 0xc4204f7f18, 0x2, 0x2)
gapis/resolve/contexts.go:103 +0x1e7
github.com/google/gapid/gapis/database.(*record).resolve(0xc46fe8f620, 0x427b860, 0xc46ff6d6b0, 0x0, 0x0)
gapis/database/memory.go:130 +0x228
github.com/google/gapid/gapis/database.(*memory).resolveLocked.func1()
gapis/database/memory.go:222 +0xcc
github.com/google/gapid/core/app/crash.Go.func1(0xc46ff6d5c0)
core/app/crash/crash.go:65 +0x43
created by github.com/google/gapid/core/app/crash.Go
core/app/crash/crash.go:63 +0x3f

@ben-clayton ben-clayton self-assigned this Sep 11, 2018
ben-clayton added a commit to ben-clayton/gapid that referenced this issue Sep 11, 2018
ben-clayton added a commit that referenced this issue Sep 11, 2018
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