Ichoran / thyme

Thyme is a microbenchmark utility for Scala. It includes Parsley, a (simple) local profiling tool.
170 stars 9 forks source link

Random crash on warmup #8

Closed non closed 11 years ago

non commented 11 years ago

During warmup I got this:

[error] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
[error]         at ichi.maths.package$Distribution$.compute$mDc$sp(package.scala:1600)
[error]         at ichi.bench.Thyme$$anonfun$8.apply$mcDI$sp(Thyme.scala:932)
[error]         at ichi.bench.Thyme$$anonfun$8.apply(Thyme.scala:919)
[error]         at ichi.bench.Thyme$$anonfun$8.apply(Thyme.scala:919)
[error]         at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
[error]         at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
[error]         at scala.collection.immutable.Range.foreach(Range.scala:141)
[error]         at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
[error]         at scala.collection.AbstractTraversable.map(Traversable.scala:105)
[error]         at ichi.bench.Thyme.<init>(Thyme.scala:919)
[error]         at ichi.bench.Thyme$$anonfun$37.apply(Thyme.scala:1509)
[error]         at ichi.bench.Thyme$$anonfun$37.apply(Thyme.scala:1509)
[error]         at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
[error]         at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
[error]         at scala.collection.immutable.Range.foreach(Range.scala:141)
[error]         at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
[error]         at scala.collection.AbstractTraversable.map(Traversable.scala:105)
[error]         at ichi.bench.Thyme$.warmed(Thyme.scala:1509)
[error]         at ichi.bench.Thyme$.warmedBench(Thyme.scala:1585)
[error]         at archery.Main$.main(main.scala:38)
[error]         at archery.Main.main(main.scala)

I've only seen this error once.

Ichoran commented 11 years ago

This is the same as bug #1.

non commented 11 years ago

Oh sorry about that. I thought I checked but obviously I missed this.