gsettings segfaults on list-schemas



Hello.

I'm trying to get gwaei to work, it complains on a key not existing in
the schema file, even though it is here.

Out of curiosity, I tried gsettings list-schemas and I got a segfault:

fab@slick:/var/log/packages$ ldd $(which gsettings)
  linux-gate.so.1 =>  (0xb7767000)
  libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7637000)
  libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb75f4000)
  libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb74de000)
  libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb74dc000)
  libffi.so.5 => /usr/local/lib/libffi.so.5 (0xb74d5000)
  libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb74d2000)
  libdl.so.2 => /lib/libdl.so.2 (0xb74ce000)
  libpthread.so.0 => /lib/libpthread.so.0 (0xb74b5000)
  librt.so.1 => /lib/librt.so.1 (0xb74ac000)
  libz.so.1 => /usr/lib/libz.so.1 (0xb7495000)
  libresolv.so.2 => /lib/libresolv.so.2 (0xb747c000)
  libc.so.6 => /lib/libc.so.6 (0xb7319000)
  libffi.so.4 => /usr/lib/libffi.so.4 (0xb7313000)
  /lib/ld-linux.so.2 (0xb7768000)

fab@slick:/var/log/packages$ gdb $(which gsettings)   
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gsettings...(no debugging symbols found)...done.
(gdb) run list-schemas
Starting program: /usr/bin/gsettings list-schemas
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
g_settings_schema_source_ref (source=0x0) at gsettingsschema.c:213
213			       g_atomic_int_inc (&source->ref_count);
(gdb) bt
#0  g_settings_schema_source_ref (source=0x0) at gsettingsschema.c:213
#1  0x0804a434 in ?? ()
#2  0xb7ba8db6 in __libc_start_main () from /lib/libc.so.6
#3  0x080494f1 in ?? ()
(gdb) 

This is with glib-2.32.

Is it a know bug, or a miscompilation on my part?

Thanks.

-- 
F. Delente


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]