-
Notifications
You must be signed in to change notification settings - Fork 417
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
Crash in OLTP HTTP export #2713
Comments
What's your version of otel-cpp and do you enable async exporting? |
@owent - 1.15, haven't enabled async exporting... is async export still in preview in 1.15? |
gRPC async exporting is still in preview. |
Does this problem happens when shuting down? Do you compile both otel-cpp and proto as dynamic library?Just wondering why the destructor of |
It's HTTP exporter, and proto is from yum install. We're investigating if it's memory corruption from somewhere else. |
Do you mean protobuf? I reviewed the codes and found the messages and arena will not leave the scope of |
I found another crash in #2982 when using metrics and timeout happens. Not sure if it relates this one. |
Is there any solutions for this? I'm also facing this SIGSEV. Using |
@msiddhu Are you getting this crash during application shutdown? If yes, does doing ForceFlush() before shutdown helps? |
@msiddhu Thanks for the separate confirmation. Do you have more details, like a call stack ? Saying "it crashes for me too" gives us next to nothing to work with. |
The part which is really dubious is:
Is this about OTLP HTTP or OLTP GRPC ? |
@michalpristas Could you try main branch or #2983 ? Some |
We have not observed this crash after removing patch mentioned in #2382 The build failure ultimately boiled down to someone having done |
Describe your environment
Built and running on linux,
Protobuf version installed - 3.17.3
Steps to reproduce
Don't have exact steps to reproduce, happens intermittently.
Backtrace
Additional Info
Crash appears to be on destruction of arena object in,
https://github.com/open-telemetry/opentelemetry-cpp/blob/main/exporters/otlp/src/otlp_http_exporter.cc#L102
It's not apparent why this might happen... any help will be appreciated.
The text was updated successfully, but these errors were encountered: