VM Crash: Integer shift behaves unexpected #16633
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
closed-obsolete
Closed as the reported issue is no longer relevant
needs-info
We need additional information from the issue author (auto-closed after 14 days if no response)
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
This issue was originally filed by mugadr.m@gmail.com
What steps will reproduce the problem?
I havent found a way to reproduce the error in a new project, but this is the code the error appears (see information below for different versions):
http://pastebin.com/LCN7afVc (lines 64 to 68)
What is the expected output? What do you see instead?
No output. I get a crash in dartium 'Aw, snap! Something went wrong while displaying this webpage.'. No exception is thrown (even with dart editor set to break on all exceptions).
What version of the product are you using? On what operating system?
Dart Editor 1.1.1, Dart SDK 1.1.1
Please provide any additional information below.
Essentially the problem could have been narrowed down the following line:
int a = 0xFF;
If i use this the browser crashes. If i use int a = 0xFF.toInt(); it all works well. Also if I use something like int a = 63; everything is fine. But as soon as a is > 63 dartium/chromium crashes. Adding a toInt() solves the problem.
I could send the entire project but id like to not post it in public. I'll also try to reproduce the error in another project.
The text was updated successfully, but these errors were encountered: