[Mono-bugs] [Bug 656058] New: * Assertion at debugger-agent.c:3553, condition `ji' not met on invalid custom attributes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 26 05:07:42 EST 2010


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

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


           Summary: * Assertion at debugger-agent.c:3553, condition `ji'
                    not met on invalid custom attributes
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: verifier
        AssignedTo: rkumpera at novell.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Probably a buffer overflow is happening here


mono bug-0.exe 
* Assertion at debugger-agent.c:3553, condition `ji' not met

Stacktrace:

  at (wrapper managed-to-native)
System.MonoCustomAttrs.GetCustomAttributesInternal
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0xffffffff>
  at System.MonoCustomAttrs.GetCustomAttributesBase
(System.Reflection.ICustomAttributeProvider,System.Type) <0x00050>
  at System.MonoCustomAttrs.GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,bool) <0x00035>
  at System.MonoType.GetCustomAttributes (bool) <0x00022>
  at MainClass.Main () <0x0001d>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int
(object,intptr,intptr,intptr) <0xffffffff>

mono --verify-all bug-0.exe 

No error at all!

NET

Unhandled Exception: System.Reflection.CustomAttributeFormatException: Binary
fo
rmat of the specified custom attribute was invalid.
   at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule,
I
RuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
   at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module,
IRu
ntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule
decora
tedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType
attributeFi
lterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean
isDecorate
dTargetSecurityTransparent)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type,
Ru
ntimeType caType, Boolean inherit)
   at System.RuntimeType.GetCustomAttributes(Boolean inherit)
   at MainClass.Main()

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