Wireshark-bugs: [Wireshark-bugs] [Bug 6848] New: 5 or 30 second UI hang when adding "ip host ...

Date: Fri, 17 Feb 2012 06:42:30 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6848

           Summary: 5 or 30 second UI hang when adding "ip host ..."
                    capture filter in Capture Options Dialog
           Product: Wireshark
           Version: 1.6.5
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: harjoc@xxxxxxxxx


Build Information:
Version 1.6.5 (SVN Rev 40429 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 (32-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, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.10.3,
with
Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Jan
10 2012), with AirPcap.

Running on 32-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.10.3, Gcrypt 1.4.6, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 21022

--
Steps to reproduce:
- open Capture Options dialog
- try to enter "ip host 123" as Capture Filter

Result:
- the wireshark UI hangs for 5 secs (when typing an IP) or 30 secs (when typing
a hostname), the mouse pointer disappears
- Alt-Tab to other applications, etc still works


It feels like a synchronous resolve is taking place, causing the UI to hang. 

This doesn't happen on wireshark-1.7, or on linux (1.6.2). I haven't yet tried
older versions on windows, or other windowses except win7.

It also doesn't happen when I enter capture filters that don't contain "ip
host...".

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