-
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
vm/dart/use_dwarf_stack_traces_flag_test
fails on AOT bots
#50286
Comments
Today it seems this test started failing again. Though running it locally seems to pass. Maybe there is something not quite deterministic in this test? The specific place it fails is when comparing virtual addresses to be matching across runs. Are those virtual addresses relative to dso base or actual runtime virtual addresses (which may not match across runs due to ASLR)? |
Those should be relocated addresses, IIRC, e.g., relative to the DSO base. That's what's confusing to me, as that calculation shouldn't be non-deterministic, since the comparisons that are failing are only run when we're compiling directly to ELF, in which case we control the relocated addresses and thus they should be the same in both separate debugging info and the snapshot. I'll take a look at this again in a bit. However, I might just remove the checks entirely, since we never actually end up using the |
Seeing a failure on vm-kernel-precomp-win-debug-x64c today as well. The fact that it only seems to be happening on compressed pointer architectures is interesting, and might be the clue to figuring this out. It's my gardening day, so I'll allocate cycles to pinning this down. |
Note that this does seem to be somewhat flaky, as |
vm/dart_2/use_dwarf_stack_traces_flag_test
fails on dartkp-linux-debug-x64cvm/dart/use_dwarf_stack_traces_flag_test
fails on AOT bots
It is also flaky on several other AOT bots: https://dart-current-results.web.app/#/filter=vm/dart/use_dwarf_stack_traces_flag_test&showAll |
Historically, it has been flipping between |
I think I've figured out why this is happening while working on CL 362380. It looks like sometimes the call info for the address returned by I'll take a look and see which part is at fault: the VM runtime for returning an address that shouldn't be within the stub or the generated DWARF for not appropriately capturing the proper address range for the stub. |
There are new test failures on Enable overridden_fields in analyzer/....Resolve RecordPattern(s)..
The tests
are failing on configurations
Strangely enough, the bisection points to a5ad599, which is completely unrelated. Will continue looking into this, but approving for now, especially since the failure doesn't cause any issues in using the
native_stack_traces
package to decode dwarf stack traces since all the other tests using this functionality passes. This is just failing while testing something I thought would be an invariant that perhaps isn't as much of one as I thought.The text was updated successfully, but these errors were encountered: