[Mono-list] ConvertTest reveals runtime bug
Nick Drochak
ndrochak@gol.com
18 May 2002 08:48:47 +0900
On Fri, 2002-05-17 at 17:29, Dietmar Maurer wrote:
> On Fri, 2002-05-17 at 04:53, Nick Drochak wrote:
> > Hi. When I run the new ConvertTest we just received, mono gives this
> > output:
> >
> > ./mono NUnitConsole_mono.exe
> > MonoTests.System.ConvertTest,corlib_linux_test.dll
>
> All I get is:
>
> # mono NUnitConsole_mono.exe MonoTests.System.ConvertTest,corlib_linux_test.dll
> Error: NUnit.Runner.LoaderException
> Error loading test class: MonoTests.System.ConvertTest,corlib_linux_test.dllSystem.NullReferenceExceptionin 0x000a1 NUnit.Runner.StandardLoader:LoadTest (string,string)
> in 0x00118 NUnit.Runner.StandardLoader:LoadTest (string)
> in 0x00032 NUnit.Runner.BaseTestRunner:LoadSuiteClass (string)
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...
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1024 (LWP 5932)]
0x4005c1be in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x80e1520 "file %s: line %d (%s): should not be reached",
args1=0xbfffdbcc) at gmessages.c:542
542 G_BREAKPOINT ();
(gdb) where
#0 0x4005c1be in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x80e1520 "file %s: line %d (%s): should not be reached",
args1=0xbfffdbcc) at gmessages.c:542
#1 0x4005c267 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x80e1520 "file %s: line %d (%s): should not be reached")
at gmessages.c:572
#2 0x08099184 in mono_burg_emit_254 (tree=0x82062ac, s=0x820575c)
at codegen-x86.c:5792
#3 0x080587bd in tree_emit (goal=1, cfg=0x820575c, tree=0x82062ac,
spillcount=0xbfffdcd8) at emit-x86.c:893
#4 0x080588b9 in mono_emit_cfg (cfg=0x820575c) at emit-x86.c:919
#5 0x08059431 in arch_compile_method (method=0x81e8710) at
emit-x86.c:1176
#6 0x0806acae in x86_magic_trampoline (eax=136164188, ecx=136164376,
edx=136218384, esi=136361200, edi=-1073749308, ebx=136361200,
code=0x820dbba "\203Ä\004\213E\bP\213", m=0x81e8710) at
trampoline.c:111
#7 0x08106645 in ?? ()
#8 0x0820cb65 in ?? ()
#9 0x0820e749 in ?? ()
#10 0x08208b0f in ?? ()
#11 0x0820232d in ?? ()
#12 0x0820193e in ?? ()
#13 0x08209499 in ?? ()
#14 0x081fd510 in ?? ()
#15 0x081d59cf in ?? ()
#16 0x0819ee9e in ?? ()
#17 0x0811bfd3 in ?? ()
#18 0x0806e1d3 in arch_runtime_invoke (method=0x8163558, obj=0x0,
params=0xbfffe194, exc=0xbfffe1e8) at invoke.c:227
#19 0x080a76e3 in mono_runtime_invoke (method=0x8163558, obj=0x0,
params=0xbfffe194, exc=0xbfffe1e8) at object.c:311
#20 0x080a7a4d in mono_runtime_exec_main (method=0x8163558,
args=0x81640b8,
exc=0xbfffe1e8) at object.c:430
#21 0x080a7919 in mono_runtime_run_main (method=0x8163558, argc=1,
argv=0xbfffe2cc, exc=0xbfffe1e8) at object.c:373
#22 0x0806a0f0 in mono_jit_exec (domain=0x80fa560, assembly=0x8162d78,
argc=2,
argv=0xbfffe2c8) at jit.c:3674
#23 0x0805595c in main (argc=3, argv=0xbfffe2c4) at mono.c:219
#24 0x40117316 in __libc_start_main (main=0x8054fec <main>, argc=3,
ubp_av=0xbfffe2c4, init=0x8053eb0 <_init>, fini=0x80dad40 <_fini>,
rtld_fini=0x4000d2fc <_dl_fini>, stack_end=0xbfffe2bc)
at ../sysdeps/generic/libc-start.c:129