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 663710 - gnome-setting-daemon: crash on SIGSEGV
gnome-setting-daemon: crash on SIGSEGV
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
3.6.1
Depends on:
Blocks:
 
 
Reported: 2011-11-09 17:13 UTC by Stanislav Brabec
Modified: 2012-09-27 08:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
color: Fix potential crasher (2.50 KB, patch)
2012-09-21 14:56 UTC, Bastien Nocera
committed Details | Review

Description Stanislav Brabec 2011-11-09 17:13:51 UTC
Following core file was found on the system. It happened during the system update (probably update of xorg-x11-libs by rpm).

gnome-settings-daemon-3.1.91, openSUSE 12.1 RC1

Core was generated by `/usr/lib/gnome-settings-daemon-3.0/gnome-settings-daemon'.
Program terminated with signal 11, Segmentation fault.

Thread 1 (Thread 0x7f90c6988920 (LWP 3375))

  • #0 slab_allocator_free_chunk
    at gslice.c line 1125
  • #1 magazine_cache_trim
    at gslice.c line 632
  • #2 magazine_cache_push_magazine
    at gslice.c line 663
  • #3 thread_memory_magazine2_unload
    at gslice.c line 762
  • #4 g_slice_free_chain_with_offset
    at gslice.c line 950
  • #5 emit_cb
    at gfilemonitor.c line 396
  • #6 g_main_dispatch
    at gmain.c line 2425
  • #7 g_main_context_dispatch
    at gmain.c line 2995
  • #8 g_main_context_iterate
    at gmain.c line 3073
  • #9 g_main_loop_run
    at gmain.c line 3281
  • #10 gtk_main
    at gtkmain.c line 1367
  • #11 main

Comment 1 Bastien Nocera 2011-11-09 17:38:13 UTC
Might need to review the uses of GFileMonitor in gnome-settings-daemon.
Comment 2 Bastien Nocera 2012-09-21 14:56:09 UTC
Created attachment 224932 [details] [review]
color: Fix potential crasher

If a GFileMonitor event occurs whilst we're stopping the color
plugin, it's possible that the file events will try to poke at things
at it shouldn't.
Comment 3 Matthias Clasen 2012-09-21 15:03:00 UTC
Review of attachment 224932 [details] [review]:

Looks right to me.
Comment 4 Matthias Clasen 2012-09-21 15:03:41 UTC
Review of attachment 224932 [details] [review]:

Looks right to me.
Comment 5 Bastien Nocera 2012-09-27 08:43:54 UTC
Attachment 224932 [details] pushed as ed81228 - color: Fix potential crasher