-
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
Failures on dartkp-linux-debug-simriscv64 #48354
Comments
Looking more into it,
The address being odd is suspicious, so I tried adjusting Simulator::MemoryRead as follows:
and got the resulting log:
|
Adding offset from code payload start in stack traces gives:
and disassembling
|
So the problem here is that
Using This explains why sometimes it's an unaligned memory address, sometimes a bad memory address, and sometimes just a segfault without any error reporting. |
... and apparently if we get really unlucky, it runs without issue because it happens to pick a random integer to memory that decodes to instructions which don't cause an issue 😅 Adding some code that forces the random |
…n RV. In the JIT, this PP is saved and restored in stub's Dart frame. In AOT, Dart frames do not save PP because it is a global register within Dart code. On other architectures, PP is a preserved register in the C ABI. TEST=ci Bug: #48333 Bug: #48354 Change-Id: I1b6702805a6fb556a1695197e40a89c364af3f8f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232520 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
There are new test failures on [dart2js] Cleanup ImpactCacheDeleter....[release] Add 2.16.1 release notes.
The tests
are failing on configurations
Logs:
I initially tried bisecting these from the revisions for the last pass results in the history, just to narrow down where the failures began, but each test also crashes locally on my machine for its lass pass revision.
/cc @rmacnak-google
The text was updated successfully, but these errors were encountered: