You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.ArrayIndexOutOfBoundsException: Index -268435455 out of bounds for length 402653184
| => tat cats.effect.ByteStack$.push(ByteStack.scala:59)
at cats.effect.IOFiber.runLoop(IOFiber.scala:560)
at cats.effect.IOFiber.autoCedeR(IOFiber.scala:1439)
at cats.effect.IOFiber.run(IOFiber.scala:119)
at cats.effect.unsafe.WorkerThread.run(WorkerThread.scala:743)
I can't reproduce this (I get OutOfMemoryErrors), but that exception more or less seems like what should happen if the size (stack(0)) overflowed from Int.MaxValue to Int.MinValue.
If in push the val c is Int.MinValue, then val s = (c >> 3) + 1 will be -268435455 (the same as in the exception), which is used as an index in line 59.
Look I don't even know…
See
DispatcherSpec
on theaioobe-reproduction
tag at https://github.com/djspiewak/cats-effectThe text was updated successfully, but these errors were encountered: