After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660513 - crash when icon not found
crash when icon not found
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-29 19:27 UTC by Christian Persch
Modified: 2011-10-17 12:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
shell: Don't crash when loading the icon fails (685 bytes, patch)
2011-09-29 19:28 UTC, Christian Persch
committed Details | Review

Description Christian Persch 2011-09-29 19:27:40 UTC
** (lt-gnome-control-center:21060): WARNING **: Could not find icon

Program received signal SIGSEGV, Segmentation fault.
0x00da05c8 in g_value_object_collect_value (value=0xbfffe58c, n_collect_values=1, collect_values=0xbfffe54c, collect_flags=0)
    at gobject.c:3073
3073	      else if (!g_value_type_compatible (G_OBJECT_TYPE (object), G_VALUE_TYPE (value)))
(gdb) where
  • #0 g_value_object_collect_value
    at gobject.c line 3073
  • #1 gtk_list_store_set_valist_internal
    at gtkliststore.c line 1048
  • #2 gtk_list_store_insert_with_values
    at gtkliststore.c line 2241
  • #3 cc_shell_model_add_item
    at cc-shell-model.c line 201
  • #4 reload_menu
    at gnome-control-center.c line 716
  • #5 setup_model
    at gnome-control-center.c line 752

g-c-c git master as of today.
Comment 1 Christian Persch 2011-09-29 19:28:12 UTC
Created attachment 197805 [details] [review]
shell: Don't crash when loading the icon fails
Comment 2 Christian Persch 2011-10-16 11:29:22 UTC
Ping? Ok to commit this?
Comment 3 Bastien Nocera 2011-10-17 12:58:32 UTC
Pushed to gnome-3-2 and master, thanks!

Attachment 197805 [details] pushed as e1dbaef - shell: Don't crash when loading the icon fails