ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: Abhik Sarkar <sarkar.abhik@xxxxxxxxx>
Date: Tue, 11 May 2010 07:44:26 +0400
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
>
>
>     On Sun, May 9, 2010 at 10:34 PM, j.snelders <j.snelders@xxxxxxxxxx
>     <mailto:j.snelders@xxxxxxxxxx>> wrote:
>
>         Hi all,
>
>         SVN 32686
>         I get the same error (column-utils.c:879:???) running TShark on:
>         64-bit Windows 7, build 7600
>         64-bit Windows Server 2008 R2, build 7600
>
>
>         SVN 32692 and higher (the latest version I tried is SVN-32727):
>         Unable to capture with Wireshark and TShark, because "The
>         capture session
>         could not be initiated ()" on:
>         64-bit Windows 7, build 7600
>         64-bit Windows Server 2008 R2, build 7600
>         Windows XP Service Pack 3, build 2600
>
>         $ tshark -D
>         1. \Device\NPF_{E859D76E-155B-4512-ACB6-B1B2A07914DB} (Intel(R)
>         PRO/1000
>         MT Network Connection)
>
>         $ tshark -i 1
>         Capturing on Intel(R) PRO/1000 MT Network Connection
>         tshark: The capture session could not be initiated ().
>
>         Please check that
>         "\Device\NPF_{E859D76E-155B-4512-ACB6-B1B2A07914DB}" is
>         the proper interface.
>         Help can be found at:
>               http://wiki.wireshark.org/WinPcap
>               http://wiki.wireshark.org/CaptureSetup
>         0 packets captured
>
>         Any ideas?
>
>         Thanks
>         Joan
>
>         On Thu, 6 May 2010 10:37:13 -0400 Chris Maynard wrote:
>         Yes, I?m seeing the same thing on Windows with the same SVN
>         version, 32686.
>
>         From: wireshark-dev-bounces@xxxxxxxxxxxxx
>         [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx
>         <mailto:wireshark-dev-bounces@xxxxxxxxxxxxx>]
>         On Behalf Of Abhik Sarkar
>         Sent: Thursday, May 06, 2010 10:00 AM
>         To: Developer support list for Wireshark
>         Subject: [Wireshark-dev] tshark (Windows) not working
>
>         Hi All,
>
>         I can't get tshark to work anymore. I get this error:
>         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>
>
>         It seems to be related to the changes related to the timestamps
>         which Stig
>         has been working on. Is anyone else facing issues?
>
>         I am on revision 32686.
>
>         Thanks,
>         Abhik.
>
>
>
>
>         ___________________________________________________________________________
>         Sent via:    Wireshark-dev mailing list
>         <wireshark-dev@xxxxxxxxxxxxx <mailto:wireshark-dev@xxxxxxxxxxxxx>>
>         Archives:    http://www.wireshark.org/lists/wireshark-dev
>         Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>                     mailto:wireshark-dev-request@xxxxxxxxxxxxx
>         <mailto:wireshark-dev-request@xxxxxxxxxxxxx>?subject=unsubscribe
>
>
>
>
> ------------------------------------------------------------------------
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


--
Join us for Sharkfest ’10! · Wireshark® Developer and User Conference
Stanford University, June 14-17 · http://www.cacetech.com/sharkfest.10/
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe