[Mono-list] ConvertTest reveals runtime bug
Dietmar Maurer
dietmar@ximian.com
21 May 2002 17:05:01 +0200
fixed in CVS
On Sat, 2002-05-18 at 08:11, Krister Hansson wrote:
>
> I hope you had better luck getting this to run. If not, here's the
> backtrace I get in gdb:
>
> (gdb) r NUnitConsole_mono.exe
> MonoTests.System.ConvertTest,corlib_linux_test.dll
> Starting program: /home/nick/testme/mono/mono/jit/mono
> NUnitConsole_mono.exe MonoTests.System.ConvertTest,corlib_linux_test.dll
> [New Thread 1024 (LWP 5932)]
> .
> (process:5932): ** ERROR **: file codegen-x86.c: line 5792
> (mono_burg_emit_254): should not be reached
> aborting...
>
> ------------------
>
> I've got ConvertTest running. It 'turned out that commenting out the following line in SetUp() was enough
>
> tryDec = 1234.2345m; // tryDec is a decimal
>
> I can't make out why that makes it fail. Wrote a program where I used the same initiation of the decimal and it ran fine.
>
> Any ideas why it behaves like this
>
> /Krister
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list