Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

应用程序中发生了未经处理的异常 #7

Open
lzgzhyf opened this issue May 31, 2018 · 1 comment
Open

应用程序中发生了未经处理的异常 #7

lzgzhyf opened this issue May 31, 2018 · 1 comment

Comments

@lzgzhyf
Copy link

lzgzhyf commented May 31, 2018

笔记本电脑,连接wifi后,抓包有延迟,过一段时间会出现异常信息
image
·************** 异常文本 **************
SharpPcap.PcapException: captureThread was aborted after 00:00:01
在 SharpPcap.LibPcap.PcapDevice.StopCapture()
在 NetPackCatchJsonLL.Shutdown()
在 LLHelper_AutoPlay.MainForm.Btn_NetCatch_Click(Object sender, EventArgs e)
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
·************** 已加载的程序集 **************
mscorlib
程序集版本:4.0.0.0
Win32 版本:4.7.3101.0 built by: NET472REL1LAST_B
基本代码:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

LLHelper_AutoPlay
程序集版本:1.0.0.0
Win32 版本:1.0.0.0
基本代码:file:///E:/phone/LLHelper_AutoPlay-master/LLHelper_AutoPlay/bin/Debug/LLHelper_AutoPlay.exe

System
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Windows.Forms
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
程序集版本:4.0.0.0
Win32 版本:4.7.3101.0 built by: NET472REL1LAST_B
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Newtonsoft.Json
程序集版本:10.0.0.0
Win32 版本:10.0.3.21018
基本代码:file:///E:/phone/LLHelper_AutoPlay-master/LLHelper_AutoPlay/bin/Debug/Newtonsoft.Json.DLL

System.Numerics
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Data
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

SharpPcap
程序集版本:4.2.0.0
Win32 版本:4.2.0.0
基本代码:file:///E:/HYF/LLHelper_AutoPlay-master/LLHelper_AutoPlay/bin/Debug/SharpPcap.DLL

PacketDotNet
程序集版本:0.13.0.0
Win32 版本:0.13.0.0
基本代码:file:///E:/HYF/LLHelper_AutoPlay-master/LLHelper_AutoPlay/bin/Debug/PacketDotNet.DLL

mscorlib.resources
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll

System.Windows.Forms.resources
程序集版本:4.0.0.0
Win32 版本:4.7.3056.0 built by: NET472REL1
基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll

·************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试程序,
而不是由此对话框处理。

@sharpoverflow
Copy link
Owner

这个看上去是抓包中途出错被强行切断线程了,单从错误报告上确实看不出具体原因.
1.尝试下重装winpcap,并且确保你的笔记本上装有.net4
2.尝试编译Release版本的程序

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants