[Mono-list] System.DivideByZeroException in HashTable?
kumpera at gmail.com
Wed Jul 27 17:49:41 EDT 2011
On Tue, Jul 26, 2011 at 5:42 AM, Robert Jordan <robertj at gmx.net> wrote:
> On 26.07.2011 05:01, Ben Pryor wrote:
> > I sometimes get this exception (mono 2.8) - running fully bundled (exe +
> > deps). It happens very rarely. 64 bit suse system.
> > How is this exception possible?
> It's `impossible' from a managed standpoint.
> Looking at the stacktrace, the invoked ctor is actually
> HashTable(int capacity), which in turn is calling
> HashTable(int capacity, float loadFactor) with a loadFactor
> of 1.0f. The HashTable.loadFactor field is a float, so
> this.loadFactor = 0.75f*loadFactor;
> double tableSize = capacity / this.loadFactor;
> can't fail.
> It looks like a JIT issue. Try with Mono 2.10.
Precisely, mono 2.10 is actively receiving support while 2.8 isn't.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list