开发者

Problem with SharpPCap

开发者 https://www.devze.com 2023-01-06 09:46 出处:网络
I get BSOD almost every time I abort the thread or close the device. Somebody with the same issues? EDIT: I saw that it happens on the N-th time I close my app, even if I don\'t close the devices开发

I get BSOD almost every time I abort the thread or close the device. Somebody with the same issues?

EDIT: I saw that it happens on the N-th time I close my app, even if I don't close the devices开发者_C百科.


It might be a bug in WinPcap driver.

The recently released version of WinPcap (4.1.2) fixes a bug that can cause a BSOD.

See WinPcap 4.1.2 Change Log.


If you get a BSOD, then this must be driver related, the WinPCAP or SharpPCAP version you use can barely be resposible (directly) of this. Check for updates or fixes for your NIC.

To check which driver is responsible have a look at the minidump (in `C:\%WINDIR%\Minidump) file with WinDbg. If you didn't write device drivers yet handling WinDbg might be a bit tedious. That would show you the culprit place, what I suppose is in the network card driver or related to it.

0

精彩评论

暂无评论...
验证码 换一张
取 消