| Issue 48: | Crash on Windows 7 in release mode, but not in debug mode | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
First of all, this is not a real world scenario, but it could help to unveil a hard to find bug.
I did some performance tests with long loops, they work fine if compiled in debug mode, but crashes in release mode. It seems that this depends on the iteration count, because reducing it to 10000 leads to success on my system (Windows 7). The produced surce code for the loop for debug mode and release mode is the same. Maybe this is GC-related?
class Test
{
public static function main()
{
var f = function (i:Int) return i;
var ints = [];
for (i in 0...100000) {
ints.push(f(i));
}
}
}
Aug 3, 2010
Project Member
#1
gameh...@gmail.com
Status:
Fixed
|