-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
crashpad_handler socket transport not working on some Linux systems #773
Comments
Thanks for the report! I believe a libcurl based transport was added at some later point after we adopted the socket transport (which btw needed patching in itself). As we already depend on libcurl for sentrys own downloader, I believe its fair to extend that dependency to our crashpad fork as well. |
Thanks, that would be highly appreciated or at least if there would be an option to choose between socket transport and curl transport, because crashpad is not our direct dependency and due to that we don't have any reasonable way right now to fix the issue on our end without risking the loss of the patch with next sentry update. |
as per description and comments on: getsentry/sentry-native#773
I confirm this is fixed in 0.5.4, tested on linux and mac with the curl transport. |
@bsergean, I am trying to understand what you mean. The fix wasn't released with 0.5.4. |
Od, I was able to see crashes reported with 0.5.4. Maybe the compilation was still picking up the breakpad compilation ?
Is that fix available in a branch for me to test ?
… On Jan 30, 2023, at 12:34 AM, Mischan Toosarani-Hausberger ***@***.***> wrote:
@bsergean <https://github.com/bsergean>, I am trying to understand what you mean. The fix wasn't released with 0.5.4.
—
Reply to this email directly, view it on GitHub <#773 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AC2O6UMZNSH6Q73WWW2JIADWU54IBANCNFSM6AAAAAASQZVQAI>.
You are receiving this because you were mentioned.
|
I think that regardless of the reporting, I'm running into a separate problem with crashpad, as our process don't have ptrace enabled. I think we'll have to go back to using breakpad.
|
Yes, because crashpad generally works fine on Linux. Just on some systems, it doesn't work with the socket transport. Since the curl transport seems to fix this issue and is the preferred transport on Linux by upstream, we will also make it the default. |
This is an environmental problem where something in your Linux setup (Docker, AppArmor, SELinux, ...?) prevents the |
Hi,
crashpad_handler
on linux silently fails to upload crash reports (tested with Sentry 22.11.0). More specifically it will send the report, but it will get bad request as a response. This can be fixed by usingnet/http_transport_libcurl.cc
instead of the defaultnet/http_transport_socket.cc
(see also the patch below).My dilemma is how to proceed now ? Where should I report this ? Should I report to crashpad devs ? I figured you'd want to know too, so maybe you can patch your fork of crashpad in the meantime.
The text was updated successfully, but these errors were encountered: