-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Stack traces missing frame information when using --lazy-async-stacks with --dwarf-stack-traces #41578
Comments
Taking over because I've mostly finished the fix (and checked with Clement that he hadn't already done any work on it before I switched the assignee) |
The new tests are broken on the optcounter and android bots. For the android bots, these tests should just be skipped or no-ops because the gen_snapshot doesn't occur on the device, so the debugging info would need to be copied there for them to work. That's done in CL 144562. Not sure why they're failing on the optcounter bots. There's an extra async gap, apparently. Otherwise, they match, so at least the change still gives back the expected information, but will investigate this divergence. |
An example of the latter failure:
|
We don't copy the saved debugging info over to the Android device, so these tests can't succeed. Bug: #41578 Change-Id: Ife11e31862457e7c7dba1c38f15c8c7d22eda414 Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-android-release-arm64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/144562 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>
Given that the only differences is an additional async gap between two async functions, I'm guessing this is just due to a difference in optimization due to the changed optcounter setting and isn't concerning in itself. It'd be nice to extend the test to be more lenient towards such, but since this is the only mode in which it happens and this isn't a production mode, I think it's okay to just leave it as an approved failure for now. |
See this CL for an example way to adjust our existing test of lazy async stack traces to also work with
--dwarf-stack-traces
/--save-debugging-info
for reproduction. An example run when this modification is made:Note that we're missing the expected stack information from the test once we start hitting asynchronous suspensions.
/cc @mkustermann @mraleph
The text was updated successfully, but these errors were encountered: