[Mono-bugs] [Bug 684884] Program crashes to GDB when ILGenerator.Emit(Opcodes.Ret) is called

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 9 15:59:59 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=684884#c5


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |vargaz at gmail.com
         Resolution|                            |INVALID

--- Comment #5 from Zoltan Varga <vargaz at gmail.com> 2011-04-09 19:59:57 UTC ---
The dnr.dll file contains invalid IL code:


    .method public static 
           default valuetype [mscorlib]System.Reflection.Emit.OpCode getOPCode
(string code)  cil managed 
    {
            ...
            ldnull
            ret
    }

>PEVerify.exe /il dnr.dll 

Microsoft (R) .NET Framework PE Verifier.  Version  4.0.30319.1
Copyright (c) Microsoft Corporation.  All rights reserved.

[IL]: Error: [E:\testcases\compiler\dnr.dll :
dylan.NET.Reflection.InstructionHelper::getOPCode][offset 0x000025F2][found
Nullobjref 'NullReference'][expected value 'System.Reflection.Emit.OpCode']
Unexpected type on the stack.
[IL]: Error: [E:\testcases\compiler\dnr.dll :
dylan.NET.Reflection.InstructionHelper::getOPCode][offset 0x000025E2]
Non-compatible types on stack depending on path.
2 Error(s) Verifying dnr.dll

-> NOTABUG.

-- 
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