<div dir="ltr">Interesting issue came up today. All code works fine when run with mono regularly. However when we statically link mono and put the system under pressure we end up getting a SIGABRT on a fairly innocuous call (not right away). We cannot reproduce this with mono not statically linked. Anyone have any ideas where to start looking?<br clear="all">
<div><br></div><div><pre class="" style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;width:1428px;margin-top:0px;margin-bottom:0px;padding:0px;color:rgb(0,0,0)"><div class="" id="file-error-txt-LC6">
  at <unknown> <0xffffffff></div><div class="" id="file-error-txt-LC7">  at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific (intptr,int) <0xffffffff></div><div class="" id="file-error-txt-LC8">
  at System.IO.MemoryStream.set_Capacity (int) <0x00077></div><div class="" id="file-error-txt-LC9">  at System.IO.MemoryStream.Expand (int) <0x00036></div><div class="" id="file-error-txt-LC10">  at System.IO.MemoryStream.Write (byte[],int,int) <0x00093></div>
<div class="" id="file-error-txt-LC11">  at ProtoBuf.ProtoWriter.Flush (ProtoBuf.ProtoWriter) <0x00034></div><div class="" id="file-error-txt-LC12">  at ProtoBuf.ProtoWriter.Dispose () <0x0001b></div><div class="" id="file-error-txt-LC13">
  at ProtoBuf.ProtoWriter.Close () <0x00023></div><div class="" id="file-error-txt-LC14">  at ProtoBuf.Meta.TypeModel.Serialize (System.IO.Stream,object,ProtoBuf.SerializationContext) <0x00087></div><div class="" id="file-error-txt-LC15">
  at ProtoBuf.Meta.TypeModel.Serialize (System.IO.Stream,object) <0x0001b></div><div class="" id="file-error-txt-LC16">  at ProtoBuf.Serializer.Serialize<T> (System.IO.Stream,T) <0x00037></div><div class="" id="file-error-txt-LC17">
  at EventStore.Core.Services.Transport.Tcp.ProtobufExtensions.Serialize<T> (T) <0x00073></div><div class="" id="file-error-txt-LC18">  at EventStore.Core.Services.Transport.Tcp.InternalTcpDispatcher.WrapDataChunkBulk (EventStore.Core.Messages.ReplicationMessage/DataChunkBulk) <0x00153></div>
<div class="" id="file-error-txt-LC19">  at (wrapper delegate-invoke) System.Func`2<EventStore.Core.Messages.ReplicationMessage/DataChunkBulk, EventStore.Core.Services.Transport.Tcp.TcpPackage>.invoke_TResult__this___T (EventStore.Core.Message</div>
<div class="" id="file-error-txt-LC20">s.ReplicationMessage/DataChunkBulk) <0xffffffff></div><div class="" id="file-error-txt-LC21">  at EventStore.Core.Services.Transport.Tcp.TcpDispatcher/<AddWrapper>c__AnonStorey4D`1.<>m__10A (EventStore.Core.Messaging.Message) <0x00057></div>
<div class="" id="file-error-txt-LC22">  at (wrapper delegate-invoke) System.Func`2<EventStore.Core.Messaging.Message, EventStore.Core.Services.Transport.Tcp.TcpPackage>.invoke_TResult__this___T (EventStore.Core.Messaging.Message) <0xffffffff></div>
<div class="" id="file-error-txt-LC23">  at EventStore.Core.Services.Transport.Tcp.TcpDispatcher.WrapMessage (EventStore.Core.Messaging.Message) <0x000d6></div><div class="" id="file-error-txt-LC24">  at EventStore.Core.Services.Transport.Tcp.TcpConnectionManager.SendMessage (EventStore.Core.Messaging.Message) <0x0004c></div>
<div class="" id="file-error-txt-LC25">  at EventStore.Core.Services.TcpSendService.Handle (EventStore.Core.Messages.TcpMessage/TcpSend) <0x0001f></div><div class="" id="file-error-txt-LC26">  at EventStore.Core.Bus.MessageHandler`1.TryHandle (EventStore.Core.Messaging.Message) <0x00094></div>
<div class="" id="file-error-txt-LC27">  at EventStore.Core.Bus.InMemoryBus.Publish (EventStore.Core.Messaging.Message) <0x000fe></div><div class="" id="file-error-txt-LC28">  at EventStore.Core.Bus.InMemoryBus.Handle (EventStore.Core.Messaging.Message) <0x00013></div>
<div class="" id="file-error-txt-LC29">  at EventStore.Core.Bus.QueuedHandlerThreadPool.ReadFromQueue (object) <0x00137></div><div class="" id="file-error-txt-LC30">  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff></div>
<div class="" id="file-error-txt-LC31"> </div><div class="" id="file-error-txt-LC32">Native stacktrace:</div><div class="" id="file-error-txt-LC33"> </div><div class="" id="file-error-txt-LC34">        ./clusternode() [0x6215be]</div>
<div class="" id="file-error-txt-LC35">        /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f289d4f2cb0]</div><div class="" id="file-error-txt-LC36">        /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f289d159425]</div>
<div class="" id="file-error-txt-LC37">        /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7f289d15cb8b]</div><div class="" id="file-error-txt-LC38">        ./clusternode() [0x5803dd]</div><div class="" id="file-error-txt-LC39">
        ./clusternode() [0x580472]</div><div class="" id="file-error-txt-LC40">        ./clusternode() [0x524a24]</div><div class="" id="file-error-txt-LC41">        ./clusternode() [0x528c0e]</div><div class="" id="file-error-txt-LC42">
        ./clusternode() [0x52cf61]</div><div class="" id="file-error-txt-LC43">        ./clusternode() [0x52e541]</div><div class="" id="file-error-txt-LC44">        ./clusternode() [0x51283f]</div><div class="" id="file-error-txt-LC45">
        ./clusternode() [0x5186b3]</div><div class="" id="file-error-txt-LC46">        ./clusternode() [0x518c6b]</div><div class="" id="file-error-txt-LC47">        ./clusternode() [0x50b487]</div><div class="" id="file-error-txt-LC48">
        ./clusternode() [0x50b6d8]</div><div class="" id="file-error-txt-LC49">        ./clusternode(mono_array_new_specific+0x36) [0x4e4256]</div><div class="" id="file-error-txt-LC50">        [0x41e25187]</div><div class="" id="file-error-txt-LC51">
 </div><div class="" id="file-error-txt-LC52">Debug info from gdb:</div><div class="" id="file-error-txt-LC53"> </div><div class="" id="file-error-txt-LC54"> </div><div class="" id="file-error-txt-LC55">=================================================================</div>
<div class="" id="file-error-txt-LC56">Got a SIGABRT while executing native code. This usually indicates</div><div class="" id="file-error-txt-LC57">a fatal error in the mono runtime or one of the native libraries</div><div class="" id="file-error-txt-LC58">
used by your application.</div><div class="" id="file-error-txt-LC59">=================================================================</div><div class="" id="file-error-txt-LC60"> </div><div class="" id="file-error-txt-LC61">
Aborted</div></pre></div><div><br></div>-- <br>Le doute n'est pas une condition agréable, mais la certitude est absurde.
</div>