GNOME Bugzilla – Bug 749715
segfault at any time
Last modified: 2016-09-02 00:19:05 UTC
Applet crashes often, so I'm running it in gdb and this is what I found out so far... (gdb) bt
+ Trace 235080
(gdb) print *applet $1 = {parent_instance = {g_type_instance = {g_class = 0x6fdc50}, ref_count = 2, qdata = 0x9556f0}, session_bus = 0x6c8c00, nm_client = 0x0, agent = 0x0, gsettings = 0x0, mm1 = 0x0, mm1_running = 6678880, visible = 0, permissions = {4138924323, 32767, NM_CLIENT_PERMISSION_RESULT_NO, NM_CLIENT_PERMISSION_RESULT_UNKNOWN, 64, NM_CLIENT_PERMISSION_RESULT_UNKNOWN, 7709584, NM_CLIENT_PERMISSION_RESULT_UNKNOWN, 8004912, NM_CLIENT_PERMISSION_RESULT_UNKNOWN, 8004944, NM_CLIENT_PERMISSION_RESULT_UNKNOWN}, ethernet_class = 0x0, wifi_class = 0x100000002, broadband_class = 0x0, bt_class = 0x0, wimax_class = 0x0, vlan_class = 0x5f, bond_class = 0x7ffff7062a00, team_class = 0x0, bridge_class = 0x0, infiniband_class = 0x0, update_icon_id = 0, tip = 0x65e960 "\260xe", animation_step = 6714661, animation_id = 0, icon_theme = 0x3, icon_cache = 0x40, fallback_icon = 0x75a390, icon_size = 7990112, icon_layers = {0x79eb80, 0x0}, app_indicator = 0x200000002, update_menu_id = 0, networking_enabled_item = 0x0, networking_enabled_toggled_id = 0, wifi_enabled_item = 0x5f, wifi_enabled_toggled_id = 4144376320, wwan_enabled_item = 0x0, wwan_enabled_toggled_id = 0, wimax_enabled_item = 0x0, wimax_enabled_toggled_id = 0, info_menu_item = 0x65e960, connections_menu_item = 0x7ffff6b4f2d6, info_dialog_ui = 0xe3, notification = 0x40, secrets_reqs = 0x75a390} (gdb) print applet->icon_cache $2 = (GHashTable *) 0x40 The icon cache pointer is set to a clearly wrong value. I will continue researching this.
Note: I'm building with appindicator support.
I was lucky. A simple watch on applet->icon_cache and new run lead got me to the point where the wrong value is assigned. (gdb) Continuing. Hardware watchpoint 1: -location applet->icon_cache Old value = (GHashTable *) 0x0 New value = (GHashTable *) 0x40 0x00007ffff57be684 in ?? () from /usr/lib64/libgobject-2.0.so.0 (gdb) bt
+ Trace 235081
applet->icon_cache is only assigned when creating the hash table with g_hash_table_new_full(). So, there has to be a memory corruption or something. Can you step through applet.c:initable_init() to see if things are properly inited? Are you able to enable more debugging symbols?
I think these bugs are fixed. If you experience new crashes, please report. Sorry for not hunting this down in time.