GNOME Bugzilla – Bug 767574
Crash while clicking around
Last modified: 2016-07-15 08:46:38 UTC
With Debian Sid/unstable and nm-applet 1.2.2-2, starting the applet in the window manager *awesome* and opening the menus with right and left clicking on the icon, the applet terminated with a segmentation fault. ``` nm-applet[2106]: segfault at 73206f80 ip b66dc878 sp bfca9db0 error 4 in libglib-2.0.so.0. 4800.1[b66a7000+127000] ``` Here is the stack trace from `coredumpctl info 2106`. ``` #0 0x00000000b66dc878 g_hash_table_remove_all (libglib-2.0.so.0) #1 0x0000000008057183 n/a (nm-applet) #2 0x00000000b67df7ec g_cclosure_marshal_VOID__VOID (libgobject-2.0.so.0) #3 0x00000000b67ddb6b g_closure_invoke (libgobject-2.0.so.0) #4 0x00000000b67efffc signal_emit_unlocked_R (libgobject-2.0.so.0) #5 0x00000000b67f8c96 g_signal_emit_valist (libgobject-2.0.so.0) #6 0x00000000b67f8fc5 g_signal_emit (libgobject-2.0.so.0) #7 0x00000000b705e295 theme_changed_idle (libgtk-3.so.0) #8 0x00000000b6db139c gdk_threads_dispatch (libgdk-3.so.0) #9 0x00000000b66ea600 g_idle_dispatch (libglib-2.0.so.0) #10 0x00000000b66edd8b g_main_dispatch (libglib-2.0.so.0) #11 0x00000000b66ee179 g_main_context_iterate (libglib-2.0.so.0) #12 0x00000000b66ee244 g_main_context_iteration (libglib-2.0.so.0) #13 0x00000000b68d7f2b g_application_run (libgio-2.0.so.0) #14 0x00000000080554bb main (nm-applet) #15 0x00000000b64b1517 __libc_start_main (libc.so.6) #16 0x00000000080555b5 _start (nm-applet) ```
Created attachment 329667 [details] [review] [PATCH] applet: fix handling of changed icon theme signal
(In reply to Beniamino Galvani from comment #1) > Created attachment 329667 [details] [review] [review] > [PATCH] applet: fix handling of changed icon theme signal LGTM. Note there is also G_CONNECT_SWAPPED, but your solution is nicer.
LGTM
Applied to master: https://git.gnome.org/browse/network-manager-applet/commit/?id=f0f11106eb988229ec6a813457ec504f64c2f22d and nma-1-2: https://git.gnome.org/browse/network-manager-applet/commit/?h=nma-1-2&id=be2f9525a637dd132416c4bc6da68e758cca168e
*** Bug 768655 has been marked as a duplicate of this bug. ***