[Mono-dev] SGen stability

Roope Kangas roope at grandcrugames.com
Mon Nov 5 12:16:19 UTC 2012


I am working on a MMO game thats written in C#. We are currently running load tests on mono 3.0.0 in linux environment.

I have noticed a few times that when we cause a spike the amount of threads we run the server sometimes crashes with the following output:

Native stacktrace:

        mono-sgen() [0x498441]
        mono-sgen() [0x4ec2df]
        mono-sgen() [0x41c217]
        /lib64/libpthread.so.0(+0xf500) [0x7fd5a1257500]
        mono-sgen(mono_class_is_assignable_from+0x30) [0x4ff070]
        mono-sgen(mono_object_isinst+0x3d) [0x57033d]
        mono-sgen() [0x463c88]

Debug info from gdb:

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.

 Any ideas on what to do? This kind of behaviour does not occur with Boehm GC. 

Lead Server Developer
Grand Cru Games

More information about the Mono-devel-list mailing list