【发布时间】:2011-06-20 09:50:38
【问题描述】:
每次我在 LINQPad 中运行最简单的查询时都会崩溃。
我已经尝试了所有明显的东西,从重新启动机器到获取最新版本等。系统上最近唯一的变化是安装 VS2010 SP1。
关于如何让它恢复运行的任何想法,或者问题的根源可能是什么?两个事件如下:
应用程序错误
错误应用程序名称:LINQPad.exe,版本:4.31.0.0,时间戳:0x4cfb29be
故障模块名称:KERNELBASE.dll,版本:6.1.7601.17514,时间戳:0x4ce7bafa
异常代码:0xe0434352
故障偏移:0x0000b727
故障进程ID:0x18d8
错误应用程序启动时间:0x01cc2f2350f6d975
错误的应用程序路径:C:\Program Files\LINQPad4\LINQPad.exe
错误模块路径:C:\Windows\syswow64\KERNELBASE.dll
报告 ID:992bfc75-9b16-11e0-9419-b8ac6f2e5a9a
.NET 运行时错误
应用程序:LINQPad.exe
框架版本:v4.0.30319
说明:进程因未处理的异常而终止。
异常信息:System.Reflection.TargetInvocationException
堆栈:
在 System.RuntimeMethodHandle._InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeType)
在 System.RuntimeMethodHandle.InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.Signature, System.Reflection.MethodAttributes, System.RuntimeType)
在 System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, Boolean)
在 System.Delegate.DynamicInvokeImpl(System.Object[])
在 System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry)
在 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(System.Object)
在 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry)
在 System.Windows.Forms.Control.InvokeMarshaledCallbacks()
在 System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
在 System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
在 System.Windows.Forms.Control.Invoke(System.Delegate)
在 LINQPad.UI.QueryControl._query_QueryStarted(System.Object, System.EventArgs)
在 LINQPad.Query.OnQueryStarted()
在 LINQPad.Query.Run(System.String)
在 LINQPad.Query.Run()
在 LINQPad.UI.QueryControl.Run()
在 LINQPad.UI.QueryControl.btnExecute_Click(System.Object, System.EventArgs)
在 System.Windows.Forms.Control.OnClick(System.EventArgs)
在 System.Windows.Forms.Button.OnClick(System.EventArgs)
在 System.Windows.Forms.Button.OnMouseUp(System.Windows.Forms.MouseEventArgs)
在 LINQPad.UI.ImageButton.OnMouseUp(System.Windows.Forms.MouseEventArgs)
在 System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
在 System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.ButtonBase.WndProc(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.Button.WndProc(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
在 System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
在 System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
在 System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
在 System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
在 LINQPad.Program.Run(System.String, Boolean, System.String, Boolean, Boolean, System.String)
在 LINQPad.Program.Go(System.String[])
在 LINQPad.Program.Start(System.String[])
在 LINQPad.ProgramStarter.Run(System.String[])
在 LINQPad.Loader.Main(System.String[])
【问题讨论】:
-
您是否更改过系统“caspol”安全设置?
-
您的错误与 stackoverflow 异常有关。追根溯源,求作者写出更好的代码:)