Bug 690654

Summary: [abrt] dconf-editor-0.7.3-1: schema_key_construct_from_xml: Process /usr/bin/dconf-editor was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: Jason D. Clinton <me>
Component: dconfAssignee: Matthias Clasen <mclasen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: bnocera, brendan.jones.it, danielbelton, jamescape777, jfrieben, mclasen, nphilipp, rhughes, saurabh.rawat90, scampa.giovanni, stephent98, trevor.davenport, ulrich.hobelmann
Target Milestone: ---Keywords: Patch, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1a68932727e413d8fdb506d4b93c979a1191bcd1
Fixed In Version: dconf-0.7.3-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-15 21:45:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
gdb session showing that dconf-editor crashes parsing org.gnome.caribou.gschema.xml none

Description Jason D. Clinton 2011-03-24 23:27:33 UTC
abrt version: 1.1.17
architecture: x86_64
Attached file: backtrace, 40116 bytes
cmdline: dconf-editor
component: dconf
Attached file: coredump, 3026944 bytes
crash_function: schema_key_construct_from_xml
executable: /usr/bin/dconf-editor
kernel: 2.6.38-1.fc15.x86_64
package: dconf-editor-0.7.3-1
rating: 4
reason: Process /usr/bin/dconf-editor was killed by signal 11 (SIGSEGV)
release: Fedora release 15 (Lovelock)
How to reproduce: 1. Start dconf-editor
time: 1301009078
uid: 500

Comment 1 Jason D. Clinton 2011-03-24 23:27:37 UTC
Created attachment 487437 [details]
File: backtrace

Comment 2 Saurabh Rawat 2011-03-25 00:44:25 UTC
Package: dconf-editor-0.7.3-1
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1.just opened dcon-editor from Alt+F2
2.
3.

Comment 3 Joachim Frieben 2011-03-25 09:50:40 UTC
Package: dconf-editor-0.7.3-1
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. Launch dconf-editor.

Comment 4 Andrew McNabb 2011-03-25 19:22:26 UTC
Package: dconf-editor-0.7.3-1
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. Ran dconf-editor in a gnome terminal.
2. It instantly crashed

Comment
-----
I just ran dconf-editor without arguments.

Comment 5 Giovanni Campagna 2011-03-25 22:11:29 UTC
Package: dconf-editor-0.7.3-1
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
Just opened dconf-editor

Comment 6 James Cape 2011-03-26 19:12:52 UTC
Package: dconf-editor-0.7.3-1
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. Run dconf-editor in a terminal
2. Watch a couple warnings about schemas
3. Crash.

Comment 7 Trevor Davenport 2011-03-26 22:20:00 UTC
Package: dconf-editor-0.7.3-1
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
Launched dconf-editor.

Comment 8 Bastien Nocera 2011-03-27 21:27:09 UTC
Package: dconf-editor-0.7.3-1
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
Launched dconf-editor with caribou installed.

Comment 9 Sandro Mani 2011-04-01 12:45:30 UTC
Package: dconf-editor-0.7.3-1
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


Comment
-----
Reproducible always simply by attempting to launch dconf-editor

Comment 10 Brendan Jones 2011-04-02 01:40:55 UTC
I can get passed this by removing caribou (onscreen keyboard).

yum remove caribou

