[Mono-bugs] [Bug 669808] New: MethodBase.GetCustomAttributes crashes on 2.10 RC2
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Feb 6 15:57:38 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=669808
https://bugzilla.novell.com/show_bug.cgi?id=669808#c0
Summary: MethodBase.GetCustomAttributes crashes on 2.10 RC2
Classification: Mono
Product: Mono: Class Libraries
Version: 2.10.x
Platform: x86
OS/Version: Windows 7
Status: NEW
Severity: Critical
Priority: P5 - None
Component: CORLIB
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tomas.matousek at microsoft.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; MS-RTC LM 8; Tablet PC
2.0)
MethodBase.GetCustomAttributes crashes in certain scenarios:
C:\Temp\MonoBug>mono IronRuby.Tests.exe ExceptionArg2
Stacktrace:
at (wrapper managed-to-native) System.Reflection.MonoMethod.get_base_method
(System.Reflection.MonoMethod,bool) <0xfff
fffff>
at System.Reflection.MonoMethod.GetBaseMethod () <0x00012>
at System.MonoCustomAttrs.GetBase
(System.Reflection.ICustomAttributeProvider) <0x0014b>
at System.MonoCustomAttrs.GetCustomAttributes
(System.Reflection.ICustomAttributeProvider,System.Type,bool) <0x0046f>
at System.Reflection.MonoMethod.GetCustomAttributes (System.Type,bool)
<0x00018>
at IronRuby.Runtime.RubyStackTraceBuilder.TryGetStackFrameInfo
(System.Diagnostics.StackFrame,string&,string&,int&) <0
x0017f>
at IronRuby.Runtime.RubyStackTraceBuilder.AddBacktrace
(System.Collections.Generic.IEnumerable`1<System.Diagnostics.St
ackFrame>,int,bool) <0x001e4>
at IronRuby.Runtime.RubyStackTraceBuilder..ctor
(IronRuby.Runtime.RubyContext,System.Exception,System.Diagnostics.Stac
kTrace,bool) <0x00056>
at IronRuby.Runtime.RubyExceptionData.CaptureExceptionTrace
(IronRuby.Runtime.RubyScope) <0x000a6>
at IronRuby.Runtime.RubyOps.CanRescue
(IronRuby.Runtime.RubyScope,System.Exception) <0x00116>
at (wrapper dynamic-method) object.â,`â,o.#.0.1.ExceptionArg2.rb
(System.Runtime.CompilerServices.Closure,IronRuby.Run
time.RubyScope,object) <0x008d5>
at Microsoft.Scripting.Interpreter.LightLambda.Run2<T0, T1, TRet> (T0,T1)
<0x00081>
at IronRuby.Runtime.RubyScriptCode.Run
(Microsoft.Scripting.Runtime.Scope,bool) <0x000dd>
at IronRuby.Runtime.RubyScriptCode.Run (Microsoft.Scripting.Runtime.Scope)
<0x00015>
at IronRuby.Tests.Tests.CompilerTest (string,Microsoft.Scripting.ErrorSink)
<0x001d5>
at IronRuby.Tests.Tests.CompilerTest (string,int,int) <0x0003e>
at IronRuby.Tests.Tests.CompilerTest (string) <0x00014>
at IronRuby.Tests.Tests.<ExceptionArg2>b__27f () <0x00015>
at IronRuby.Tests.Tests.RedirectOutput (System.IO.TextWriter,System.Action)
<0x000f3>
at IronRuby.Tests.Tests.CompareOutput
(System.Action,string,IronRuby.Tests.Tests/OutputFlags) <0x00078>
at IronRuby.Tests.Tests.AssertOutput
(System.Action,string,IronRuby.Tests.Tests/OutputFlags) <0x00017>
at IronRuby.Tests.Tests.AssertOutput (System.Action,string) <0x00015>
at IronRuby.Tests.Tests.ExceptionArg2 () <0x0004b>
at IronRuby.Tests.Driver.RunTestCase (IronRuby.Tests.TestCase) <0x0009c>
at IronRuby.Tests.Driver.RunUnitTests
(System.Collections.Generic.List`1<string>) <0x00454>
at IronRuby.Tests.Driver.Run
(System.Collections.Generic.List`1<string>,string) <0x001a0>
at IronRuby.Tests.Driver.Main (string[]) <0x00262>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <0xffffffff>
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Reproducible: Always
Steps to Reproduce:
1. Extract attached .zip file (or build IronRuby from
github.com/ironlanguages/main)
2. Run mono IronRuby.Tests.exe ExceptionArg2
Actual Results:
Crash.
Expected Results:
The test passes.
--
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