Closed Donghui0 closed 3 months ago
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
@Donghui0 Which version skywalking-go
sdk you used?
@Donghui0 Which version
skywalking-go
sdk you used?
use v0.3.0
@Donghui0 hi, from your logs pasted, skywalkingreceiver
use skywalking.apache.org/repo/goapi v0.0.0-20231026090926-09378dd56587
in otel col contrib 0.90.1
, but your skywalking-go-sdk
use 20230314034821
, I'm not sure if it's a version problem, because I haven't gone to self-study yet.
otel col contrib main
upgrade goapi v0.0.0-20240104145220-ba7202308dd4
, I will replicate and fix it based on the latest code.
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Component(s)
receiver/skywalking
What happened?
Description
Sporadic panic problem: panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x1d pc=0x884742]
goroutine 68 [running]: google.golang.org/protobuf/internal/impl.sizeMessageSliceInfo({0x269?}, 0xc00e220748, {0xf0?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/codec_field.go:472 +0x42 google.golang.org/protobuf/internal/impl.(MessageInfo).sizePointerSlow(0xc000366e58, {0x20000000000001e?}, {0x3?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:79 +0xd9 google.golang.org/protobuf/internal/impl.(MessageInfo).sizePointer(0xc00a76adc0?, {0xc00cb22320?}, {0x58?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:56 +0x76 google.golang.org/protobuf/internal/impl.sizeMessageSliceInfo({0x200000000419dcb?}, 0xc00151ee60, {0x84?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/codec_field.go:473 +0x55 google.golang.org/protobuf/internal/impl.(MessageInfo).sizePointerSlow(0xc000366d10, {0xc000046077?}, {0x76?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:79 +0xd9 google.golang.org/protobuf/internal/impl.(MessageInfo).sizePointer(0x284?, {0xd?}, {0x80?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:56 +0x76 google.golang.org/protobuf/internal/impl.sizeMessageSliceInfo({0x7efedb8ab1b8?}, 0xc000295990, {0x68?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/codec_field.go:473 +0x55 google.golang.org/protobuf/internal/impl.(MessageInfo).sizePointerSlow(0xc000366a80, {0xc009e61a68?}, {0x80?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:79 +0xd9 google.golang.org/protobuf/internal/impl.(MessageInfo).sizePointer(0xc009e61ad8?, {0x9?}, {0x80?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:56 +0x76 google.golang.org/protobuf/internal/impl.(MessageInfo).size(0x40802d?, {{}, {0x286dcb8?, 0xc00bbf7950?}, 0x5?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/internal/impl/encode.go:40 +0x52 google.golang.org/protobuf/proto.MarshalOptions.marshal({{}, 0x50?, 0x0, 0x0}, {0x0, 0x0, 0x0}, {0x286dcb8, 0xc00bbf7950}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/proto/encode.go:156 +0x142 google.golang.org/protobuf/proto.MarshalOptions.MarshalAppend({{}, 0x60?, 0x63?, 0x1e?}, {0x0, 0x0, 0x0}, {0x285a880?, 0xc00bbf7950?}) /data/repo_cache/golang/mod/google.golang.org/protobuf@v1.30.0/proto/encode.go:125 +0x79 github.com/golang/protobuf/proto.marshalAppend({0x0, 0x0, 0x0}, {0x7efeb03f7900?, 0xc00bbf7950?}, 0x80?) /data/repo_cache/golang/mod/github.com/golang/protobuf@v1.5.3/proto/wire.go:40 +0xa5 github.com/golang/protobuf/proto.Marshal(...) /data/repo_cache/golang/mod/github.com/golang/protobuf@v1.5.3/proto/wire.go:23 google.golang.org/grpc/encoding/proto.codec.Marshal({}, {0x21e6360, 0xc00bbf7950}) /data/repo_cache/golang/mod/google.golang.org/grpc@v1.55.0/encoding/proto/proto.go:45 +0x4e google.golang.org/grpc.encode({0x7efedb8b28f8?, 0x3952e88?}, {0x21e6360?, 0xc00bbf7950?}) /data/repo_cache/golang/mod/google.golang.org/grpc@v1.55.0/rpc_util.go:632 +0x44 google.golang.org/grpc.prepareMsg({0x21e6360?, 0xc00bbf7950?}, {0x7efedb8b28f8?, 0x3952e88?}, {0x0, 0x0}, {0x0, 0x0}) /data/repo_cache/golang/mod/google.golang.org/grpc@v1.55.0/stream.go:1754 +0xd2 google.golang.org/grpc.(clientStream).SendMsg(0xc00ca3e900, {0x21e6360, 0xc00bbf7950}) /data/repo_cache/golang/mod/google.golang.org/grpc@v1.55.0/stream.go:875 +0x1b5 skywalking.apache.org/repo/goapi/collect/language/agent/v3.(traceSegmentReportServiceCollectClient).Send(0x2863028?, 0x2863098?) /data/repo_cache/golang/mod/skywalking.apache.org/repo/goapi@v0.0.0-20230314034821-0c5a44bb767a/collect/language/agent/v3/Tracing_grpc.pb.go:61 +0x2b github.com/apache/skywalking-go/agent/reporter.(gRPCReporter).initSendPipeline.func1() grpc.go:323 +0x1eb created by github.com/apache/skywalking-go/agent/reporter.(*gRPCReporter).initSendPipeline grpc.go:305 +0x6
Steps to Reproduce
Occasional problems.
Collector version
0.90.1 (09b5ec2)
Environment information
Environment
OS: centos7 Compiler(if manually compiled): 1.20.1
OpenTelemetry Collector configuration
Log output
Additional context
No response