-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Dart generates broken debug information #47289
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
Comments
@sstrickl could you take a look at this? |
Looking at it now. |
So, looking at an example separately written debugging file:
While it looks like there's a segment with those addresses in there, the segment starts with the NOBITS |
Fix is up for review in CL 214800. |
Does this qualify for a hotfix release? |
@ueman yes, we will request a cherry-pick |
/cc @devoncarew |
If this has high impact - something we want to try and cherry pick sooner rather than later - we'll want a cp request for this asap (see the issue template at the bottom of https://github.com/dart-lang/sdk/wiki/Cherry-picks-to-a-release-channel). |
@athomas - no cherry pick for this as yet but FYI. |
Request is up: #47316 |
This ensures that the relocated addresses of sections with file contents are contained in the loaded segment. Fixes #47289 TEST=vm/dart{,_2}/use_save_debugging_info_flag Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try,vm-kernel-precomp-linux-product-x64-try,vm-kernel-precomp-linux-release-x64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-release-x64-try Change-Id: I6f7f94900ab1f9f0cb5ead4b0dd63bd2402e5a19 Fixed: 47289 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/214800 Commit-Queue: Tess Strickland <[email protected]> Reviewed-by: Slava Egorov <[email protected]>
@davidmartos96 yes, Flutter and Dart release processes are aligned |
thanks for fixing you all, I confirm it's working (Flutter 2.5.2). |
This issue was originally reported in getsentry/sentry-dart#591
flutter build apk --split-per-abi --obfuscate --split-debug-info myfolder --release --verbose
generates broken debug information since this commit 2362cd5 in Dart and since this commit flutter/flutter@f190bfb in Flutter.Source: getsentry/sentry-dart#591 (comment)
Edit: Also see getsentry/sentry-dart#591 (comment) for even more information.
The text was updated successfully, but these errors were encountered: