[Mono-bugs] [Bug 655741] New: 'System.InvalidProgramException: Missing or incorrect header for method Call'

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 24 08:37:58 EST 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=655741#c0


           Summary: 'System.InvalidProgramException: Missing or incorrect
                    header for method Call'
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.8.x
          Platform: All
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: xacc.ide at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User
           Blocker: ---


Created an attachment (id=402001)
 --> (http://bugzilla.novell.com/attachment.cgi?id=402001)
IronScheme build exposing CLR exception info

Description of Problem:

Getting this exception every time when running the following code.

Steps to reproduce the problem:
1. mono IronScheme.Console.exe
2. Run the following from the console:
    - (display-stacktrace #t)
    - (vector-sort < '#(3 5 2 1))

Actual Results:

System.InvalidOperationException: Comparison threw an exception. --->
System.InvalidProgramException: Missing or incorrect header for method Call
  at
IronScheme.Runtime.Typed.Utils+<>c__DisplayClass7`3[System.Object,System.Object,System.Int32].<MakeTyped>b__6
(System.Object a1, System.Object a2) [0x00000] in <filename unknown>:0
  at System.Array.qsort[Object] (System.Object[] array, Int32 low0, Int32
high0, System.Comparison`1 comparison) [0x00000] in <filename unknown>:0
  at System.Array.SortImpl[Object] (System.Object[] array, Int32 length,
System.Comparison`1 comparison) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Array.SortImpl[Object] (System.Object[] array, Int32 length,
System.Comparison`1 comparison) [0x00000] in <filename unknown>:0
  at System.Array.Sort[Object] (System.Object[] array, System.Comparison`1
comparison) [0x00000] in <filename unknown>:0
  at #.ironscheme.sorting::vector-sort!#1#anon$1845
(Microsoft.Scripting.CodeContext $context) [0x00000] in <filename unknown>:0
  at IronScheme.Runtime.Closure+ContextClosure.Call () [0x00000] in <filename
unknown>:0
  at IronScheme.Runtime.R6RS.Exceptions.WithClrExceptionHandler (System.Object
handler, System.Object thunk) [0x00000] in <filename unknown>:0

Expected Results:

No error.

How often does this happen? 

Every time.

Additional Information:

Extract the attachment.

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


More information about the mono-bugs mailing list