Wireshark-dev: Re: [Wireshark-dev] tshark (Windows) not working

From: Abhik Sarkar <sarkar.abhik@xxxxxxxxx>
Date: Tue, 11 May 2010 07:47:15 +0400
PS: Interestingly, when I open the Interface List dialog in Wireshark, it shows live values in "Packet" and "Packet/s" columns for the interface. However, when I "Start" the capture on the same interface, then it gives the error below.

On Tue, May 11, 2010 at 7:44 AM, Abhik Sarkar <sarkar.abhik@xxxxxxxxx> wrote:
It's still the same, Gerald :(

E:\wireshark-src>grep 32697 *
tshark.c: * $Id: tshark.c 32697 2010-05-06 23:51:37Z gerald $

E:\wireshark-src>dumpcap -i 6

The capture session could not be initiated ().

Please check that "\Device\NPF_{96896B6D-2F50-4415-B46F-6A59A1382DB1}" is the pr

oper interface.


Help can be found at:

       http://wiki.wireshark.org/WinPcap
       http://wiki.wireshark.org/CaptureSetup


E:\wireshark-src>


On Mon, May 10, 2010 at 11:17 PM, Gerald Combs <gerald@xxxxxxxxxxxxx> wrote:
Can you try r32697?

Abhik Sarkar wrote:
> I get the same error with dumpcap as well.
>
> I went back to 32687 (there seem to be some major changes to dumpcap in
> 32688) and dumpcap works, but tshark gives the original error I reported:
> E:\wireshark-src\wireshark-gtk2>dumpcap -i 2
> File: C:\DOCUME~1\sarkara\LOCALS~1\Temp\wiresharkXXXXa01288
> Packets: 31 Packets dropped: 0
>
> E:\wireshark-src\wireshark-gtk2>tshark -i 2
> Capturing on Intel(R) 82567LM Gigabit Network Connection
> **
> ERROR:column-utils.c:879:???: code should not be reached
>
> E:\wireshark-src\wireshark-gtk2>
>
> Then, I went back to 32682 (there are changes in 32683 to column-utils)
> and now it works at least.
>
> So, I am staying here for now!
>
> On Mon, May 10, 2010 at 10:02 AM, Abhik Sarkar <sarkar.abhik@xxxxxxxxx
> <mailto:sarkar.abhik@xxxxxxxxx>> wrote:
>
>     Hi Joan,
>
>     I am getting that error on both tshark and Wireshark with my build
>     (32727) on Windows (32 bit). I tried doing a distclean;
>     verify_tools; setup and build. It compiles without error, but
>     refuses to capture. Looks like I chose a bad time to code a few
>     changes ;-)
>
>     I haven't got around to investigating the issue in detail (yet)... I
>     hope someone beats me to it.
>
>     Regards,
>     Abhik