[Mono-bugs] [Bug 390023] New: Invalid IL exception in one testcase of BooCompiler. AttributesIntegration test fixture

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 13 19:52:05 EDT 2008


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

User cedricv at neonux.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=390023#c389886

           Summary: Invalid IL exception in one testcase of
                    BooCompiler.AttributesIntegration test fixture
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: cedricv at neonux.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


This does not fire an exception when run on MS.NET (additionnaly every compiled
testcase goes through peverify)


===

cedric at laptop:~/dev/workspace/boo/boo/tests/build$ nunit-console2
BooCompiler.AttributesIntegration.Tests.dll 
NUnit version 2.2.0
Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov,
Charlie Poole.
Copyright (C) 2000-2003 Philip Craig.
All Rights Reserved.

OS Version: Unix 2.6.22.14    Mono Version: 2.0.50727.42

......F........

Tests run: 15, Failures: 1, Not run: 0, Time: 2.721986 seconds

Failures:
1) BooCompiler.Tests.AttributesIntegrationTestFixture.attributes_5 :
/home/cedric/dev/workspace/boo/boo/tests/testcases/integration/attributes/attributes-5.boo:
BCE0011: An error occurred during the execution of the step
'Boo.Lang.Compiler.Steps.RunAssembly': 'Invalid IL code in
Attributes-5Module:Main (string[]): IL_003b: call      0x0a000007
'.

  at BooCompiler.Tests.AbstractCompilerTestCase.Run (System.String stdin,
Boo.Lang.Compiler.CompilerContext& context) [0x00000] 
  at BooCompiler.Tests.AbstractCompilerTestCase.RunAndAssert () [0x00000] 
  at BooCompiler.Tests.AbstractCompilerTestCase.RunCompilerTestCase
(System.String name) [0x00000] 
  at BooCompiler.Tests.AttributesIntegrationTestFixture.attributes_5 ()
[0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00057] in
/home/cedric/dev/workspace/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 

===


Interestingly, compared to #389886, this is not triggered when running it
outside of nunit :

cedric at laptop:~/dev/workspace/boo/boo/tests/build$ ./booc.exe -p:run
./testcases/integration/attributes/attributes-5.boo 
Boo Compiler version 0.8.1.2932 (CLR v2.0.50727.42)


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