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

[Bug]: writeField5 panic #610

Open
yaolinger opened this issue Oct 10, 2022 · 0 comments
Open

[Bug]: writeField5 panic #610

yaolinger opened this issue Oct 10, 2022 · 0 comments
Labels

Comments

@yaolinger
Copy link

yaolinger commented Oct 10, 2022

What happened?

(dlv) bt
0 0x0000000000468d41 in runtime.raise
at /usr/local/go/src/runtime/sys_linux_amd64.s:168
1 0x0000000000465320 in runtime.systemstack_switch
at /usr/local/go/src/runtime/asm_amd64.s:436
2 0x00000000004375d0 in runtime.fatalthrow
at /usr/local/go/src/runtime/panic.go:1044
3 0x0000000000437391 in runtime.throw
at /usr/local/go/src/runtime/panic.go:992
4 0x000000000044cb85 in runtime.sigpanic
at /usr/local/go/src/runtime/signal_unix.go:825
5 0x00000000009304f6 in github.com/uber/jaeger-client-go/thrift-gen/jaeger.(*Tag).writeField5
at ./vendor/github.com/uber/jaeger-client-go/thrift-gen/jaeger/jaeger.go:459
6 0x000000000092f875 in github.com/uber/jaeger-client-go/thrift-gen/jaeger.(*Tag).Write
at ./vendor/github.com/uber/jaeger-client-go/thrift-gen/jaeger/jaeger.go:400
7 0x00000000009381a5 in github.com/uber/jaeger-client-go/thrift-gen/jaeger.(*Span).writeField10
at ./vendor/github.com/uber/jaeger-client-go/thrift-gen/jaeger/jaeger.go:1470
8 0x00000000009366fc in github.com/uber/jaeger-client-go/thrift-gen/jaeger.(*Span).Write
at ./vendor/github.com/uber/jaeger-client-go/thrift-gen/jaeger/jaeger.go:1351
9 0x000000000093caa5 in github.com/uber/jaeger-client-go/thrift-gen/jaeger.(*Batch).writeField2
at ./vendor/github.com/uber/jaeger-client-go/thrift-gen/jaeger/jaeger.go:2117
10 0x000000000093c477 in github.com/uber/jaeger-client-go/thrift-gen/jaeger.(*Batch).Write
at ./vendor/github.com/uber/jaeger-client-go/thrift-gen/jaeger/jaeger.go:2088
11 0x0000000000947b73 in github.com/uber/jaeger-client-go/thrift-gen/agent.(*AgentEmitBatchArgs).writeField1
at ./vendor/github.com/uber/jaeger-client-go/thrift-gen/agent/agent.go:381
12 0x000000000094796c in github.com/uber/jaeger-client-go/thrift-gen/agent.(*AgentEmitBatchArgs).Write
at ./vendor/github.com/uber/jaeger-client-go/thrift-gen/agent/agent.go:369
13 0x0000000000925255 in github.com/uber/jaeger-client-go/thrift.(*TStandardClient).Send
at ./vendor/github.com/uber/jaeger-client-go/thrift/client.go:47
14 0x00000000009259f1 in github.com/uber/jaeger-client-go/thrift.(*TStandardClient).Call
at ./vendor/github.com/uber/jaeger-client-go/thrift/client.go:92
15 0x00000000009466e3 in github.com/uber/jaeger-client-go/thrift-gen/agent.(*AgentClient).EmitBatch
at ./vendor/github.com/uber/jaeger-client-go/thrift-gen/agent/agent.go:87
16 0x000000000094a119 in github.com/uber/jaeger-client-go/utils.(*AgentClientUDP).EmitBatch
at ./vendor/github.com/uber/jaeger-client-go/utils/udp_client.go:135
17 0x00000000009699ae in github.com/uber/jaeger-client-go.(*udpSender).Flush
at ./vendor/github.com/uber/jaeger-client-go/transport_udp.go:159
18 0x000000000095a48f in github.com/uber/jaeger-client-go.(*remoteReporter).processQueue.func1
at ./vendor/github.com/uber/jaeger-client-go/reporter.go:286
19 0x000000000095a3e2 in github.com/uber/jaeger-client-go.(*remoteReporter).processQueue
at ./vendor/github.com/uber/jaeger-client-go/reporter.go:298
20 0x0000000000959dc6 in github.com/uber/jaeger-client-go.NewRemoteReporter.func1
at ./vendor/github.com/uber/jaeger-client-go/reporter.go:237
21 0x0000000000467401 in runtime.goexit
at /usr/local/go/src/runtime/asm_amd64.s:1571
(dlv) frame 5

runtime.raise() /usr/local/go/src/runtime/sys_linux_amd64.s:168 (PC: 0x468d41)
Warning: debugging optimized function
Frame 5: ./vendor/github.com/uber/jaeger-client-go/thrift-gen/jaeger/jaeger.go:459 (PC: 9304f6)
Warning: listing may not match stale executable
454:
455: func (p *Tag) writeField5(ctx context.Context, oprot thrift.TProtocol) (err error) {
456: if p.IsSetVBool() {
457: if err := oprot.WriteFieldBegin(ctx, "vBool", thrift.BOOL, 5); err != nil {
458: return thrift.PrependError(fmt.Sprintf("%T write field begin error 5:vBool: ", p), err) }
=> 459: if err := oprot.WriteBool(ctx, bool(*p.VBool)); err != nil {
460: return thrift.PrependError(fmt.Sprintf("%T.vBool (5) field write error: ", p), err) }
461: if err := oprot.WriteFieldEnd(ctx); err != nil {
462: return thrift.PrependError(fmt.Sprintf("%T write field end error 5:vBool: ", p), err) }
463: }
464: return err
(dlv)

@yaolinger yaolinger added the bug label Oct 10, 2022
@yaolinger yaolinger reopened this Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant