Sentry could not resolve the “abort” exception,I have uploaded the Debug Symbols Successful (flutter packages pub run sentry_dart_plugin)
WangQiangQuan opened this issue · 21 comments
Platform
Flutter Mobile
Obfuscation
Enabled
Debug Info
Enabled
Doctor
Flutter (Channel stable, 3.3.1, on macOS 12.6 21G115 darwin-arm (Rosetta),
Version
7.7.0
Steps to Reproduce
Run flutter build apk before executing the sentry_dart_plugin plugin.
refer to: https://docs.sentry.io/platforms/flutter/upload-debug/
Expected Result
flutter Correct stack
Actual Result
libc++
+0x04a11c
libc++
+0x04a25c
libc++
+0x04afa0
libc++
+0x04af24
std::terminate
libc++
+0x0a4770
std::__1:🧵:~thread
libc
+0x0f9124
__cxa_finalize
libc
+0x0eb4b8
exit
libflutter
+0x63174c
libflutter
+0x633348
libflutter
+0x6eff00
libflutter
+0x6efc94
libapp
+0x317084
_kDartVmSnapshotInstructions
libapp
+0x5a7860
_kDartIsolateSnapshotInstructions
libapp
+0x5a780c
_kDartIsolateSnapshotInstructions
libapp
+0x5a75e4
_kDartIsolateSnapshotInstructions
libapp
+0x868da8
_kDartIsolateSnapshotInstructions
libapp
+0x6b1ebc
_kDartIsolateSnapshotInstructions
libapp
+0x63cf30
_kDartIsolateSnapshotInstructions
libapp
+0x7e53f4
_kDartIsolateSnapshotInstructions
libapp
+0x749254
_kDartIsolateSnapshotInstructions
libapp
+0x7a174c
_kDartIsolateSnapshotInstructions
libapp
+0x447398
_kDartIsolateSnapshotInstructions
libapp
+0x447124
_kDartIsolateSnapshotInstructions
libapp
+0x360bf0
_kDartIsolateSnapshotInstructions
libapp
+0x3607cc
_kDartIsolateSnapshotInstructions
libapp
+0x3606c4
_kDartIsolateSnapshotInstructions
libapp
+0x360208
_kDartIsolateSnapshotInstructions
libapp
+0x4ab680
_kDartIsolateSnapshotInstructions
libapp
+0x4ab56c
_kDartIsolateSnapshotInstructions
libapp
+0x32ffc4
_kDartIsolateSnapshotInstructions
libapp
+0x32fef8
_kDartIsolateSnapshotInstructions
libapp
+0x32fe70
_kDartIsolateSnapshotInstructions
libapp
+0x316d7c
_kDartVmSnapshotInstructions
libflutter
+0x6cbd14
libflutter
+0x804908
libflutter
+0x5a0000
libflutter
+0x5a22ec
libflutter
+0x5ae734
libflutter
+0x3460cc
libflutter
+0x349658
libutils
+0x0181a8
android::Looper::pollInner
libutils
+0x017d1c
android::Looper::pollOnce
libandroid
+0x018598
ALooper_pollOnce
libflutter
+0x349764
libflutter
+0x347d8c
libc
+0x0f55c8
libc
+0x08efbc
Are you willing to submit a PR?
None
Hi,
thank you for the message, we will take a look into it. Due to ongoing conferences, the response time might be slower.
okey krystofwoldrich
If there is any progress, please feel free to contact me.
thank you!
@WangQiangQuan Could you share a code snippet on how to reproduce the error? That would help us with debugging.
@krystofwoldrich
sorry,I don't know how to reproduce this error.
because The purpose of using sentry is to find out what the problem is and solve it
@WangQiangQuan can you share your SDK init code snippet and the command you use to build your app and run the dart plugin?
Also, can you share the sentry
config in your pubspec
file? remove the tokens etc of course :)
Also, is this Android your iOS? look at this as well https://docs.sentry.io/platforms/flutter/troubleshooting/#native-symbolication-on-iosmacos
@marandaneto
I share a list of your questions below:
1: My SDK init code is like this
void main() {
const String flutterDSN = “my DSN”;
String env = "Dev";
await SentryFlutter.init(
(options) {
options.dsn = flutterDSN;
options.environment = env;
options.sampleRate = 1.0;
options.attachScreenshot = true;
options.screenshotQuality = SentryScreenshotQuality.medium;
options.attachViewHierarchy = true;
},
appRunner: () {
...
},
);
}
2 : the command I use to build My app and run the dart plugin is
flutter build apk
And
flutter packages pub run sentry_dart_plugin
3: pubspec file is
sentry:
upload_debug_symbols: true
upload_source_maps: false
upload_sources: false
project: home-edu
org: sentry
auth_token: (my token)
url: http://sentry.staff.xdf.cn
wait_for_processing: false
log_level: error
commits: auto
ignore_missing: true
4: this problem is found on android device
@WangQiangQuan https://docs.sentry.io/platforms/flutter/upload-debug/#when-to-upload
You don't even need to upload debug symbols if you are not using split-debug-info
.
Not sure whats your problem is about, can you share a link to an issue on sentry.io so I can take a look?
sentry.staff.xdf.cn/organizations/sentry/issues/81000/?project=51&query=is%3Aunresolved&statsPeriod=14d
I don't have access to your self-hosted version.
Can you try to do the very same thing on sentry.io (you can create an organization test).
@WangQiangQuan The screenshot didn't upload via the email response.
@krystofwoldrich Please give me an email address and I'll send the screenshot
@WangQiangQuan Can you upload it here? That would be better to keep all the context in one place.
@WangQiangQuan sorry the information you've given isn't enough to debug this, your sentry access is self-hosted so we cannot check the metadata, can you provide a minimal reproducible example? otherwise, we can't reproduce it.
I don't know how to reproduce this, can you tell me how to get the metadata, and I'll get it from the self-hosted and give it to you
@WangQiangQuan #136
Please try this feature on sentry.io first, so I have access to the metadata.
I haven't scheduled to put it on sentry.io recently, is there any other way to solve this problem?
I haven't scheduled to put it on sentry.io recently, is there any other way to solve this problem?
I haven't scheduled to put it on sentry.io recently, is there any other way to solve this problem?
No, I really need to dig into the metadata to check if this is something on our end.
Please provide a sentry.io issue link or a minimal reproducible example.
Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated.
Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it.
Cheers!