GNOME Bugzilla – Bug 620376
Crashes getting uint from dconf
Last modified: 2010-06-02 17:29:05 UTC
Created attachment 162555 [details] the schema file glib2-2.25.7-1.fc14.x86_64 dconf-0.3.1-2.fc14.x86_64 $ gsettings get org.freedesktop.Geoclue gps-baudrate Program received signal SIGSEGV, Segmentation fault. gvdb_table_lookup (file=0x0, key=0x60ad20 "/apps/geoclue/gps-baudrate", type=118 'v') at ../gvdb/gvdb-reader.c:255 255 if G_UNLIKELY (file->n_buckets == 0 || file->n_hash_items == 0) (gdb) bt
+ Trace 222196
Note that the schema does validate
Ok. It was nothing to do with the schema. I'm betting you don't have a ~/.config/dconf file (as a result of never having written anything to dconf before). The code doesn't check this case and if the open fails it goes straight ahead and does a null pointer dereference. I've added a check now, committed on master. Thanks for the report