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 680356 - crashes if unable to create a root surface for background
crashes if unable to create a root surface for background
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Desktop
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on: 680354
Blocks:
 
 
Reported: 2012-07-21 06:05 UTC by William Jon McCann
Modified: 2012-07-21 15:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't use wallpaper surface if it NULL (1.44 KB, patch)
2012-07-21 06:16 UTC, William Jon McCann
committed Details | Review

Description William Jon McCann 2012-07-21 06:05:31 UTC
Maximum number of clients reached
(nautilus:11353): GnomeDesktop-WARNING **: Unable to open display ':5' when
setting background pixmap


Program received signal SIGSEGV, Segmentation fault.
cairo_surface_set_user_data (surface=surface@entry=0x0,
key=key@entry=0x7ffff7554970, user_data=0xc0f340,
    destroy=0x7ffff69ecd80 <gdk_rgba_free>) at cairo-surface.c:794
794         if (CAIRO_REFERENCE_COUNT_IS_INVALID (&surface->ref_count))

  • #0 cairo_surface_set_user_data
    at cairo-surface.c line 794
  • #1 gnome_bg_create_surface
    at gnome-bg.c line 1142
  • #2 nautilus_desktop_background_ensure_realized
    at nautilus-desktop-background.c line 240
  • #3 nautilus_desktop_background_set_up_widget
    at nautilus-desktop-background.c line 305
  • #4 g_closure_invoke
    at gclosure.c line 777

Comment 1 William Jon McCann 2012-07-21 06:16:59 UTC
Created attachment 219371 [details] [review]
Don't use wallpaper surface if it NULL
Comment 2 Cosimo Cecchi 2012-07-21 14:53:57 UTC
Review of attachment 219371 [details] [review]:

Looks good...what did you do to make this happen?
Comment 3 William Jon McCann 2012-07-21 15:08:08 UTC
I think what happened was that gnome-desktop was interpreting the file monitor "changed" unconditionally and I added ACCESSED to it. It kept updating the root pixmap and I guess leaking it every time and it started to fail. When it failed we started to fail as well.
Comment 4 William Jon McCann 2012-07-21 15:09:06 UTC
Also see bug 680354.