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 522756 - gnome-appearance-properties crashed with SIGSEGV in gnome_bg_create_thumbnail()
gnome-appearance-properties crashed with SIGSEGV in gnome_bg_create_thumbnail()
Status: RESOLVED FIXED
Product: gnome-desktop
Classification: Core
Component: libgnome-desktop
2.22.x
Other Linux
: Normal critical
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
: 539032 541997 545550 548906 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-16 13:27 UTC by Sebastien Bacher
Modified: 2008-12-05 02:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Sebastien Bacher 2008-03-16 13:27:19 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/200106

"Hi,
I just upgraded to Hardy from a Gutsy installation, now when I try to open Preferences -> Appearance, the window opens but I cannot do anything then it crashes.

  • #0 gnome_bg_create_thumbnail
    at gnome-bg.c line 1170
  • #1 gnome_wp_item_get_thumbnail
    at gnome-wp-item.c line 190
  • #2 wp_props_load_wallpaper
    at appearance-desktop.c line 169
  • #3 IA__g_hash_table_foreach
    at /build/buildd/glib2.0-2.15.6/glib/ghash.c line 1067
  • #4 wp_load_stuffs
    at appearance-desktop.c line 877
  • #5 g_idle_dispatch
    at /build/buildd/glib2.0-2.15.6/glib/gmain.c line 4143
  • #6 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.15.6/glib/gmain.c line 2065
  • #7 g_main_context_iterate
    at /build/buildd/glib2.0-2.15.6/glib/gmain.c line 2698
  • #8 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.15.6/glib/gmain.c line 2906
  • #9 IA__gtk_main
    at /build/buildd/gtk+2.0-2.12.8/gtk/gtkmain.c line 1163
  • #10 main
    at appearance-main.c line 191

http://launchpadlibrarian.net/12625769/valgrind.log
Valgrid log with dbgsym  (507.9 KiB, text/plain)"
Comment 1 Jens Granseuer 2008-06-19 16:00:39 UTC
*** Bug 539032 has been marked as a duplicate of this bug. ***
Comment 2 Jens Granseuer 2008-07-09 08:01:47 UTC
*** Bug 541997 has been marked as a duplicate of this bug. ***
Comment 3 Jens Granseuer 2008-07-30 16:59:48 UTC
*** Bug 545550 has been marked as a duplicate of this bug. ***
Comment 4 Jens Granseuer 2008-08-21 19:15:15 UTC
*** Bug 548906 has been marked as a duplicate of this bug. ***
Comment 5 Vincent Untz 2008-12-02 23:26:35 UTC
Happening when get_current_slide() returns NULL.
Comment 6 Vincent Untz 2008-12-05 02:16:28 UTC
Most probably happening because there were no slides in a slideshow.
Comment 7 Vincent Untz 2008-12-05 02:48:53 UTC
I've fixed the issue, but I'm not it was the only one. Given that the duplicates are all for 2.22, I think this commit also helps:

2008-05-14  William Jon McCann  <jmccann@redhat.com>

	* gnome-bg.c (file_cache_entry_delete), (create_img_thumbnail),
	(get_pixbuf), (slideshow_ref), (slideshow_unref),
	(read_slideshow_file):
	Fix some logic errors wrt to caching of slideshows that may cause
	nautilus crashes
	Patch by Matthias Clasen <mclasen@redhat.com>