Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
AOT-ReleaseX64 segfault #35703
Reproduces on ToT.
Isolate (/b/s/w/itTQ5HWJ/dart_fuzzOPFNNB) AOT-ReleaseX64 - KBC-CMP-ReleaseX64: !DIVERGENCE! 1.2:3608420507 (output=false)
===== CRASH =====
The stack trace is awful on the crash, but it happens during
when generating the code for the following "CheckedSmiComparison":
Digging deeper, crashes while accessing Selector() on the static call
because the underlying call does not have ic_data()
Adding an ASSERT confirms this.
The problem may have been introduces by the unification CL (https://dart-review.googlesource.com/c/sdk/+/84433) which moved static calls into the realm of possibilities for a rewrite into a CheckedSmiComparison without proper check for ic_data().
pushed a commit
Jan 22, 2019
Thanks Martin. As for reproducing, I have a small write-up on how to do this on go/dartfuzz, but also attached (fuzz3608420507.dart as fuzz3608420507.txt) for your convenience. To reproduce
(note that the check fail is new, introduced above for more graceful failure).