-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Users seeing STATUS_CANCELLED from PacketReceivePacket() #1903
Comments
That sounds reasonable. I'll take a closer look at making these changes after the next release (this week, I hope), since I want this to be a solid bugfix release without new features. |
I came here from Wireshark's bug 16329, referenced above. I figured adding more details here instead of there would be better, sorry if this isn't the correct place. I'll move my report there if this isn't appropriate. It's basically the same error reported there:
But, in my case I'm getting this very consistently when sending Windows 10 into hibernation, while Wireshark is running a capture, on a WIFI interface. This messages appears when I restart from the hibernation and switch back to Wireshark. This is with Wireshark 3.2.1.0 , with Npcap version 0.9986. Hardware is a Dell Latitude laptop, with Intel Dual Band wireless AC 7265, driver version 18.33.17.1. Running on Windows 10 (build 18363.657), |
See nmap/nmap#1903. This should allow capture to continue across things like a system sleep or installation of a new filter driver.
This should be resolved in Npcap 0.9988, released today. |
This is still occurring with Npcap 0.9990. |
coming from wireshark bug 16329, I assume it is the same bug (did not catch all details). I saw it today with Wireshark 3.2.4 and Npcap 0.9991 I was capturing from wifi generated by a test device, doing a netcat transfer test. 3.2.4 (v3.2.4-0-g893b5a5e1e3e) Compiled (64-bit) with Qt 5.12.8, with WinPcap SDK (WpdPack) 4.1.2, with GLib Running on 64-bit Windows 10 (1903), build 18362, with Intel(R) Core(TM) Built using Microsoft Visual Studio 2019 (VC++ 14.25, build 28614). |
As of the most recent commit, the driver's read routine returns |
That error has been reported in Wireshark bug 16329 and bug 16355.
It looks as if the most likely reason for that would be that
NPF_Pause()
is called beforepcap_dispatch()
/pcap_loop()
withoutNPF_Restart()
also having been called afterNPF_Pause()
but before the libpcap routine.According to Pausing a Driver Stack; might that be occurring due to adding (or removing?) a binding? The second bug involves disconnecting from the Wi-Fi network, which might tweak bindings if, for example, a disconnected adapter doesn't have the Internet protocol stack bound to it but a connected adapter does.
Is this covered by the comment
in
NPF_Read()
?And should there be
OpenPausing
andOpenPaused
states, so that the instance isn't marked as "closing" or "closed" if it's just being paused or finished being paused?The text was updated successfully, but these errors were encountered: