dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.26k stars 1.58k forks source link

list.setRange crashes occasionally #786

Closed DartBot closed 9 years ago

DartBot commented 12 years ago

This issue was originally filed by jgmath...@gmail.com


myList.setRange(....) function is broken. We created a wrapper where we can switch between using setRange and manually copying elements with a for loop, and when using setRange we randomly get crashes in the setRange function.

Check out Util.dart in http://code.google.com/p/super-dartendo/ for details.

dgrove commented 12 years ago

Is this with dartc, frog, or the VM?

DartBot commented 12 years ago

This comment was originally written by drfibonacci@google.com


Please provide more info and I'll reopen this.


Added Invalid label.

DartBot commented 12 years ago

This comment was originally written by jgmath2000...@gmail.com


Sorry for the delay.

The bug is with frog. If you change the function in Util.dart that uses a for loop instead of setRange and run, you will get crashes.