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 639523 - crash in application (gnome-settings-daemon) when DCONF_PROFILE is set
crash in application (gnome-settings-daemon) when DCONF_PROFILE is set
Status: RESOLVED FIXED
Product: dconf
Classification: Core
Component: general
git master
Other Linux
: Normal critical
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks:
 
 
Reported: 2011-01-14 14:48 UTC by Frederic Crozat
Modified: 2011-01-14 16:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
/etc/dconf tree (1.65 KB, application/x-compressed-tar)
2011-01-14 15:00 UTC, Frederic Crozat
Details

Description Frederic Crozat 2011-01-14 14:48:19 UTC
gnome-settings-daemon is started with DCONF_PROFILE=gdm (under gdm) and crashes with dconf 0.6.0 (or git) but it doesn't crash with dconf 0.5.1

Program received signal SIGSEGV, Segmentation fault.

Thread 3045596016 (LWP 20091)

  • #0 dconf_engine_refresh_system
    at ../engine/dconf-engine.c line 216
  • #1 dconf_engine_refresh
    at ../engine/dconf-engine.c line 241
  • #2 dconf_engine_get_state
    at ../engine/dconf-engine.c line 248
  • #3 add_match_done
    at dconfsettingsbackend.c line 539
  • #4 g_simple_async_result_complete
    at gsimpleasyncresult.c line 747
  • #5 g_dbus_connection_call_done
    at gdbusconnection.c line 4995
  • #6 g_simple_async_result_complete
    at gsimpleasyncresult.c line 747
  • #7 complete_in_idle_cb
    at gsimpleasyncresult.c line 757
  • #8 g_idle_dispatch
    at gmain.c line 4536
  • #9 g_main_dispatch
    at gmain.c line 2440
  • #10 g_main_context_dispatch
    at gmain.c line 3013
  • #11 g_main_context_iterate
    at gmain.c line 3091
  • #12 g_main_loop_run
    at gmain.c line 3299
  • #13 dconf_context_thread
    at dconfcontext.c line 11
  • #14 g_thread_create_proxy
    at gthread.c line 1897
  • #15 start_thread
    from /lib/libpthread.so.0
  • #16 clone
    from /lib/libc.so.6
A debugging session is active.
Comment 1 Frederic Crozat 2011-01-14 15:00:00 UTC
Created attachment 178328 [details]
/etc/dconf tree
Comment 2 Allison Karlitskaya (desrt) 2011-01-14 16:15:32 UTC
commit 0e48388eb0d97d72c9914fe724e3a23b28d5e82c
Author: Ryan Lortie <desrt@desrt.ca>
Date:   Fri Jan 14 11:09:31 2011 -0500

    Bug 639523 - crash when DCONF_PROFILE is set
    
    When using multiple databases in a single profile, dconf uses some freed
    memory (due to the AddMatch asynchronous callback being called multiple
    times and freeing the memory each time).
    
    Fix that with a reference count.