[Mono-dev] SGen stability

Ben Winkel funnelweb007 at gmail.com
Mon Nov 5 14:58:29 UTC 2012


Is there a stress testing mode for SGEN? e.g. to force a GC at every
allocation?  That can really help to nail GC bugs fast (at huge cost of
course)

On Mon, Nov 5, 2012 at 2:56 PM, Rodrigo Kumpera <kumpera at gmail.com> wrote:

> First, make sure you have symbols and gdb installed. Then, please, file a
> bug report with all details and
> a test case if possible.
>
> Sgen bugs are very very hard to come by and every harder to reproduce. If
> you have it in your hands please
> help us nail it.
>
>
> On Mon, Nov 5, 2012 at 7:16 AM, Roope Kangas <roope at grandcrugames.com>wrote:
>
>> Hi!
>>
>> 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]
>>         [0x40216c3e]
>>
>> 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.
>>
>> --
>> Roope
>> Lead Server Developer
>> Grand Cru Games
>> http://www.grandcrugames.com
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20121105/7896f6b5/attachment.html>


More information about the Mono-devel-list mailing list