Skip to content

.Net-Android - <unknown> SIGSEGV Segfaults #3898

@IainS1986

Description

@IainS1986

We've only recently integrated Sentry into our project as a replacement for AppCenter.

We are not a MAUI project, we are just a straight .net-android and .net-ios native projects.

While testing internally, we are seeing a fair few android SIGSEGV errors coming through which show little to no real information for tracking down. I'm wondering if theres a symbolication issue we haven't got setup properly and wonder if theres some guidance on that.

The sorts of stack traces we are getting are...

OS Version: Android 14 (UKQ1.231108.001 release-keys)
Report Version: 104

Exception Type: Unknown (SIGSEGV)

Application Specific Information:
Segfault

Thread 0 Crashed:
0   libmonosgen-2.0.so              0x7d9b7e8efc        <unknown> + 539479674620
1   <unknown>                       0x7e07349ff0        <unknown>

Or

OS Version: Android 14 (AP2A.240605.024)
Report Version: 104

Exception Type: Unknown (SIGSEGV)

Application Specific Information:
Segfault

Thread 0 Crashed:
0   split_config.arm64_v8a.apk      0x77ad1a0efc        <unknown> + 514005274364
1   <unknown>                       0x1                 <unknown>

With the image viewer showing missing images...

Image

Image

The breadcrumbs show some in similar 'places' but theres also a bit of a random array of times the crashes appeared to occur.

There also seem to be more happening than people are really reporting too me.

Is there anyway to get more information for these stack traces?
We upload the mappings.txt file for proguard, but we don't upload symbolication symbols. Where would they 'be' once built and how do we upload them?

We do all our uploading via DevOps and the API - so I'm assuming we would upload something like so,
'sentry-cli debug-files upload -o $(sentry.org.slug) -p $(sentry.project.android) $(Pipeline.Workspace)/$(artifact.name)/somesymbolfile'

But I'm not 100% on what symbol files there are than can be uploaded.

Metadata

Metadata

Labels

BugSomething isn't working

Projects

Status

Done

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions