Hi Daniel,<br><br>Can you install the debug symbols for mono and get a native stack trace while on gdb?<br><br>instead of using mono_stack, use &quot;t a a bt&quot;.<br><br>Thanks,<br>Rodrigo<br><br><div class="gmail_quote">
On Wed, Nov 18, 2009 at 9:54 AM, Daniel Weuthen <span dir="ltr">&lt;<a href="mailto:daniel.weuthen-ml@deepinvent.com">daniel.weuthen-ml@deepinvent.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi everybody,<br>
<br>
I have got a major problem with out software running with mono 2.4.x. No<br>
matter what distribution, it keeps crashing with segmentation fault<br>
randomly with the following last output when debugging. These were three<br>
different runs of the software. To me it looks like something is wrong<br>
with mono or am I totally wrong?<br>
<br>
   0x08125ee5 in ves_icall_System_Buffer_BlockCopyInternal<br>
(src=0x1842000,  src_offset=4096, dest=0x989aa0, dest_offset=0, count=1024)<br>
<br>
    0x08125ee5 in ves_icall_System_Buffer_BlockCopyInternal<br>
(src=0x818000, src_offset=12288, dest=0x7f3aa0, dest_offset=0, count=1024)<br>
<br>
    0x08125ee5 in ves_icall_System_Buffer_BlockCopyInternal<br>
(src=0x767000, src_offset=9216, dest=0x555aa0, dest_offset=0, count=1024)<br>
<br>
<br>
a mono stack trace returns the following:<br>
<br>
(gdb) mono_stack<br>
<br>
&quot;&lt;threadpool thread&gt;&quot; tid=0x0xadcfeb90 this=0x0x24d960 thread handle<br>
0x44b state : not waiting owns ()<br>
  at (wrapper managed-to-native) System.Buffer.BlockCopyInternal<br>
(System.Array,int,System.Array,int,int) &lt;0x00004&gt;<br>
  at (wrapper managed-to-native) System.Buffer.BlockCopyInternal<br>
(System.Array,int,System.Array,int,int) &lt;0xffffffff&gt;<br>
  at System.Buffer.BlockCopy (System.Array,int,System.Array,int,int)<br>
[0x00077] in<br>
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System/Buffer.cs:108<br>
  at deepinvent.MailStore.Core.MSMemoryStream.Read (byte[],int,int)<br>
&lt;0x00065&gt;<br>
  at System.IO.StreamReader.ReadBuffer () [0x00012] in<br>
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.IO/StreamReader.cs:338<br>
  at System.IO.StreamReader.ReadLine () [0x000e5] in<br>
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.IO/StreamReader.cs:476<br>
  at xfcc26217118f7b95.xe96b66f83ff2e739.x1f490eac106aee12<br>
(System.IO.Stream,bool) &lt;0x00180&gt;<br>
  at x36f657baf5fa29c1.x2bef70a2295987a7.x299c2cb497a5a777<br>
(System.IO.Stream,x4fae9c9f245c1f90.xfbf781c4b53e037a[]) &lt;0x001a1&gt;<br>
  at x36f657baf5fa29c1.x40bdcf514da56bb9.x299c2cb497a5a777<br>
(System.IO.Stream,x4fae9c9f245c1f90.xfbf781c4b53e037a[]) &lt;0x0009f&gt;<br>
  at xbad23d244f2208e4.x1cc5e0fb4b785694.x299c2cb497a5a777<br>
(RemObjects.SDK.Types.Binary,x4fae9c9f245c1f90.xfbf781c4b53e037a[])<br>
&lt;0x000af&gt;<br>
  at<br>
xcc814749757ed9fe.x568551ab397ac200/&lt;&gt;c__DisplayClass1.&lt;MessageArchive&gt;b__0<br>
() &lt;0x00020&gt;<br>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__<br>
(object,intptr,intptr,intptr) &lt;0xffffffff&gt;<br>
<font color="#888888"><br>
--<br>
regards<br>
<br>
Daniel Weuthen<br>
_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
</font></blockquote></div><br>