https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13194

            Bug ID: 13194
           Summary: Capturing on Standard input returns error Bad file
                    descriptor
           Product: Wireshark
           Version: 2.2.2
          Hardware: x86-64
                OS: Ubuntu
            Status: UNCONFIRMED
          Severity: Major
          Priority: Low
         Component: TShark
          Assignee: bugzilla-ad...@wireshark.org
          Reporter: mikkalashni...@gmail.com

Build Information:
I tried with to different builds:

TShark (Wireshark) 2.2.2 (v2.2.2-0-g775fb08)

Copyright 1998-2016 Gerald Combs <ger...@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with libpcap, without POSIX capabilities, without libnl, with
GLib 2.48.1, with zlib 1.2.8, without SMI, without c-ares, without Lua, without
GnuTLS, without Gcrypt, without Kerberos, without GeoIP.

Running on Linux 4.4.0-51-generic, with locale LC_CTYPE=en_US.UTF-8,
LC_NUMERIC=ru_RU.UTF-8, LC_TIME=ru_RU.UTF-8, LC_COLLATE=en_US.UTF-8,
LC_MONETARY=ru_RU.UTF-8, LC_MESSAGES=en_US.UTF-8, LC_PAPER=ru_RU.UTF-8,
LC_NAME=ru_RU.UTF-8, LC_ADDRESS=ru_RU.UTF-8, LC_TELEPHONE=ru_RU.UTF-8,
LC_MEASUREMENT=ru_RU.UTF-8, LC_IDENTIFICATION=ru_RU.UTF-8, with libpcap version
1.7.4, with zlib 1.2.8.
Intel(R) Core(TM)2 Duo CPU     P7350  @ 2.00GHz

Built using gcc 5.4.0 20160609.

------------

TShark (Wireshark) 2.2.2 (Git Rev Unknown from unknown)

Copyright 1998-2016 Gerald Combs <ger...@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with libpcap, with POSIX capabilities (Linux), with libnl 3,
with GLib 2.48.1, with zlib 1.2.8, with SMI 0.4.8, with c-ares 1.10.0, with Lua
5.2.4, with GnuTLS 3.4.10, with Gcrypt 1.6.5, with MIT Kerberos, with GeoIP,
with nghttp2 1.7.1.

Running on Linux 4.4.0-51-generic, with locale LC_CTYPE=en_US.UTF-8,
LC_NUMERIC=ru_RU.UTF-8, LC_TIME=ru_RU.UTF-8, LC_COLLATE=en_US.UTF-8,
LC_MONETARY=ru_RU.UTF-8, LC_MESSAGES=en_US.UTF-8, LC_PAPER=ru_RU.UTF-8,
LC_NAME=ru_RU.UTF-8, LC_ADDRESS=ru_RU.UTF-8, LC_TELEPHONE=ru_RU.UTF-8,
LC_MEASUREMENT=ru_RU.UTF-8, LC_IDENTIFICATION=ru_RU.UTF-8, with libpcap version
1.7.4, with GnuTLS 3.4.10, with Gcrypt 1.6.5, with zlib 1.2.8.
Intel(R) Core(TM)2 Duo CPU     P7350  @ 2.00GHz

Built using gcc 5.4.0 20160609.

--
"tshark -i -"  or "cat data_20161103122747.pcap | wireshark -k -i -"
return error 
Capturing on Standard input
tshark: Unexpected error from select: Bad file descriptor.

On the same machine/OS I can successfully run these commands with the wireshark
2.0.8

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to