Mono error

.NET library for SMPP protocol
Locked
vanleyden
Posts: 2
Joined: Wed Sep 25, 2013 7:58 pm

Mono error

Post by vanleyden » Wed Sep 25, 2013 8:02 pm

Hello when using the dll in mono it will not start. Using mono 2.10.8.1 (also tried 3.2.3)

When declaring the calls the messages are displayed :

Unknown heap type: #GUlD

Unknown heap type: #Blop

When trying to bind the applications crashes:

metadata.c:914: assertion 'index < meta->heap_blob.size' failed

Using the dll on windows it works fine.
vanleyden
Posts: 2
Joined: Wed Sep 25, 2013 7:58 pm

Re: Mono error

Post by vanleyden » Wed Sep 25, 2013 8:24 pm

some extra info :

Code: Select all

converting method Inetlab.SMPP.Common.SmppClientBase:wepM6Kx6fJ (System.IAsyncResult)
* Assertion at metadata.c:916, condition `index < meta->heap_blob.size' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at Inetlab.SMPP.Common.SmppClientBase.cu6MUJVT6E (Inetlab.SMPP.PDU.SmppPDU) <0x0021b>
  at Inetlab.SMPP.Common.SmppClientBase/<>c__DisplayClass6.<AddPduToSendQueue>b__5 () <0x00017>
  at Nbr3hc7yBFyq8NuhNA.FZY14Xysh5ZApWSuvw.KlQXPFi65P () <0x0011c>
  at System.Threading.Thread.StartInternal () <0x000a8>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	mono() [0x4a0bc5]
	/lib64/libpthread.so.0(+0xf500) [0x7fa8f5022500]
	/lib64/libc.so.6(gsignal+0x35) [0x7fa8f4cb28e5]
	/lib64/libc.so.6(abort+0x175) [0x7fa8f4cb40c5]
	mono() [0x62a94d]
	mono() [0x62a9f7]
	mono() [0x555305]
	mono(mono_assembly_get_assemblyref+0x2e) [0x50421e]
	mono(mono_assembly_load_reference+0x124) [0x507854]
	mono(mono_class_from_typeref+0x3e1) [0x513cc1]
	mono(mono_class_get_full+0x145) [0x512535]
	mono() [0x42529d]
	mono() [0x443afe]
	mono() [0x41adff]
	mono() [0x41ca00]
	mono() [0x41d48d]
	mono() [0x4a4941]
	mono() [0x4a541d]
	[0x41dd1186]

Debug info from gdb:

Method Inetlab.SMPP.Common.SmppClientBase:wepM6Kx6fJ (System.IAsyncResult) emitted at 0x416cee80 to 0x416cfb50 (code length 3280) [SyrinX-Alert-Server.exe]

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Mono error

Post by alt » Fri Sep 27, 2013 9:26 am

Hello vanleyden,
I'm trying to reproduce this problem on Ubuntu with mono 2.10.8.
I'll tell you results a bit later.
Locked