Not logged in. · Lost password · Register
Forum: MatriX .NET RSS
dwandless #1
Member since Jan 2012 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: Mono client
I'm trying to create a client on OS X using Mono.  I have Mono 2.10.7.  I downloaded the latest developer Mono Matrix.dll (actually the standard .NET Matrix.dll gives the same error).  When I attempt to run my application I get this error:

Unhandled Exception: System.InvalidProgramException: Invalid IL code in Matrix.Xmpp.Client.XmppClient:.ctor (): IL_0006: stfld     0x0400037f

  at TestMatrix.SyncViewerHost.JabberJoin () [0x00000] in <filename unknown>:0
  at TestMatrix.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in Matrix.Xmpp.Client.XmppClient:.ctor (): IL_0006: stfld     0x0400037f


  at TestMatrix.SyncViewerHost.JabberJoin () [0x00000] in <filename unknown>:0
  at TestMatrix.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

Is there something I'm missing?

Thanks,
Duane
Avatar
Alex #2
Member since Feb 2003 · 2700 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This exceptions have not much info. Do you have also a full stacktrace?
Are you using the correct binary?

The Windows version does not work because its calling some windows APIs during the connect and Mono also does not like the obfuscator we are using for the Windows build.

Alex
Alexander Gnauck
AG-Software
dwandless #3
Member since Jan 2012 · 4 posts
Group memberships: Members
Show profile · Link to this post
That is the full stacktrace that is reported.  I am using the Mono Matrix library from here: http://www.ag-software.de/download-directory/.  Matrix/Mono.
md5 Matrix.dll
MD5 (Matrix.dll) = 4d853cd9ceacdb8022afba245f2e17a3

I had problems with Mono and obfuscators before so I switched to http://www.deepseaobfuscator.com/ and obfuscation works great on Mono OS X and Windows.

I need to demo a working client on Windows and OS X to my boss before continuing the evaluation.  Is there anyway to get a dll that does not hit this Invalid IL issue?

Thanks,
Duane
Avatar
Alex #4
Member since Feb 2003 · 2700 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Please contact me directly by email. I can send you a new build.

Alex
Alexander Gnauck
AG-Software
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX .NET RSS