Wireshark-bugs: [Wireshark-bugs] [Bug 1615] New: Large PDU decode line expand/collapse problems

Date: Thu, 24 May 2007 16:42:40 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1615

           Summary: Large PDU decode line expand/collapse problems
           Product: Wireshark
           Version: 0.99.5
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jhg@xxxxxxxxxxxxxxx


Build Information:
Version 0.99.5 (SVN Rev 20677)

Copyright 1998-2007 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 with GTK+ 2.10.7, with GLib 2.12.7, with WinPcap (version unknown),
with libz 1.2.3, with libpcre 6.4, with Net-SNMP 5.4, with ADNS, with Lua 5.1,
with GnuTLS 1.6.1, with Gcrypt 1.2.3, with MIT Kerberos, with PortAudio
PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0
(packet.dll version 4.0.0.755), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0 build 8804

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.

--
In the middle pane of the Wireshark window (protocol decode), various
subsections of the protocols are shown with "+" (expand buttons).  If the
PDU is large such that the progress dialog is shown during decode, then
there are several problems, all of which look related.

1) Wireshark SOMETIMES appears to parse the PDU twice; the progress dialog
   displays, takes 3-4 seconds to complete, then vanishes and reappears
   for another 3-4 seconds.  I can't reproduce this reliably, but it seems
   to happen the first time you do this after opening Wireshark.

2) upon completion of the progress dialog the clicked line is not expanded.  
   You have to click the "+" a second time to actually expand the line; this
   time the PDU is not reparsed (i.e. the line expands immediately).  
   This is 100% repeatable.

3) In the expanded view, if there are nested collapsed lines, when you 
   click on the "+" Wireshark appears to reparse the entire PDU (this may
   be working as designed -- I don't know).  You still have to click twice
   to actually expand the line.

4) SOMETIMES, when trying to collapse an expanded line (click on the '-'),
   the PDU is reparsed: the progress dialog comes up and goes through its
   usual 3-4 seconds of work.  If this happens, the line does not collapse
   until you click on the '-' a second time.

To reproduce:

1 Start with the packet capture file from Bug 1329.
2 Select packet #336 (a 245k PDU)
3 In the decode pane click on the JPEG line's "+"

The progress dialog will come up for a few seconds then disappear.
To actually get the line to expand you have to click the "+" again.

4 After the line is expanded, click on the '-' to collapse

The progress dialog is displayed. When it completes, the line is not collapsed.
Clicking on the '-' again collapses it.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.