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

fix: Android - make sure logcat.log is attached to unhandled event (SIGSEGV Segfault) #3694

Open
wants to merge 42 commits into
base: main
Choose a base branch
from

Conversation

bricefriha
Copy link
Collaborator

@bricefriha bricefriha commented Oct 18, 2024

From sentry-native#1027, we had to add the handler strategy to the .NET SDK, from the sentry-java (7.15.0-alpha1).

This is also meant to fix #3461. I tested this, and it seems to be fixed now.

More context at:

Note

These changes seem to require a -alpha release

@bricefriha bricefriha changed the title Android - add handler strategy Android - implement handler strategy Oct 18, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj Outdated Show resolved Hide resolved
src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj Outdated Show resolved Hide resolved
src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj Outdated Show resolved Hide resolved
src/Sentry/NdkHandlerStrategy.cs Outdated Show resolved Hide resolved
src/Sentry/SentryOptions.cs Outdated Show resolved Hide resolved
test/Sentry.Maui.Tests/SentryMauiOptionsTests.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Android/SentrySdk.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Android/SentrySdk.cs Outdated Show resolved Hide resolved
src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj Outdated Show resolved Hide resolved
src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj Outdated Show resolved Hide resolved
src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj Outdated Show resolved Hide resolved
src/Sentry/NdkHandlerStrategy.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Android/SentrySdk.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Android/SentrySdk.cs Outdated Show resolved Hide resolved
src/Sentry/Platforms/Android/SentrySdk.cs Outdated Show resolved Hide resolved
@bricefriha bricefriha added Bug Something isn't working and removed Bug Something isn't working labels Oct 24, 2024
@bricefriha bricefriha changed the title Android - implement handler strategy fix: Android - make sure logcat.log is attached to unhandled event (SIGSEGV Segfault) Oct 29, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@jamescrosswell
Copy link
Collaborator

Requested this release that we can share with testers.

@bruno-garcia
Copy link
Member

Note: getsentry/publish#4545 (comment)

@bruno-garcia
Copy link
Member

which issue to reach out for feedback? anyone trying this out to help validate?

@jamescrosswell
Copy link
Collaborator

which issue to reach out for feedback? anyone trying this out to help validate?

See comment:

@bricefriha
Copy link
Collaborator Author

anyone trying this out to help validate?

@bruno-garcia @jamescrosswell I created a repo to test this alpha release and it works perfectly https://github.com/bricefriha/Sentry-3694

@bruno-garcia
Copy link
Member

anyone trying this out to help validate?

@bruno-garcia @jamescrosswell I created a repo to test this alpha release and it works perfectly bricefriha/Sentry-3694

Awesome! thank you for that.
Shoudl we merge?

@bricefriha
Copy link
Collaborator Author

Shoudl we merge?

We could, but the issue is that we need to use the Android SDK version 7.15.0-alpha.1 until the NDKHandler setting is available on the full release. So shouldn't we wait for that first?

@bruno-garcia
Copy link
Member

Shoudl we merge?

We could, but the issue is that we need to use the Android SDK version 7.15.0-alpha.1 until the NDKHandler setting is available on the full release. So shouldn't we wait for that first?

If it's validated, we should reach out to folks on Android to merge that to main and ship a new release.

We can merge ours (after bumping to that version) then.

Also: Should that option be the new default? So users don't need to do anything?

@bricefriha
Copy link
Collaborator Author

We can merge ours (after bumping to that version) then.

sounds good

Should that option be the new default? So users don't need to do anything?

yes it is, so basically users don't need to change anything at all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

logcat.log is not attached to unhandled event (SIGSEGV Segfault)
4 participants