Language plugin crashes System Settings

Bug #1454230 reported by Iain Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Fix Released
High
Ken VanDine
Vivid
New
Undecided
Unassigned

Bug Description

Opening the language plugin crashes u-s-s.

Looks like the "plugin-paths" key is not in the schema in Ubuntu. It is in trunk.

$ system-settings language

(gdb) bt
#0 0x00007ffff6665d20 in g_logv (log_domain=0x7fffe59ab438 "GLib-GIO", log_level=G_LOG_LEVEL_ERROR, format=<optimised out>, args=args@entry=0x7fffffff8a30) at /build/buildd/glib2.0-2.45.1/./glib/gmessages.c:1046
#1 0x00007ffff6665f5f in g_log (log_domain=log_domain@entry=0x7fffe59ab438 "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7fffe59caab0 "Settings schema '%s' does not contain a key named '%s'")
    at /build/buildd/glib2.0-2.45.1/./glib/gmessages.c:1079
#2 0x00007fffe59635c9 in g_settings_schema_get_value (schema=0x7fffcc004590, key=0x7fffb9e4a2c6 "plugin-paths") at /build/buildd/glib2.0-2.45.1/./gio/gsettingsschema.c:962
#3 0x00007fffe5963a83 in g_settings_schema_key_init (key=key@entry=0x7fffffff8bb0, schema=0x7fffcc004590, name=name@entry=0x7fffb9e4a2c6 "plugin-paths") at /build/buildd/glib2.0-2.45.1/./gio/gsettingsschema.c:1200
#4 0x00007fffe5967693 in g_settings_get_value (settings=settings@entry=0x7fffcc004610 [GSettings], key=key@entry=0x7fffb9e4a2c6 "plugin-paths") at /build/buildd/glib2.0-2.45.1/./gio/gsettings.c:1143
#5 0x00007fffe596813b in g_settings_get (settings=0x7fffcc004610 [GSettings], key=0x7fffb9e4a2c6 "plugin-paths", format=0x7fffb9e4a21e "as") at /build/buildd/glib2.0-2.45.1/./gio/gsettings.c:1570
#6 0x00007fffb9e40f19 in LanguagePlugin::LanguagePlugin(QObject*) (this=0x1261fb0, parent=<optimised out>) at /home/laney/dev/canonical/upstream/touch/ubuntu-system-settings/build-area/ubuntu-system-settings-0.3+15.04.20150430.1/plugins/language/language-plugin.cpp:117
#7 0x00007fffb9e436b0 in QQmlPrivate::createInto<LanguagePlugin>(void*) (this=<optimised out>) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:93
#8 0x00007fffb9e436b0 in QQmlPrivate::createInto<LanguagePlugin>(void*) (memory=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtQml/qqmlprivate.h:102
#9 0x00007ffff6d968ab in QQmlType::create() const () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#10 0x00007ffff6dfe74a in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007ffff6e00045 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#12 0x00007ffff6e00d49 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#13 0x00007ffff6dfd2cd in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#14 0x00007ffff6dfdf7d in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#15 0x00007ffff6dfeee4 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#16 0x00007ffff6d808f5 in QQmlComponentPrivate::beginCreate(QQmlContextData*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#17 0x00007ffff6d80f00 in QQmlComponent::createObject(QQmlV4Function*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#18 0x00007ffff6e6c8ac in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#19 0x00007ffff6e6cb27 in QQmlComponent::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#20 0x00007ffff6d48053 in QV4::QObjectMethod::callInternal(QV4::CallData*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#21 0x00007ffff6d53b18 in QV4::Runtime::callProperty(QV4::ExecutionContext*, QV4::String*, QV4::CallData*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#22 0x00007fffd5db3622 in ()
#23 0x0000000000824950 in ()
#24 0x00007fffffffa5b0 in ()
#25 0x00007fffd5dc7680 in ()
#26 0x0001000000000000 in ()
#27 0x00007fffd811b5b0 in ()
Python Exception <class 'OverflowError'> int too big to convert:
#28 0xffffffffffffffff in ()#29 0x0000000000824950 in ()
#30 0x0000000000824950 in ()
#31 0x00007fffffff9d20 in ()
#32 0x00007ffff6d03936 in () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#33 0x00007ffff6d53b18 in QV4::Runtime::callProperty(QV4::ExecutionContext*, QV4::String*, QV4::CallData*) () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#34 0x00007fffdc000a91 in ()
#35 0x0000000000000000 in ()

Related branches

Revision history for this message
Iain Lane (laney) wrote :

FYI I'm running u-s-s from trunk - perhaps this isn't in the distro yet. Maybe add a versioned dep.

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.3+15.10.20150527-0ubuntu1

---------------
ubuntu-system-settings (0.3+15.10.20150527-0ubuntu1) wily; urgency=medium

  [ CI Train Bot ]
  * New rebuild forced.

  [ Iain Lane ]
  * Improve filtering in main page and timezone filters. (LP: #1454186,
    #1446086)

  [ Ken VanDine ]
  * Ensure dim-timeout is 10 seconds less than activity-timeout (LP:
    #1437510)
  * debian/control: bumped depends on ubuntu-keyboard-data to >=
    0.99.trunk.phablet2+15.04.20150421 to get gsettings schema changes
    (LP: #1454230)
  * expose deviceName to QML

  [ Lukáš Tinkl ]
  * compare the language and kbd layout names in a locale-aware manner

  [ Sebastien Bacher ]
  * Translate push_helper expected strings to avoid failure in non C
    locales (LP: #1456941)
  * [battery] use the correct height value for the first point of the
    graph, that fixes the initial point often starting to high and the
    curve starting with an almost vertical line (LP: #1439122)
  * [language] update auto punctuation description to match the osk
    behaviour (LP: #1385288)
  * [security-privacy] remove obsolete dash search option (LP: #1422700)

  [ jonas-drange ]
  * New icon as per lp:1457424 (LP: #1457424)

 -- CI Train Bot <email address hidden> Wed, 27 May 2015 09:23:37 +0000

Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.