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

JIT-STACKTRACEEVERY crash #35395

Closed
aartbik opened this issue Dec 12, 2018 · 2 comments
Closed

JIT-STACKTRACEEVERY crash #35395

aartbik opened this issue Dec 12, 2018 · 2 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. dartfuzz Found with Dart fuzzing (DartFuzz, libFuzzer, etc.)

Comments

@aartbik
Copy link
Contributor

aartbik commented Dec 12, 2018

JIT-STACKTRACEEVERY-DebugSIMDBC64 - JIT-DEPOPTEVERY-ReleaseSIMDBC64: !DIVERGENCE! 1.2:1826901265 (output=false)

fail1:
../../runtime/vm/deopt_instructions.h: 100: error: expected: fpu_registers_ != NULL
thread=17634, isolate=fuzz.dart:main()(0x56273e8e9200)
[0x000056273ccf699c] dart::Profiler::DumpStackTrace(void*)
[0x000056273ccf699c] dart::Profiler::DumpStackTrace(void*)
-- End of DumpStackTrace

@aartbik aartbik added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. dartfuzz Found with Dart fuzzing (DartFuzz, libFuzzer, etc.) labels Dec 12, 2018
@aartbik
Copy link
Contributor Author

aartbik commented Dec 12, 2018

Note that this is a "DebugSIMDBC64" configuration.

I ran "dart --deterministic --stacktrace_every=100 fuzz1826901265.dart" and it indeed consistently crashes.

 $ {MYDART} --deterministic --stacktrace_every=100 fuzz1826901265.dart
../../runtime/vm/deopt_instructions.h: 100: error: expected: fpu_registers_ != NULL
thread=169326, isolate=fuzz1826901265.dart:main()(0x55903dc9bb00)
  [0x000055903becd99c] dart::Profiler::DumpStackTrace(void*)
  [0x000055903becd99c] dart::Profiler::DumpStackTrace(void*)
-- End of DumpStackTrace

@aartbik
Copy link
Contributor Author

aartbik commented Dec 12, 2018

fuzz1826901265.dart.txt

dart-bot pushed a commit that referenced this issue Dec 14, 2018
DBC's "FPU registers" are in fact stack slots.

Bug: #35395
Change-Id: I64f90f29b55f3f9bb0fec863e1a13c651f364ee7
Reviewed-on: https://dart-review.googlesource.com/c/87271
Reviewed-by: Aart Bik <ajcbik@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
tekknolagi pushed a commit to tekknolagi/dart-assembler that referenced this issue Nov 3, 2020
DBC's "FPU registers" are in fact stack slots.

Bug: dart-lang#35395
Change-Id: I64f90f29b55f3f9bb0fec863e1a13c651f364ee7
Reviewed-on: https://dart-review.googlesource.com/c/87271
Reviewed-by: Aart Bik <ajcbik@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. dartfuzz Found with Dart fuzzing (DartFuzz, libFuzzer, etc.)
Projects
None yet
Development

No branches or pull requests

2 participants