https://bugzilla.novell.com/show_bug.cgi?id=691433
https://bugzilla.novell.com/show_bug.cgi?id=691433#c0 Summary: LINQ statements cause Mono.CSharp.Evaluator to crash with an InternalErrorException Classification: Mono Product: Mono: Compilers Version: SVN Platform: x86 OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: msa...@novell.com ReportedBy: roman.stof...@gamlor.info QAContact: mono-bugs@lists.ximian.com Found By: --- Blocker: --- Created an attachment (id=427745) --> (http://bugzilla.novell.com/attachment.cgi?id=427745) TestCase causing the exception Description of Problem: When trying to run a statement with a LINQ expression an InternalErrorException is thrown. Running on .NET 4.0 on Windows 7. Compiled with Mono.CSharp project with Visual Studio 2010 using the solution-file. Version: From Github, master-branch, commit: 207cdd892939dffbcbca Steps to reproduce the problem: 1. Running on .NET with Windows 7. 2. Compiled an executed with .NET 4.0. Used the Solution-file (mcs/class/Mono.CSharp/Mono.CSharp.sln) to compile the project with Visual Studio 2010. 3. Run the example program (See also provided test case) Actual Results: Exception: Internal compiler error at Internal(1,1):: exception caught while emitting Name: Host Attributes: 150 Method Signature: Length: 5 Arguments: 0 Signature: 0 0 1 16 28 0 Mono.CSharp.InternalErrorException : VariableInfo is null and the variable `strings' is not used at Mono.CSharp.LocalVariable.CreateBuilder(EmitContext ec) in statement.cs: line 1593 at Mono.CSharp.BlockVariableDeclaration.DoEmit(EmitContext ec) in statement.cs: line 1368 at Mono.CSharp.Statement.Emit(EmitContext ec) in statement.cs: line 69 at Mono.CSharp.Block.DoEmit(EmitContext ec) in statement.cs: line 2035 at Mono.CSharp.Block.Emit(EmitContext ec) in statement.cs: line 2045 at Mono.CSharp.ExplicitBlock.Emit(EmitContext ec) in statement.cs: line 2177 at Mono.CSharp.ToplevelBlock.Emit(EmitContext ec) in statement.cs: line 2918 at Mono.CSharp.MethodData.Emit(DeclSpace parent) in method.cs: line 2021 at Mono.CSharp.MethodOrOperator.Emit() in method.cs: line 686 at Mono.CSharp.Method.Emit() in method.cs: line 1232 at Mono.CSharp.TypeContainer.EmitType() in class.cs: line 1968 at Mono.CSharp.Evaluator.CompileBlock(Class host, Undo undo, Report Report) in eval.cs: line 659 at Mono.CSharp.Evaluator.Compile(String input, ref CompiledMethod compiled) in eval.cs: line 231 at Mono.CSharp.Evaluator.Evaluate(String input, ref Object result, ref Boolean result_set) in eval.cs: line 298 at Mono.CSharp.Evaluator.Run(String statement) in eval.cs: line 391 Expected Results: Expected that the LINQ statement is exectued. How often does this happen? -Everytime. Additional Information: -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs