[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mono, mint coredump :-/



following up on some advice from jmallett_(_at_)_freebsd, i decided to poke mint
a bit harder. i was using the supplied mono tests and found that mint
doesn't work so well.

when i issue the command:
	$ mint --trace vararg.exe

i wind up with a coredump:
...

  (671744) Entering 00 System.NullReferenceException:.ctor (0x13e980 )
    (671744) Entering 00 System.Globalization.Locale:GetText ([0x138c00] )
    (671744) Leaving 00 System.Globalization.Locale:GetText => [0x138c00]
    (671744) Entering 00 System.SystemException:.ctor (0x13e980 [0x138c00]
)
      (671744) Entering 00 System.Exception:.ctor (0x13e980 [0x138c00] )
        (671744) Entering 00 System.Object:.ctor (0x13e980 )
        (671744) Leaving 00 System.Object:.ctor =>
      (671744) Leaving 00 System.Exception:.ctor =>
    (671744) Leaving 00 System.SystemException:.ctor =>
  (671744) Leaving 00 System.NullReferenceException:.ctor =>
  (671744) Entering 00 .Class1:Main ([0x13d880] )

** ERROR **: file loader.c: line 283 (method_from_memberref): should not
be reached
aborting...
Abort (core dumped)


gdb for a backtrace ...


#0  0x402a05ff in _thread_sys_kill ()
#1  0x40299554 in abort ()
#2  0x400dae7b in g_logv ()
#3  0x400daf29 in g_log ()
#4  0x6e8a0 in method_from_memberref (image=0x106000, idx=6) at loader.c:283
#5  0x6ef78 in mono_get_method (image=0x106000, token=167772166, klass=0x0)
    at loader.c:423
#6  0x390f in calc_offsets ()
#7  0x4cc1 in ves_exec_method ()
#8  0x41e9 in interp_mono_runtime_invoke ()
#9  0x2813c in mono_runtime_invoke (method=0x13ea80, obj=0x0,
    params=0xcfbfd780, exc=0xcfbfd7f8) at object.c:365
#10 0x28d88 in mono_runtime_exec_main (method=0x13ea80, args=0x13d880,
    exc=0xcfbfd7f8) at object.c:641
#11 0x28b47 in mono_runtime_run_main (method=0x13ea80, argc=0,
    argv=0xcfbfd8a8, exc=0xcfbfd7f8) at object.c:581
#12 0x1243e in ves_exec ()
#13 0x12e0d in main ()


that was the only one that barfed min. all others hang ... typically at
  (671744) Entering 00 Test.test:Main ()
  (671744) Leaving 00 Test.test:Main => [0]


in a nutshell, mint doesn't look so reliable right now on openbsd. just
some more data for whoever wants to pick up a port.

___________________________
jose nazario, ph.d.			jose_(_at_)_monkey_(_dot_)_org
					http://www.monkey.org/~jose/