[Mono-dev] crashes while executing System.Buffer.BlockCopyInternal
Rodrigo Kumpera
kumpera at gmail.com
Wed Nov 18 07:44:28 EST 2009
Hi Daniel,
Can you install the debug symbols for mono and get a native stack trace
while on gdb?
instead of using mono_stack, use "t a a bt".
Thanks,
Rodrigo
On Wed, Nov 18, 2009 at 9:54 AM, Daniel Weuthen <
daniel.weuthen-ml at deepinvent.com> wrote:
> Hi everybody,
>
> I have got a major problem with out software running with mono 2.4.x. No
> matter what distribution, it keeps crashing with segmentation fault
> randomly with the following last output when debugging. These were three
> different runs of the software. To me it looks like something is wrong
> with mono or am I totally wrong?
>
> 0x08125ee5 in ves_icall_System_Buffer_BlockCopyInternal
> (src=0x1842000, src_offset=4096, dest=0x989aa0, dest_offset=0, count=1024)
>
> 0x08125ee5 in ves_icall_System_Buffer_BlockCopyInternal
> (src=0x818000, src_offset=12288, dest=0x7f3aa0, dest_offset=0, count=1024)
>
> 0x08125ee5 in ves_icall_System_Buffer_BlockCopyInternal
> (src=0x767000, src_offset=9216, dest=0x555aa0, dest_offset=0, count=1024)
>
>
> a mono stack trace returns the following:
>
> (gdb) mono_stack
>
> "<threadpool thread>" tid=0x0xadcfeb90 this=0x0x24d960 thread handle
> 0x44b state : not waiting owns ()
> at (wrapper managed-to-native) System.Buffer.BlockCopyInternal
> (System.Array,int,System.Array,int,int) <0x00004>
> at (wrapper managed-to-native) System.Buffer.BlockCopyInternal
> (System.Array,int,System.Array,int,int) <0xffffffff>
> at System.Buffer.BlockCopy (System.Array,int,System.Array,int,int)
> [0x00077] in
> /usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System/Buffer.cs:108
> at deepinvent.MailStore.Core.MSMemoryStream.Read (byte[],int,int)
> <0x00065>
> at System.IO.StreamReader.ReadBuffer () [0x00012] in
>
> /usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.IO/StreamReader.cs:338
> at System.IO.StreamReader.ReadLine () [0x000e5] in
>
> /usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.IO/StreamReader.cs:476
> at xfcc26217118f7b95.xe96b66f83ff2e739.x1f490eac106aee12
> (System.IO.Stream,bool) <0x00180>
> at x36f657baf5fa29c1.x2bef70a2295987a7.x299c2cb497a5a777
> (System.IO.Stream,x4fae9c9f245c1f90.xfbf781c4b53e037a[]) <0x001a1>
> at x36f657baf5fa29c1.x40bdcf514da56bb9.x299c2cb497a5a777
> (System.IO.Stream,x4fae9c9f245c1f90.xfbf781c4b53e037a[]) <0x0009f>
> at xbad23d244f2208e4.x1cc5e0fb4b785694.x299c2cb497a5a777
> (RemObjects.SDK.Types.Binary,x4fae9c9f245c1f90.xfbf781c4b53e037a[])
> <0x000af>
> at
> xcc814749757ed9fe.x568551ab397ac200/<>c__DisplayClass1.<MessageArchive>b__0
> () <0x00020>
> at (wrapper runtime-invoke) object.runtime_invoke_void__this__
> (object,intptr,intptr,intptr) <0xffffffff>
>
> --
> regards
>
> Daniel Weuthen
> _______________________________________________
> 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/20091118/44209e3d/attachment.html
More information about the Mono-devel-list
mailing list