[Mono-list] Our AI application crashes Mono

Pedro Santos donbonifacio at gmail.com
Fri Mar 20 12:22:13 EDT 2009


Hello,

We have an AI application that resolves moves for our board game
(similar to chess). This application uses a lot of recursivity and
it's very CPU/Mem intensive.
We're able to run it ok on a windows machine, but mono crashes with
gdb information.

I have put the application online, it's very simple to run and without
dependencies:
http://www.orionsbelt.eu/App.zip

If I run it on windows, it works fine:


\Server\Linux\Bin>OrionsBelt.BotHandler.exe --bot001Test
Calculating moves...
Calculating moves DONE
b:5_3-4_3;m:7_3-6_2-2;m:7_5-6_6-5;b:6_6-2_6;
#Elapsed: 1,203125 seconds


However, when running under mono:

mono OrionsBelt.BotHandler.exe --bot001Test
Calculating moves...
Stacktrace:
Native stacktrace:
        mono [0x80cbed4]
        mono [0x80f687b]
        [0xb8013410]
        mono [0x8063b09]
        mono [0x8195659]
        mono [0x81ceb57]
        mono [0x8195844]
        mono [0x8154d28]
        mono [0x81a90b6]
        mono [0x81cc3e4]
        /lib/tls/i686/cmov/libpthread.so.0 [0xb7f0b50f]
        /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7e627ee]
Debug info from gdb:
Cannot access memory at address 0x80

Could you please advise me on how to proceed? Should I create a bug or
something? Is there anything I can try or do?

Oh, and my mono version is:

# mono -V
Mono JIT compiler version 2.4 (/branches/mono-2-4/mono r129080 Wed Mar
11 18:48:45 WET 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

Thank you for your time.

-- 
Pedro Santos
Home - http://psantos.zi-yu.com
Work - http://www.pdmfc.com
The future - http://www.orionsbelt.eu


More information about the Mono-list mailing list