Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-8

GSettingsHandler appears to core dump when trying to set a non-existent key in a schema

    Details

      Description

      It appears that when we try to set a non-existent key in a gsettings schema using the GSettingsHandler, an error occurs and the code core dumps. Here's a log:

      (process:2329): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.a11y.keyboard' does not contain a key named 'screen-keyboard-enabled'
      ./start.sh: line 19: 2329 Trace/breakpoint trap (core dumped) node "$fileName"

      I haven't yet reproduced this issue consistently with a particular persona, so it's possible it was just some kind of weird bug or quirk.

        Activity

        Hide
        jhernandez Javier Hernández added a comment -

        I can confirm this bug.

        I found this bug when doing the QA tests for the 0.1 release, in the B1 (add non-existing setting) step.
        I created a persona by hand and added the 'invert-lightness' key option, which is a new feature in GNOME 3.6 and not available in Fedora 17 (GNOME 3.4).

        The error message is as follows:
        (process:4264): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.a11y.magnifier' does not contain a key named 'invert-lightness'
        ./start.sh: line 16: 4264 Trace/breakpoint trap (core dumped) node "$fileName" $1

        I've just did a pull request [1] with a fix for this issue.

        Cheers!

        [1]: https://github.com/GPII/linux/pull/15

        Show
        jhernandez Javier Hernández added a comment - I can confirm this bug. I found this bug when doing the QA tests for the 0.1 release, in the B1 (add non-existing setting) step. I created a persona by hand and added the 'invert-lightness' key option, which is a new feature in GNOME 3.6 and not available in Fedora 17 (GNOME 3.4). The error message is as follows: (process:4264): GLib-GIO-ERROR **: Settings schema 'org.gnome.desktop.a11y.magnifier' does not contain a key named 'invert-lightness' ./start.sh: line 16: 4264 Trace/breakpoint trap (core dumped) node "$fileName" $1 I've just did a pull request [1] with a fix for this issue. Cheers! [1] : https://github.com/GPII/linux/pull/15
        Hide
        sgithens Steven Githens added a comment -

        Merged in Javi's branch after adding a unit test.

        Show
        sgithens Steven Githens added a comment - Merged in Javi's branch after adding a unit test.
        Hide
        kasper Kasper Markus added a comment -

        Closing as these were resolved more than a year ago and haven't been updated since

        Show
        kasper Kasper Markus added a comment - Closing as these were resolved more than a year ago and haven't been updated since

          People

          • Assignee:
            sgithens Steven Githens
            Reporter:
            colin Colin Clark
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: