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: ByteData access hits unaligned write on ARM #22151
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
customer-flutter
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Comments
cc @johnmccutchan. |
Apparently our ARM bots are running in the mode that permits unaligned memory access for str/ldr. Can be detected by checking if "CP15 Register c1 has a U bit set". We need to decide whether we want to always go slow case on platforms like ARM and MIPS or we could rely on this register to detect if we are running in the mode where unaligned accesses can be generated. cc @zanderso. |
fsc8000
added
Type-Defect
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
labels
Jan 26, 2015
kevmoo
added
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
and removed
accepted
labels
Feb 29, 2016
rmacnak-google
added a commit
that referenced
this issue
Jun 19, 2017
[arm64] Fix unaligned (u)int64 stores. Fix unaligned access test to use host endianness. Issue #22151 R=zra@google.com Review-Url: https://codereview.chromium.org/2940883008 .
This was referenced Sep 25, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
customer-flutter
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
I attached a regression test:
$ out/ReleaseSIMARM/dart offset.dart
Simulator hit unaligned write at 0xf68916e5, pc=0xf640fd00
0xf640fd00 e5801008 str r1, [r0, #+8]
sim>
Attachment:
offset.dart (242 Bytes)
The text was updated successfully, but these errors were encountered: