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

nil deref on ReplaceNameVisitor.Enter #46

Open
SOF3 opened this issue Apr 28, 2023 · 0 comments
Open

nil deref on ReplaceNameVisitor.Enter #46

SOF3 opened this issue Apr 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@SOF3
Copy link
Member

SOF3 commented Apr 28, 2023

Steps to reproduce

List trace without any filters

Click on a non-object span

Expected behavior

No response

Actual behavior

goroutine 398 [running]:
github.com/kubewharf/kelemetry/pkg/frontend/tf/step.ReplaceNameVisitor.Enter({}, {0xc0466fd800, 0xc0466fd830, 0xc0466fd860, 0xc0466fd890, 0x0}, 0x0)
        /data00/home/chankyin/go/src/github.com/kubewharf/kelemetry/pkg/frontend/tf/step/prune_tags.go:30 +0x6e
github.com/kubewharf/kelemetry/pkg/frontend/tf/tree.spanNode.visit({{0xc0466fd800, 0xc0466fd830, 0xc0466fd860, 0xc0466fd890, 0x0}, 0x0}, {0x408a578, 0x5596210})
        /data00/home/chankyin/go/src/github.com/kubewharf/kelemetry/pkg/frontend/tf/tree/tree.go:120 +0xf9
github.com/kubewharf/kelemetry/pkg/frontend/tf/tree.SpanTree.Visit(...)
        /data00/home/chankyin/go/src/github.com/kubewharf/kelemetry/pkg/frontend/tf/tree/tree.go:116
github.com/kubewharf/kelemetry/pkg/frontend/tf.(*Transformer).Transform(0xc00037bf20, 0xc042691570, 0xc04659f8f0?, 0x459836d0?)
        /data00/home/chankyin/go/src/github.com/kubewharf/kelemetry/pkg/frontend/tf/transform.go:62 +0x2c8
github.com/kubewharf/kelemetry/pkg/frontend/reader.(*spanReader).GetTrace(0xc000514d80, {0x409e6b8, 0xc04659f8f0}, {0x10?, 0xc041061458?})
        /data00/home/chankyin/go/src/github.com/kubewharf/kelemetry/pkg/frontend/reader/reader.go:176 +0x2ca
github.com/jaegertracing/jaeger/plugin/storage/grpc/shared.(*GRPCHandler).GetTrace(0xc000614020, 0xc04659f920, {0x40a6b50, 0xc041c9fe20})
        /home/chankyin/go/pkg/mod/github.com/jaegertracing/[email protected]/plugin/storage/grpc/shared/grpc_handler.go:152 +0xf6
github.com/jaegertracing/jaeger/proto-gen/storage_v1._SpanReaderPlugin_GetTrace_Handler({0x37ddcc0?, 0xc000614020}, {0x40a45c0, 0xc0410613b0})
        /home/chankyin/go/pkg/mod/github.com/jaegertracing/[email protected]/proto-gen/storage_v1/storage.pb.go:1456 +0xf9
google.golang.org/grpc.(*Server).processStreamingRPC(0xc040c24000, {0x40a9ae0, 0xc0435da9c0}, 0xc0464978c0, 0xc00051def0, 0x553e740, 0x0)
        /home/chankyin/go/pkg/mod/google.golang.org/[email protected]/server.go:1639 +0x1fe8
google.golang.org/grpc.(*Server).handleStream(0xc040c24000, {0x40a9ae0, 0xc0435da9c0}, 0xc0464978c0, 0x0)
        /home/chankyin/go/pkg/mod/google.golang.org/[email protected]/server.go:1726 +0xfaf
google.golang.org/grpc.(*Server).serveStreams.func1.2()
        /home/chankyin/go/pkg/mod/google.golang.org/[email protected]/server.go:966 +0xed
created by google.golang.org/grpc.(*Server).serveStreams.func1
        /home/chankyin/go/pkg/mod/google.golang.org/[email protected]/server.go:964 +0x4de

Kelemetry version

d8ffc85

Environment

No response

@SOF3 SOF3 added the bug Something isn't working label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant