Wireshark-bugs: [Wireshark-bugs] [Bug 1915] Opening Capture Options Windows sometimes causes Wir

Date: Sun, 14 Oct 2007 22:49:50 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1915


wmeier@xxxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Major                       |Blocker
           Priority|Medium                      |High




------- Comment #2 from wmeier@xxxxxxxxxxx  2007-10-14 22:49 GMT -------
Jim:  Thanks for the detailed report.

OK: I've done a bit of testing and debugging and narrowed the problem down to
the GtkOptionMenu widget apparently being somehow broken in Windows GTK 2.12.0
(with Glib 2.14.1). (I'm running Windows XP SP2).

When I run the latest WS SVN with the MSVC 6 debugger in my environment I
always trap with a "User Breakpoint" in ntdll.dll at some point *after* the
GtkOptionMenu widget is used. 

If I skip over or comment out just the code using GtkOptionMenu, everything is
AOK (other than that menu being missing of course).

I'm guessing the GtkOptionMenu widget somehow has a problem such that it fails
when the widget is actually displayed.

In fact, it appears that this problem occurs for many if not all of the WS
usages of GtkOptionMenu.

I get the same failure for the cases that I've tried:
Capture ! Options, Edit ! Prefs , Analyze ! Decode As and Follow_Stream

I should note that when running WS without the debugger, it takes more effort
(repeated tries) before the problem occurs.

Given the above IMHO I'm marking this report as 'Blocker' for now.

------

A quick look at bugzilla.gnome.org doesn't show any relevant reports about
GtkOptionMenu.

I've not yet tried the previous version of Windows GTK 2 but will do so
tomorrow.

The GtkOptionMenu widget appears to work AOK on GTK1 Windows WS.

So: one option might be to replace the WS use of GTK2 GtkOptionMenu by the use
of GtkComboBox (since the GTK2 documentation says GtkOptionMenu is "deprecated
since 2.4").

Comments, anyone ?

Bill


-- 
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.