Skip to content

Instantly share code, notes, and snippets.

@codebutler
Created January 30, 2022 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codebutler/92539e14f46bc460a6cd695b801e946a to your computer and use it in GitHub Desktop.
Save codebutler/92539e14f46bc460a6cd695b801e946a to your computer and use it in GitHub Desktop.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x104665e94]
goroutine 34 [running]:
google.golang.org/protobuf/types/dynamicpb.(*Message).Descriptor(0x0)
/Users/eric/Sources/go-protobuf/types/dynamicpb/dynamic.go:109 +0x4
google.golang.org/protobuf/internal/impl.Export.MessageDescriptorOf({}, {0x1047cc020, 0x0})
/Users/eric/Sources/go-protobuf/internal/impl/api_export.go:156 +0x60
github.com/golang/protobuf/proto.MessageName({0x10bb9bdf0, 0x0})
/Users/eric/Sources/go-protobuf-old/proto/registry.go:271 +0x68
github.com/golang/protobuf/proto.RegisteredExtensions({0x10bb9bdf0, 0x0})
/Users/eric/Sources/go-protobuf-old/proto/registry.go:296 +0x30
google.golang.org/grpc/reflection.(*serverReflectionServer).allExtensionNumbersForType(0x140003dee40, {0x1047f97f0, 0x1047a7f80})
/Users/eric/go/pkg/mod/google.golang.org/grpc@v1.43.0/reflection/serverreflection.go:274 +0xb4
google.golang.org/grpc/reflection.(*serverReflectionServer).allExtensionNumbersForTypeName(0x140003dee40, {0x1400032a060, 0x1b})
/Users/eric/go/pkg/mod/google.golang.org/grpc@v1.43.0/reflection/serverreflection.go:390 +0x5c
google.golang.org/grpc/reflection.(*serverReflectionServer).ServerReflectionInfo(0x140003dee40, {0x1047f51c8, 0x140001390b0})
/Users/eric/go/pkg/mod/google.golang.org/grpc@v1.43.0/reflection/serverreflection.go:459 +0x218
google.golang.org/grpc/reflection/grpc_reflection_v1alpha._ServerReflection_ServerReflectionInfo_Handler({0x1047ba980, 0x140003dee40}, {0x1047f1c88, 0x1400011a0a0})
/Users/eric/go/pkg/mod/google.golang.org/grpc@v1.43.0/reflection/grpc_reflection_v1alpha/reflection_grpc.pb.go:98 +0xa4
github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus.StreamServerInterceptor.func1({0x1047ba980, 0x140003dee40}, {0x1047f1da8, 0x1400014e000}, 0x140001120c0, 0x1047df078)
/Users/eric/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/logging/logrus/server_interceptors.go:61 +0x1dc
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1.1.1({0x1047ba980, 0x140003dee40}, {0x1047f1da8, 0x1400014e000})
/Users/eric/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:49 +0x58
github.com/grpc-ecosystem/go-grpc-middleware.ChainStreamServer.func1({0x1047ba980, 0x140003dee40}, {0x1047f1da8, 0x1400014e000}, 0x140001120c0, 0x1047df078)
/Users/eric/go/pkg/mod/github.com/grpc-ecosystem/go-grpc-middleware@v1.3.0/chain.go:58 +0xc4
google.golang.org/grpc.(*Server).processStreamingRPC(0x140002df500, {0x1047f5488, 0x1400036c820}, 0x14000146000, 0x140003f0390, 0x104ad6ac0, 0x0)
/Users/eric/go/pkg/mod/google.golang.org/grpc@v1.43.0/server.go:1547 +0xf10
google.golang.org/grpc.(*Server).handleStream(0x140002df500, {0x1047f5488, 0x1400036c820}, 0x14000146000, 0x0)
/Users/eric/go/pkg/mod/google.golang.org/grpc@v1.43.0/server.go:1620 +0x9ec
google.golang.org/grpc.(*Server).serveStreams.func1.2(0x140003e2870, 0x140002df500, {0x1047f5488, 0x1400036c820}, 0x14000146000)
/Users/eric/go/pkg/mod/google.golang.org/grpc@v1.43.0/server.go:921 +0x94
created by google.golang.org/grpc.(*Server).serveStreams.func1
/Users/eric/go/pkg/mod/google.golang.org/grpc@v1.43.0/server.go:919 +0x1f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment