[Mono-list] Possible mono bug

David Sheldon dave-monolist@earth.li
Sat, 9 Nov 2002 12:43:55 +0000


When I try to run the tests for System.Xml, I get an assertion failure
in mono. This is in cvs version checked out this morning. How would I go
about working out which test is causing this to fail?

David

make[1]: Entering directory
`/home/sheldon/mono/cvs/mcs/class/System.XML/Test'
MONO_PATH=/usr/local/lib/ mono ../../../class/lib/NUnitConsole_mono.exe
MonoTests.System.Xml.AllTests,System.XML_linux_test.dll
.....................................E....
.........................E.E........E.......
.........................................
.........................................
.........................................
.........................................
......................
** ERROR **: file emit-x86.c: line 1001 (arch_allocate_regs): assertion
failed:
(cfg->rs->free_mask == 0xffffffff)
aborting...

If I enable DEBUG_REGALLOC then the following debug is generated by the
final arch_allocate_regs. Unfortunately I don't understand sufficient
about how to JIT code works in order to debug it.

arch_allocate_regs start 0:1 ffffffff
tree_allocate_regs start 16 ffffffff 1 0
tree_allocate_regs start 115 ffffffff 6 0
tree_allocate_regs start 115 ffffffff 3 0
tree_allocate_regs start 115 ffffffff 4 0
tree_allocate_regs start 115 ffffffff 4 0
tree_allocate_regs start 9 ffffffff 4 0
tree_allocate_regs end 9 fffffffe
tree_allocate_regs end 115 fffffffe
tree_allocate_regs start 115 fffffffe 4 0
tree_allocate_regs start 9 fffffffe 4 0
tree_allocate_regs end 9 fffffffc
tree_allocate_regs end 115 fffffffc
tree_allocate_regs end 115 fffffffc
tree_allocate_regs end 16 fffffffe
arch_allocate_regs end 0:1 fffffffe



-- 
         I wanna torture you. I used to love it, and it's been
          such a long time. I mean, the last time I tortured
             someone, they didn't even *have* chainsaws.
                -- Angelus, "Buffy The Vampire Slayer" - Becomming II