In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article focuses on "how to solve the problem of Wireshark interface jam on Linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to solve the problem of Wireshark interface jam on Linux".
Problem: when I tried to open a pre-recorded packet dump in Wireshark on Ubuntu, its interface suddenly crashed, with the following error and warning on the terminal where I was running Wireshark. How can I solve this problem?
(wireshark:3480): GLib-GObject-WARNING * *: invalid unclassed pointer in cast to 'GObject' (wireshark:3480): GLib-GObject-CRITICAL * *: g_object_set_qdata_full: assertion' G_IS_OBJECT (object) 'failed (wireshark:3480): GLib-GObject-WARNING * *: invalid unclassed pointer in cast to' GtkRange' (wireshark:3480): Gtk-CRITICAL * *: gtk_range_get_adjustment: assertion 'GTK_IS_RANGE (range)' failed (wireshark:3480) ): GLib-GObject-WARNING * *: invalid unclassed pointer in cast to 'GtkOrientable' (wireshark:3480): Gtk-CRITICAL * *: gtk_orientable_get_orientation: assertion' GTK_IS_ORIENTABLE (orientable) 'failed (wireshark:3480): GLib-GObject-WARNING * *: invalid unclassed pointer in cast to' GtkScrollbar' (wireshark:3480): GLib-GObject-WARNING *: invalid unclassed pointer in cast to 'GtkWidget' (wireshark:3480): GLib-GObject-WARNING *: invalid unclassed pointer in cast to 'GObject' (wireshark:3480): GLib-GObject-CRITICAL * *: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed (wireshark:3480): Gtk-CRITICAL * *: gtk_widget_set_name: assertion 'GTK_IS_WIDGET (widget)' failed
Wireshark is a GUI-based packet capture and sniffing tool. This tool is widely used by network administrators, and network security engineers or developers are necessary for packet-level network analysis of various tasks, such as network failure, vulnerability testing, application debugging, or reverse protocol engineering. Wireshark allows real-time recording of packets and browsing of their protocol headers and payloads through a convenient graphical user interface.
This is Wireshark's UI, especially when running under the Ubuntu desktop, when you scroll up or down the grouping list view, or when you start loading a pre-recorded package dump file, it sometimes hangs or freezes with the following error.
Obviously, this error is caused by some incompatibility between Wireshark and the overlay scroll bar, which has not been resolved on Ubuntu desktops (for example, Ubuntu 15.04 desktops).
One way to prevent Wireshark's UI from getting stuck is to temporarily disable the overlay scroll bar. There are two ways to disable the overlay scroll bar on Wireshark, depending on how you start Wireshark on your desktop.
Command line solution
The overlay scroll bar can be disabled by setting the "LIBOVERLAY_SCROLLBAR" environment variable to "0".
So, if you start Wireshark from the command line on the terminal, you can disable the overlay scroll bar in Wireshark, as shown below.
Open your .bashrc file and define the following alias.
Alias wireshark= "LIBOVERLAY_SCROLLBAR=0 / usr/bin/wireshark" Desktop Startup solution
If you are using a desktop launcher to launch Wireshark, you can edit its desktop initiator file.
$sudo vi / usr/share/applications/wireshark.desktop
Find the line that starts with "Exec" and change it as follows.
Exec=env LIBOVERLAY_SCROLLBAR=0 wireshark f
Although this solution can help all desktop users at the system level, it is useless to be overwritten after upgrading Wireshark. If you want to keep the modified .folders file, copy it to your home directory as shown below.
Cp / usr/share/applications/wireshark.desktop ~ / .local / share/applications/ here, I believe you have a better understanding of "how to solve the problem of Wireshark interface jam on Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.