[Mono-bugs] [Bug 408698] New: System.InvalidProgramException: Invalid IL code in ( wrapper native-to-managed)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 12 21:49:58 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=408698


           Summary: System.InvalidProgramException: Invalid IL code in
                    (wrapper native-to-managed)
           Product: Mono: Runtime
           Version: 1.9.0
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: interop
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: chris.hamons at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer


Created an attachment (id=227459)
 --> (https://bugzilla.novell.com/attachment.cgi?id=227459)
Example of bug.

When I run the attached test case, I hit this:

Unhandled Exception: System.InvalidProgramException: Invalid IL code in
(wrapper native-to-managed)
libtcodWrapper.TCODParserCallbackStruct:NativeNewStructCallback
(intptr,System.Text.StringBuilder): IL_0031: call      0x00000006


  at (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_delegate_to_ftnptr (object)
  at (wrapper managed-to-native) libtcodWrapper.TCODFileParser:EntryPoint
(intptr,System.Text.StringBuilder,libtcodWrapper.TCODParserCallbackStruct/TCODParserNativeCallback&)
  at libtcodWrapper.TCODFileParser.Run (System.String filename,
libtcodWrapper.TCODParserCallbackStruct& listner) [0x00000]
  at libtcodWrapperTests.Test.Test2 () [0x00000]
  at libtcodWrapperTests.Test.Main () [0x00000]

However, the code I derived the test case from works fine under .net in
windows.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list