Skip to content
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

SIGILL on arm64 #51591

Closed
rmacnak-google opened this issue Mar 1, 2023 · 1 comment
Closed

SIGILL on arm64 #51591

rmacnak-google opened this issue Mar 1, 2023 · 1 comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. gardening

Comments

@rmacnak-google
Copy link
Contributor

The tests

vm/dart/heapsnapshot_cli_test Crash (expected Pass)

are failing on configurations

vm-linux-release-arm64
===== CRASH =====
si_signo=Illegal instruction(4), si_code=1, si_addr=0xffffbea8e000
version=3.0.0-edge.08b57e0457dce32606fa82af96863488b1e43804 (be) (Wed Mar 1 10:24:24 2023 +0000) on "linux_arm64"
pid=2913, thread=3041, isolate_group=main(0xaaab22c6c000), isolate=(nil)((nil))
os=linux, arch=arm64, comp=no, sim=no
isolate_instructions=aaaae78f49c0, vm_instructions=aaaae78f49c0
fp=ffffaea7d580, sp=ffffaea7d580, pc=ffffbea8e000
  pc 0x0000ffffbea8e000 fp 0x0000ffffaea7d580 Unknown symbol
  pc 0x0000aaaae7a45684 fp 0x0000ffffaea7d5c0 dart::IsolateGroup::VisitWeakPersistentHandles(dart::HandleVisitor*)+0x5c
  pc 0x0000aaaae7b91d98 fp 0x0000ffffaea7d670 dart::GCMarker::IterateWeakRoots(dart::Thread*)+0xe4
  pc 0x0000aaaae7b93f70 fp 0x0000ffffaea7d720 out/ReleaseXARM64/dart+0x2388f70
  pc 0x0000aaaae7b941d8 fp 0x0000ffffaea7d770 out/ReleaseXARM64/dart+0x23891d8
  pc 0x0000aaaae7b6c7c0 fp 0x0000ffffaea7d800 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x144
  pc 0x0000aaaae7b6cb98 fp 0x0000ffffaea7d860 dart::ThreadPool::Worker::Main(unsigned long)+0x84
  pc 0x0000aaaae7af63f0 fp 0x0000ffffaea7d920 out/ReleaseXARM64/dart+0x22eb3f0
  pc 0x0000ffffbea2a088 fp 0x0000ffffaea7d950 /lib/aarch64-linux-gnu/libpthread.so.0+0x7088
-- End of DumpStackTrace

Weirdly the address looks like it's in libc?

@rmacnak-google rmacnak-google added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. gardening crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. labels Mar 1, 2023
@rmacnak-google
Copy link
Contributor Author

I cannot reproduce on ARM64 Ubuntu 22.04.

copybara-service bot pushed a commit that referenced this issue May 11, 2023
TEST=pkg/mmap, local qemu
Bug: #52333
Bug: #51591
Change-Id: I939f225b2e0e08a20a07cd7bf3147b2ad8a737c8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/302453
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
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, and the AOT and JIT backends. crash Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash. gardening
Projects
None yet
Development

No branches or pull requests

1 participant