Re: [I] [Bug] skywalking-go sdk panic [skywalking]

2024-02-26 Thread via GitHub


wu-sheng closed issue #11932: [Bug] skywalking-go sdk panic
URL: https://github.com/apache/skywalking/issues/11932


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug] skywalking-go sdk panic [skywalking]

2024-02-26 Thread via GitHub


wu-sheng commented on issue #11932:
URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963809762

   Convert to the discussion as it is not the official way to work. 
   Reach Alicloud as they suggest you to do so.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug] skywalking-go sdk panic [skywalking]

2024-02-26 Thread via GitHub


wu-sheng commented on issue #11932:
URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963806792

   Then why asking us? We don't pormise this works.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug] skywalking-go sdk panic [skywalking]

2024-02-26 Thread via GitHub


Donghui0 commented on issue #11932:
URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963804236

   > Why to open telemetry rather than OAP?
   > 
   > #11916
   > 
   > That collector is not recommended to use.
   
   This component is not used. The overall architecture is based on 
opentelmetry. It looks like:
   
![image](https://github.com/apache/skywalking/assets/7134928/934438ba-2dae-41d8-8ef9-fd97084db6ba)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug] skywalking-go sdk panic [skywalking]

2024-02-26 Thread via GitHub


wu-sheng commented on issue #11932:
URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963791055

   Why to open telemetry rather than OAP? 
   
   https://github.com/apache/skywalking/discussions/11916
   
   That collector is not recommended to use.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug] skywalking-go sdk panic [skywalking]

2024-02-26 Thread via GitHub


Donghui0 commented on issue #11932:
URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963783988

   > Could you help to adding a demo in there? It looks like a gRPC/protobuf 
error.
   
   GRPC Server is an Opentelmetry skywalking receiver.
   opentelementry:  0.90
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug] skywalking-go sdk panic [skywalking]

2024-02-26 Thread via GitHub


mrproliu commented on issue #11932:
URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963737043

   Could you help to adding a demo in there? It looks like a gRPC/protobuf 
error. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] [Bug] skywalking-go sdk panic [skywalking]

2024-02-26 Thread via GitHub


wu-sheng commented on issue #11932:
URL: https://github.com/apache/skywalking/issues/11932#issuecomment-1963720644

   I am not sure this stack is enough to tell what is the issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[I] [Bug] skywalking-go sdk panic [skywalking]

2024-02-26 Thread via GitHub


Donghui0 opened a new issue, #11932:
URL: https://github.com/apache/skywalking/issues/11932

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   Java Agent (apache/skywalking-java)
   
   ### What happened
   
   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,
 {0x21e?}, {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({0x2419dcb?},
 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,
 {0xc46077?}, {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 +0x6a
   
   ### What you expected to happen
   
   no panic. Normal operation, no impact on business.