[Mono-list] Fwd: Frequent segfaults in c# running on mono

River Satya river.satya at gmail.com
Fri Nov 27 09:31:37 UTC 2015


Hi mono list,

We see a lot of segfaults (~10 / day) in our program running on Ubuntu
Wheezy. I was hoping that upgrading to mono 4.2 would resolve it, but we're
still seeing them.

The stack traces take a few different forms, so it's possible that they're
actually separate issues.

We mostly see #1 and #4. #2 and #3 have only been seen in isolation, but
have more interesting stack traces.

These look to me like mono bugs. Are any of these known issues? Is there
anything I can do to either work around them and/or assist in debugging
them? They're currently causing significant problems in a mission critical
piece of software for my client.

(email split into pieces as the full version was rejected by the maillist
server).

Thanks,

River

>
> Stack trace 1 (empty trace):
> :Stacktrace:
> -
> -
> :Native stacktrace:
> -
> Stack trace 2:
> --
> :Stacktrace:
> -
> -  at <unknown> <0xffffffff>
> -  at (wrapper managed-to-native)
> object.__icall_wrapper_mono_gc_alloc_vector (intptr,intptr,intptr) <IL
> 0x0000f, 0xffffffff>
> -  at (wrapper alloc) object.AllocVector (intptr,intptr) <IL 0x00088,
> 0xffffffff>
> -  at System.Xml.XmlUtf8RawTextWriter..ctor
> (System.IO.Stream,System.Xml.XmlWriterSettings) <IL 0x00039, 0x000cf>
> -  at System.Xml.XmlWriterSettings.CreateWriter (System.IO.Stream) <IL
> 0x00067, 0x00117>
> -  at System.Xml.XmlWriter.Create
> (System.IO.Stream,System.Xml.XmlWriterSettings) <IL 0x0000f, 0x00066>
> -  at
>  <snip> rest of stack trace is in our code</snip>
> --
> :Native stacktrace:
> -
> -       /usr/bin/mono() [0x49cf0c]
> -       /lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7fb9e29e9340]
> -       /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39) [0x7fb9e264acc9]
> -       /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fb9e264e0d8]
> -       /usr/bin/mono() [0x62a329]
> -       /usr/bin/mono() [0x62a537]
> -       /usr/bin/mono() [0x62a5e2]
> -       /usr/bin/mono() [0x5ea7a6]
> -       /usr/bin/mono() [0x5ecfe0]
> -       /usr/bin/mono() [0x5f5af2]
> -       /usr/bin/mono() [0x5f67aa]
> -       /usr/bin/mono() [0x5ecb03]
> -       /usr/bin/mono() [0x5dbf76]
> -       /usr/bin/mono() [0x5e380d]
> -       /usr/bin/mono() [0x5f99f8]
> -       /usr/bin/mono() [0x5e5f63]
> -       /usr/bin/mono() [0x5e805f]
> -       /usr/bin/mono() [0x5db55d]
> -       /usr/bin/mono() [0x5ca11e]
> --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20151127/853fd39e/attachment.html>


More information about the Mono-list mailing list