Wireshark-bugs: [Wireshark-bugs] [Bug 8876] New: Errors in preferences preceding "gui.console_op
Date: Sun, 30 Jun 2013 19:39:21 +0000
Bug ID 8876
Summary Errors in preferences preceding "gui.console_open" are not displayed in the console.
Classification Unclassified
Product Wireshark
Version 1.11.x (Experimental)
Hardware All
OS All
Status UNCONFIRMED
Severity Minor
Priority Low
Component Wireshark
Assignee bugzilla-admin@wireshark.org
Reporter turney_cal@emc.com
Attachment #11107 Flags review_for_checkin?

Created attachment 11107 [details]
Move the 'gui.console_open' to the top of the list in prefs_register_modules()
of prefs.c

Build Information:
Version 1.11.0-50214-dev (SVN Rev Unknown from unknown)

Copyright 1998-2013 Gerald Combs <gerald@wireshark.org> 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.24.14, with Cairo 1.10.2, with Pango 1.30.1, with
GLib 2.34.1, with WinPcap (4_1_3), with libz 1.2.5, without POSIX capabilities,
without libnl, with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.1, without Python,
with GnuTLS 2.12.18, with Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with
PortAudio V19-devel (built Jun 28 2013), with AirPcap.

Running on 64-bit Windows 7 Service Pack 1, build 7601, with WinPcap version
4.1.3 (packet.dll version 4.1.0.2980), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.
Intel(R) Xeon(R) CPU           E5507  @ 2.27GHz, with 4093MB of physical
memory.


Built using Microsoft Visual C++ 10.0 build 40219
------------

--
Errors in preferences preceding "gui.console_open" are not immediately
displayed in the console:  If a gui.console_open is set to "AUTOMATIC" or
"ALWAYS" and an error or warning occurs in a preference previous to it, the
warning is not displayed in the console window because the window is not yet
open. However, if the user switches to another profile and returns, the
messages will be displayed.

The problem can be easily reproduced by editing he preferences file and placing
a syntax error in one of the prefs before "gui.console_open", start Wireshark,
and/or select that profile.   

Fix: Move the gui.console_open to the top of the list in
prefs_register_modules() of prefs.c. Existing preferences files can be
corrected by saving them.


You are receiving this mail because:
  • You are watching all bug changes.