Comment 11 Daniel Belton 2011-04-05 05:09:51 UTC
(In reply to comment #10)
> I can get passed this by removing caribou (onscreen keyboard).
> 
> yum remove caribou

Thank you Brendon! 

I have been having this same issue with dconf-editor since the alpha was released, and I just removed caribou. Now dconf-editor works for me as well. 

It does seem to be some kind of conflict between dconf-editor and caribou.

Comment 12 Steve Tyler 2011-04-05 10:03:11 UTC
dconf-editor is crashing when it parses
/usr/share/glib-2.0/schemas/org.gnome.caribou.gschema.xml.

This schema is unique in that it uses "<description/>".
However, org.gnome.caribou.gschema.xml is valid according to:
http://validator.w3.org/#validate_by_input

$ gdb dconf-editor
...
** (dconf-editor:4839): DEBUG: dconf-schema.vala:378: Loading schema: /usr/share/glib-2.0/schemas/org.a11y.atspi.gschema.xml
** (dconf-editor:4839): DEBUG: dconf-schema.vala:378: Loading schema: /usr/share/glib-2.0/schemas/org.gnome.caribou.gschema.xml

Program received signal SIGSEGV, Segmentation fault.
0x000000000040fb5a in schema_key_construct_from_xml (object_type=<optimized out>, node=<optimized out>, schema=<optimized out>, gettext_domain=<optimized out>)
    at dconf-schema.c:494
494								_tmp15_ = g_strdup (child->children->content);
...
(gdb) bt
#0  0x000000000040fb5a in schema_key_construct_from_xml (object_type=<optimized out>, node=<optimized out>, schema=<optimized out>, gettext_domain=<optimized out>)
    at dconf-schema.c:494
#1  0x00000000004107c9 in schema_construct_from_xml (object_type=<optimized out>, list=<optimized out>, node=<optimized out>, gettext_domain=0x0) at dconf-schema.c:1823
#2  0x0000000000410cce in schema_list_parse_file (self=0x6db8a0, path=<optimized out>) at dconf-schema.c:2099
#3  0x0000000000410f7f in schema_list_load_directory (self=0x6db8a0, dir=0x413b9a "/usr/share/glib-2.0/schemas", error=0x7fffffffe128) at dconf-schema.c:2209
#4  0x000000000040c0d1 in settings_model_construct (object_type=<optimized out>) at dconf-model.c:2306
#5  0x00000000004076ca in configuration_editor_construct (object_type=<optimized out>) at dconf-editor.c:379
#6  0x0000000000408372 in configuration_editor_main (args=0x7fffffffe2e8, args_length1=1) at dconf-editor.c:815
#7  0x000000318542131d in __libc_start_main (main=0x4067f0 <main>, argc=1, ubp_av=0x7fffffffe2e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fffffffe2d8) at libc-start.c:226
#8  0x0000000000406839 in _start ()
(gdb) print *child
$1 = {_private = 0x0, type = XML_ELEMENT_NODE, name = 0x78f8f0 "description", children = 0x0, last = 0x0, parent = 0x78f100, next = 0x78f910, prev = 0x78f7d0, 
  doc = 0x79ad10, ns = 0x0, content = 0x0, properties = 0x0, nsDef = 0x0, psvi = 0x0, line = 12, extra = 0}

Comment 13 Steve Tyler 2011-04-05 10:21:17 UTC
Created attachment 489954 [details]
gdb session showing that dconf-editor crashes parsing org.gnome.caribou.gschema.xml

Comment 14 Steve Tyler 2011-04-05 11:17:15 UTC
(In reply to comment #10)
> I can get passed this by removing caribou (onscreen keyboard).
> 
> yum remove caribou

Thanks for suggesting this.

Another workaround is to patch
/usr/share/glib-2.0/schemas/org.gnome.caribou.gschema.xml:

-      <description/>
+      <description> </description>

The space is required ...

Comment 15 Steve Tyler 2011-04-05 11:40:23 UTC
Upstream:

Bug 646220 - dconf-editor crashes on empty schema description 
https://bugzilla.gnome.org/show_bug.cgi?id=646220

Comment 16 Fedora Update System 2011-04-07 00:44:08 UTC
dconf-0.7.3-2 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/dconf-0.7.3-2

Comment 17 Matthias Clasen 2011-04-07 00:51:10 UTC
*** Bug 691107 has been marked as a duplicate of this bug. ***

Comment 18 Fedora Update System 2011-04-07 02:19:33 UTC
Package dconf-0.7.3-2:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dconf-0.7.3-2'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/dconf-0.7.3-2
then log in and leave karma (feedback).

Comment 19 Daniel Belton 2011-04-07 16:07:12 UTC
(In reply to comment #18)
> Package dconf-0.7.3-2:
> * should fix your issue,
> * was pushed to the Fedora 15 testing repository,
> * should be available at your local mirror within two days.
> Update it with:
> # su -c 'yum update --enablerepo=updates-testing dconf-0.7.3-2'
> as soon as you are able to.
> Please go to the following url:
> https://admin.fedoraproject.org/updates/dconf-0.7.3-2
> then log in and leave karma (feedback).

I downloaded the update to dconf-editor, and to test, I reinstalled caribou since it is the package that seemed to be causing the problems here.

dconf-editor now seems to be working properly now.

Comment 20 Fedora Update System 2011-04-15 21:45:27 UTC
dconf-0.7.3-2 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.