Wireshark-bugs: [Wireshark-bugs] [Bug 7021] New: Wireshark crashes trying to use the remote capt
Date: Mon, 2 Apr 2012 02:16:40 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7021

           Summary: Wireshark crashes trying to use the remote capture
                    feature
           Product: Wireshark
           Version: 1.6.6
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: msz@xxxxxx


Created attachment 8125
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8125
Error screenshot

Build Information:
Version 1.6.6 (SVN Rev 41803 from /trunk-1.6)

Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
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 GTK+ 2.22.1, with GLib 2.26.1, with WinPcap (version
unknown), with libz 1.2.5, without POSIX capabilities, without libpcre, without
SMI, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.12.18, with
Gcrypt 1.4.6, without Kerberos, with GeoIP, with PortAudio V19-devel (built Mar
27 2012), with AirPcap.

Running on 64-bit Windows 7 Service Pack 1, build 7601, with WinPcap version
4.1.2 (packet.dll version 4.1.0.2001), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022
--
Wireshark crashes, throwing a Microsoft Visual C++ Runtime Library error,
trying to use the remote capture feature.

How to reproduce:

1-Install Wireshark 1.6.6 on Windows 7 Enterprise edition 64bit
2-Install on a Windows 2003 32bit WinPcap (in my scenario it is a VMWARE 8
virtual machine running on the same computer, bridged network card)
3-On the Windows 2003 run the command rpcapd.exe -n
4-Start on Windows 7 Wireshark 1.6.6 and click on Capture Options
5-Select REMOTE from the Interface dropdown list
6-enter the IP of the Windows 2003 in the HOST field and press OK

Result:

The application crashes with Microsoft Visual C++ Runtime Library error
(attached screenshot)

Further testing: 
-I tried to specify the port number as well (2002) but it is the same
-I tried to enter an invalid address (valid but unreachable) and Wireshark
correctly tell me that he's unable to retrieve the interface list.
So the error happens only it is able to contact the rpcapd deamon on the
destination host.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.