Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Exception in Decompiler

$
0
0

Still getting this exception while debugging: If I click on "Continue" I can continue the debugging until next line, then this exception occurrs again, and so on...

 

 

SharpDevelop Version : 5.0.0.4218-Beta 3-193975c4

.NET Version         : 4.0.30319.18444

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : German (Germany) (de-DE)

Current UI language  : en

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 256472kb

GC Heap Memory       : 108290kb

 

Exception thrown:

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 modopt(System.Runtime.CompilerServices.CallConvThiscall) <Module>::?Release@?$CefRunnableFunction@P6MXABV?$CefStringBase@UCefStringTraitsUTF16@@@@0@ZU?$Tuple2@V?$CefStringBase@UCefStringTraitsUTF16@@@@V1@@@@@$$F$4PPPPPPPM@A@AEHXZ(CefRunnableFunction<void (__clrcall*)(CefStringBase<CefStringTraitsUTF16> const &,CefStringBase<CefStringTraitsUTF16> const &),Tuple2<CefStringBase<CefStringTraitsUTF16>,CefStringBase<CefStringTraitsUTF16> > >* modopt(System.Runtime.CompilerServices.IsConst) modopt(System.Runtime.CompilerServices.IsConst))

 ---> System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackSlot.ModifyStack(StackSlot[ stack, Int32 popCount, Int32 pushCount, ByteCode pushDefinition)

   at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDefinition methodDef)

   at ICSharpCode.Decompiler.ILAst.ILAstBuilder.Build(MethodDefinition methodDef, Boolean optimize, DecompilerContext context)

   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters)

   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDefinition methodDef, DecompilerContext context, IEnumerable`1 parameters)

   --- End of inner exception stack trace ---

   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDefinition methodDef, DecompilerContext context, IEnumerable`1 parameters)

   at ICSharpCode.Decompiler.Ast.AstBuilder.CreateMethod(MethodDefinition methodDef)

   at ICSharpCode.Decompiler.Ast.AstBuilder.AddTypeMembers(TypeDeclaration astType, TypeDefinition typeDef)

   at ICSharpCode.Decompiler.Ast.AstBuilder.CreateType(TypeDefinition typeDef)

   at ICSharpCode.Decompiler.Ast.AstBuilder.AddType(TypeDefinition typeDef)

   at ICSharpCode.ILSpyAddIn.ILSpyDecompilerService.CreateAstBuilder(DecompiledTypeReference name, CancellationToken cancellationToken)

   at ICSharpCode.ILSpyAddIn.ILSpyDecompilerService.DecompileType(DecompiledTypeReference name, CancellationToken cancellationToken)

   at ICSharpCode.ILSpyAddIn.ILSpyParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseFile(ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserService.ParseFile(FileName fileName, ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.ILSpyAddIn.ILSpySymbolSource.GetSymbols(IMethod method)

   at ICSharpCode.ILSpyAddIn.ILSpySymbolSource.GetSequencePoint(IMethod method, Int32 iloffset)

   at Debugger.StackFrame.get_NextStatement()

   at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.GetFullName(StackFrame frame, Boolean hasSymbols)

   at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.CreateItem(StackFrame frame, Boolean& previousItemIsExternalMethod)

   at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.<>c__DisplayClass9.<RefreshPad>b__8(StackFrame f)

   at Debugger.AddIn.TreeModel.Utils.ProcessItem[T](Process process, T item, Action`1 work, Int64 debuggeeStateWhenEnqueued)

 

---- Recent log messages:

17:47:33.172 [5] DEBUG - Setting property SolutionName to '...'

17:47:33.172 [5] DEBUG - Setting property SolutionPath to '...sln'

17:47:33.238 [8] DEBUG - Received command ReportEvent

17:47:33.277 [8] DEBUG - Received command ReportEvent

17:47:33.414 [8] DEBUG - Received command ReportEvent

17:47:33.416 [8] DEBUG - Received command ReportEvent

17:47:33.416 [8] DEBUG - Received command BuildDone

17:47:33.416 [8] INFO - Finished building ..., success=True

17:47:33.417 [1] INFO - Debugger Command: Start (withDebugger=True)

17:47:33.417 [1] INFO - Saving layout file: C:\Users\RS\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Default.xml

17:47:33.418 [1] INFO - Loading layout file: C:\Users\RS\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Debug.xml, hideAllLostPads=False

17:47:33.594 [1] DEBUG - ChooseLayoutCommand.LayoutChanged(object,EventArgs)

17:47:33.594 [1] DEBUG - ChooseLayoutCommand.Run()

17:47:33.594 [1] INFO - Saving layout file: C:\Users\RS\AppData\Roaming\ICSharpCode\SharpDevelop5\layouts\Debug.xml

17:47:37.874 [1] INFO - Open file ....cs

17:47:37.876 [1] DEBUG - Resolved (Line 582, Col 5) to 

17:47:37.913 [1] INFO - Evaluated node 'cookie' in 3 ms

17:47:37.913 [1] INFO - Evaluated node 'count' in 0 ms

17:47:37.913 [1] INFO - Evaluated node 'total' in 0 ms

17:47:37.914 [1] INFO - Evaluated node 'deleteCookie' in 0 ms

17:47:37.914 [1] INFO - Evaluated node 'this' in 0 ms

17:47:37.917 [1] DEBUG - GetSymbols for: ilspy://.../bin/Debug/CefSharp.dll/_003CModule_003E.cs

17:47:40.121 [1] ERROR - Got DecompilerException while parsing ilspy://.../bin/Debug/CefSharp.dll/_003CModule_003E.cs

17:47:40.121 [1] ERROR - 

--> Exception:

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 modopt(System.Runtime.CompilerServices.CallConvThiscall) <Module>::?Release@?$CefRunnableFunction@P6MXABV?$CefStringBase@UCefStringTraitsUTF16@@@@0@ZU?$Tuple2@V?$CefStringBase@UCefStringTraitsUTF16@@@@V1@@@@@$$F$4PPPPPPPM@A@AEHXZ(CefRunnableFunction<void (__clrcall*)(CefStringBase<CefStringTraitsUTF16> const &,CefStringBase<CefStringTraitsUTF16> const &),Tuple2<CefStringBase<CefStringTraitsUTF16>,CefStringBase<CefStringTraitsUTF16> > >* modopt(System.Runtime.CompilerServices.IsConst) modopt(System.Runtime.CompilerServices.IsConst))

 ---> System.OverflowException: Arithmetic operation resulted in an overflow.

   at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackSlot.ModifyStack(StackSlot[ stack, Int32 popCount, Int32 pushCount, ByteCode pushDefinition)

   at ICSharpCode.Decompiler.ILAst.ILAstBuilder.StackAnalysis(MethodDefinition methodDef)

   at ICSharpCode.Decompiler.ILAst.ILAstBuilder.Build(MethodDefinition methodDef, Boolean optimize, DecompilerContext context)

   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters)

   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDefinition methodDef, DecompilerContext context, IEnumerable`1 parameters)

   --- End of inner exception stack trace ---

   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDefinition methodDef, DecompilerContext context, IEnumerable`1 parameters)

   at ICSharpCode.Decompiler.Ast.AstBuilder.CreateMethod(MethodDefinition methodDef)

   at ICSharpCode.Decompiler.Ast.AstBuilder.AddTypeMembers(TypeDeclaration astType, TypeDefinition typeDef)

   at ICSharpCode.Decompiler.Ast.AstBuilder.CreateType(TypeDefinition typeDef)

   at ICSharpCode.Decompiler.Ast.AstBuilder.AddType(TypeDefinition typeDef)

   at ICSharpCode.ILSpyAddIn.ILSpyDecompilerService.CreateAstBuilder(DecompiledTypeReference name, CancellationToken cancellationToken)

   at ICSharpCode.ILSpyAddIn.ILSpyDecompilerService.DecompileType(DecompiledTypeReference name, CancellationToken cancellationToken)

   at ICSharpCode.ILSpyAddIn.ILSpyParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseFile(ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.SharpDevelop.Parser.ParserService.ParseFile(FileName fileName, ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)

   at ICSharpCode.ILSpyAddIn.ILSpySymbolSource.GetSymbols(IMethod method)

   at ICSharpCode.ILSpyAddIn.ILSpySymbolSource.GetSequencePoint(IMethod method, Int32 iloffset)

   at Debugger.StackFrame.get_NextStatement()

   at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.GetFullName(StackFrame frame, Boolean hasSymbols)

   at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.CreateItem(StackFrame frame, Boolean& previousItemIsExternalMethod)

   at ICSharpCode.SharpDevelop.Gui.Pads.CallStackPad.<>c__DisplayClass9.<RefreshPad>b__8(StackFrame f)

   at Debugger.AddIn.TreeModel.Utils.ProcessItem[T](Process process, T item, Action`1 work, Int64 debuggeeStateWhenEnqueued)

17:47:40.122 [1] WARN - Stack trace of last exception log:

   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)

   at System.Environment.get_StackTrace()

   at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)

   at Debugger.AddIn.TreeModel.Utils.ProcessItem[T](Process process, T item, Action`1 work, Int64 debuggeeStateWhenEnqueued)

   at Debugger.AddIn.TreeModel.Utils.<>c__DisplayClass6`1.<EnqueueForEach>b__3()

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

   at System.Windows.Threading.DispatcherOperation.InvokeImpl()

   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Windows.Threading.DispatcherOperation.Invoke()

   at System.Windows.Threading.Dispatcher.ProcessQueue()

   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)

   at System.Windows.Threading.Dispatcher.Run()

   at System.Windows.Application.RunDispatcher(Object ignore)

   at System.Windows.Application.RunInternal(Window window)

   at System.Windows.Application.Run(Window window)

   at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.Run(IList`1 fileList)

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbenchInternal(Object settings)

   at ICSharpCode.SharpDevelop.Sda.CallHelper.RunWorkbench(WorkbenchSettings settings)

   at ICSharpCode.SharpDevelop.Sda.SharpDevelopHost.RunWorkbench(WorkbenchSettings settings)

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.RunApplication()

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Run()

   at ICSharpCode.SharpDevelop.Startup.SharpDevelopMain.Main(String[ args)


Viewing all articles
Browse latest Browse all 1764

Trending Articles