autopilot unity8 fails with "No GSettings schemas are installed on the system"

Bug #1240801 reported by Ricardo Salveti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity8 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Image #100, mako:

$ stop unity8
$ autopilot run unity8

It'll crash in the first test case already.

From the crash file (and from a local build as dbgsym wasn't yet in sync):
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `/usr/bin/unity8'.
Program terminated with signal 5, Trace/breakpoint trap.
#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
44 ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
(gdb) bt full
#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
No locals.
#1 0x40e375fe in __GI_raise (sig=sig@entry=5) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        _a1 = <optimized out>
        _a3tmp = 5
        _a1tmp = 0
        _a3 = <optimized out>
        _nametmp = 268
        _a2tmp = 2441
        _a2 = <optimized out>
        _name = <optimized out>
        _sys_result = <optimized out>
        pd = 0x4336b000
        pid = 0
        selftid = 2441
#2 0x41d8a9ba in g_logv (log_domain=0x4182e74c "GLib-GIO", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x418491c0 "No GSettings schemas are installed on the system", args=..., args@entry=...) at /build/buildd/glib2.0-2.38.0/./glib/gmessages.c:989
        domain = 0x0
        data = <optimized out>
        depth = 1
        log_func = <optimized out>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = <optimized out>
        test_level = 6
        was_fatal = 0
        was_recursion = 0
        msg = 0x904368 "No GSettings schemas are installed on the system"
        msg_alloc = 0x904368 "No GSettings schemas are installed on the system"
        i = 2
#3 0x41d8aa74 in g_log (log_domain=<optimized out>, log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=0x418491c0 "No GSettings schemas are installed on the system") at /build/buildd/glib2.0-2.38.0/./glib/gmessages.c:1025
        args = {__ap = 0xbe96bf5c}
#4 0x417fe118 in g_settings_set_property (object=0x96a818, prop_id=<optimized out>, value=<optimized out>, pspec=<optimized out>) at /build/buildd/glib2.0-2.38.0/./gio/gsettings.c:487
        default_source = <optimized out>
        schema_id = 0x9042b0 "com.canonical.Unity.Dash"
        settings = 0x96a818
        __FUNCTION__ = "g_settings_set_property"
#5 0x40d34914 in object_set_property (nqueue=<optimized out>, value=<optimized out>, pspec=0x969868, object=<optimized out>) at /build/buildd/glib2.0-2.38.0/./gobject/gobject.c:1366
        tmp_value = {g_type = 64, data = {{v_int = 9454256, v_uint = 9454256, v_long = 9454256, v_ulong = 9454256, v_int64 = 9454256, v_uint64 = 9454256, v_float = 1.32482344e-38, v_double = 4.6710230965884802e-317, v_pointer = 0x9042b0}, {v_int = 0, v_uint = 0,
              v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        redirect = <optimized out>
        enable_diagnostic = 0x40d54138 "0"
        class = 0x967810
        param_id = 2
#6 g_object_new_internal (class=class@entry=0x967810, params=params@entry=0xbe96c0d4, n_params=n_params@entry=1) at /build/buildd/glib2.0-2.38.0/./gobject/gobject.c:1779
        value = <optimized out>
        pspec = <optimized out>
        j = <optimized out>
        node = 0x905000
        nqueue = 0x905018
        object = 0x96a818
        __FUNCTION__ = "g_object_new_internal"
#7 0x40d360d6 in g_object_new_valist (object_type=object_type@entry=9850952, first_property_name=first_property_name@entry=0x41849564 "schema-id", var_args=..., var_args@entry=...) at /build/buildd/glib2.0-2.38.0/./gobject/gobject.c:2002
        stack_params = {{pspec = 0x969868, value = 0xbe96c048}, {pspec = 0x0, value = 0x761965b8}, {pspec = 0x4459d6a0, value = 0xffffffff}, {pspec = 0x40043117 <_dl_lookup_symbol_x+202>, value = 0x40d2896c}, {pspec = 0x8fba08, value = 0x0}, {pspec = 0x0, value = 0x8}, {
            pspec = 0x904f88, value = 0x1}, {pspec = 0x41db2c2b <g_private_get+6>, value = 0x0}, {pspec = 0x8, value = 0x0}, {pspec = 0x962104, value = 0x41e08b80 <allocator>}, {pspec = 0x400467cd <_dl_fixup+132>, value = 0xa}, {pspec = 0x0, value = 0x4336b000}, {
            pspec = 0x41784000, value = 0xde508}, {pspec = 0x4336b4c0, value = 0x0}, {pspec = 0x962104, value = 0x9461ec}, {pspec = 0x400467cd <_dl_fixup+132>, value = 0x0}}
        params = 0xbe96c0d4
        name = 0x0
        n_params = 1
        class = <optimized out>
        unref_class = <optimized out>
        object = <optimized out>
        __PRETTY_FUNCTION__ = "g_object_new_valist"
        __FUNCTION__ = "g_object_new_valist"
#8 0x40d36214 in g_object_new (object_type=9850952, first_property_name=0x41849564 "schema-id") at /build/buildd/glib2.0-2.38.0/./gobject/gobject.c:1559
        var_args = {__ap = 0xbe96c198}
        __PRETTY_FUNCTION__ = "g_object_new"
#9 0x44440354 in unity::dash::GSettingsScopesReader::Impl::Impl (this=0x9620f8, owner=<optimized out>) at /build/buildd/unity-7.1.2+13.10.20131014.1/UnityCore/GSettingsScopes.cpp:73
No locals.
#10 0x444405ae in unity::dash::GSettingsScopesReader::GSettingsScopesReader (this=0x961fc8) at /build/buildd/unity-7.1.2+13.10.20131014.1/UnityCore/GSettingsScopes.cpp:127
No locals.
#11 0x4444063c in unity::dash::GSettingsScopesReader::GetDefault () at /build/buildd/unity-7.1.2+13.10.20131014.1/UnityCore/GSettingsScopes.cpp:159
        main_reader = {<std::__shared_ptr<unity::dash::GSettingsScopesReader, (__gnu_cxx::_Lock_policy)2>> = {_M_ptr = 0x0, _M_refcount = {_M_pi = 0x0}}, <No data fields>}
#12 0x444406e8 in unity::dash::GSettingsScopes::GSettingsScopes (this=0x961978) at /build/buildd/unity-7.1.2+13.10.20131014.1/UnityCore/GSettingsScopes.cpp:165
No locals.
#13 0x41ec7346 in construct<unity::dash::GSettingsScopes> (__p=0x961978, this=<optimized out>) at /usr/include/c++/4.8/bits/shared_ptr_base.h:396
No locals.
#14 _S_construct<unity::dash::GSettingsScopes> (__p=0x961978, __a=...) at /usr/include/c++/4.8/bits/alloc_traits.h:254
No locals.
#15 construct<unity::dash::GSettingsScopes> (__p=0x961978, __a=...) at /usr/include/c++/4.8/bits/alloc_traits.h:393
No locals.
#16 _Sp_counted_ptr_inplace<> (__a=..., this=0x961968) at /usr/include/c++/4.8/bits/shared_ptr_base.h:399
No locals.
#17 construct<std::_Sp_counted_ptr_inplace<unity::dash::GSettingsScopes, std::allocator<unity::dash::GSettingsScopes>, (__gnu_cxx::_Lock_policy)2>, std::allocator<unity::dash::GSettingsScopes> const> (__p=<optimized out>, this=<synthetic pointer>)
    at /usr/include/c++/4.8/ext/new_allocator.h:120
No locals.
#18 _S_construct<std::_Sp_counted_ptr_inplace<unity::dash::GSettingsScopes, std::allocator<unity::dash::GSettingsScopes>, (__gnu_cxx::_Lock_policy)2>, std::allocator<unity::dash::GSettingsScopes> const> (__p=<optimized out>, __a=<synthetic pointer>)
    at /usr/include/c++/4.8/bits/alloc_traits.h:254
No locals.
#19 construct<std::_Sp_counted_ptr_inplace<unity::dash::GSettingsScopes, std::allocator<unity::dash::GSettingsScopes>, (__gnu_cxx::_Lock_policy)2>, std::allocator<unity::dash::GSettingsScopes> const> (__p=<optimized out>, __a=<synthetic pointer>)
    at /usr/include/c++/4.8/bits/alloc_traits.h:393
No locals.
#20 __shared_count<unity::dash::GSettingsScopes, std::allocator<unity::dash::GSettingsScopes> > (__a=..., this=<optimized out>) at /usr/include/c++/4.8/bits/shared_ptr_base.h:522
No locals.
#21 __shared_ptr<std::allocator<unity::dash::GSettingsScopes> > (__a=..., __tag=..., this=<optimized out>) at /usr/include/c++/4.8/bits/shared_ptr_base.h:986
No locals.
#22 shared_ptr<std::allocator<unity::dash::GSettingsScopes> > (__a=..., __tag=..., this=<optimized out>) at /usr/include/c++/4.8/bits/shared_ptr.h:316
No locals.
#23 allocate_shared<unity::dash::GSettingsScopes, std::allocator<unity::dash::GSettingsScopes> > (__a=...) at /usr/include/c++/4.8/bits/shared_ptr.h:598
No locals.
#24 make_shared<unity::dash::GSettingsScopes> () at /usr/include/c++/4.8/bits/shared_ptr.h:614
No locals.
#25 Scopes::Scopes (this=0x968140, parent=<optimized out>) at /home/phablet/unity8/unity8-7.83+13.10.20131016.2/plugins/Unity/scopes.cpp:34
No locals.
#26 0x41ed3890 in QQmlElement (this=0x968140) at /usr/include/qt5/QtQml/qqmlprivate.h:86
No locals.
#27 QQmlPrivate::createInto<Scopes> (memory=0x968140) at /usr/include/qt5/QtQml/qqmlprivate.h:95
No locals.
#28 0x4027dc0a in QQmlVME::run (this=this@entry=0x946190, errors=errors@entry=0x9461f0, interrupt=..., storeJumpTable=storeJumpTable@entry=0x0) at qml/qqmlvme.cpp:628
        o = 0x968140
        parent = <optimized out>
        ddata = <optimized out>
        engine = 0x9206d0
        status = -1
        flags = {i = 5}
        rv = <optimized out>
        handleScope = {isolate_ = 0x8ed038, prev_next_ = 0x0, prev_limit_ = 0x0, is_closed_ = false}
        contextScope = {context_ = {val_ = 0x944920}}
        watcher = {_t = 0x946190, _r = false}
        genericInstr = 0x445f9a58
#29 0x40282ef8 in QQmlVME::execute (this=this@entry=0x946190, errors=errors@entry=0x9461f0, interrupt=...) at qml/qqmlvme.cpp:197
        restore = {ep = 0x921350, oldVME = 0x0}
        rv = 0x0
#30 0x40276d98 in QQmlComponentPrivate::beginCreate (this=0x946138, context=0x945990) at qml/qqmlcomponent.cpp:872
        __PRETTY_FUNCTION__ = "QObject* QQmlComponentPrivate::beginCreate(QQmlContextData*)"
        rv = <optimized out>
#31 0x4027582e in QQmlComponent::create (this=0x921af8, context=0x93f218) at qml/qqmlcomponent.cpp:779
        _qml_memory_scope = {pushed = false}
        rv = <optimized out>
#32 0x40519570 in QQuickView::continueExecute (this=this@entry=0x91faf8) at items/qquickview.cpp:462
        obj = <optimized out>
#33 0x4051991a in QQuickViewPrivate::execute (this=0x920a40) at items/qquickview.cpp:106
        _qml_memory_scope = {pushed = false}
        __PRETTY_FUNCTION__ = "void QQuickViewPrivate::execute()"
#34 0x40519a50 in QQuickView::setSource (this=this@entry=0x91faf8, url=...) at items/qquickview.cpp:235
No locals.
#35 0x0000c5ac in startShell (argc=argc@entry=1, argv=argv@entry=0xbe96c7b4, server=server@entry=0x0) at /home/phablet/unity8/unity8-7.83+13.10.20131016.2/main.cpp:169
        __PRETTY_FUNCTION__ = "int startShell(int, const char**, void*)"
        qmlArgs = {<QObject> = {_vptr.QObject = 0x10e88 <vtable for ApplicationArguments+8>, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x40a733e8 <qt_meta_stringdata_QObject>, data = 0x40a73acc <qt_meta_data_QObject>,
                static_metacall = 0x4099f4a5 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x919298}, static staticQtMetaObject = {d = {superdata = 0x0,
                stringdata = 0x40abbd30 <qt_meta_stringdata_Qt>, data = 0x40ab9794 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x11230 <QObject::staticMetaObject>,
              stringdata = 0xf564 <qt_meta_stringdata_ApplicationArguments>, data = 0xf5e4 <qt_meta_data_ApplicationArguments>, static_metacall = 0xec8d <ApplicationArguments::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0,
              extradata = 0x0}}, m_size = {wd = -1, ht = -1}}
        view = 0x91faf8
        mouseTouchAdaptor = 0x0
        source = {d = 0x945fb8}
        application = 0x8f5598
        args = {<QList<QString>> = {{p = {static shared_null = {ref = {atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x919348}, d = 0x919348}}, <No data fields>}
        result = <optimized out>
#36 0x0000b29a in main (argc=1, argv=0xbe96c7b4) at /home/phablet/unity8/unity8-7.83+13.10.20131016.2/main.cpp:221
        __PRETTY_FUNCTION__ = "int main(int, const char**)"

Related branches

Revision history for this message
Ricardo Salveti (rsalveti) wrote :
Changed in unity8 (Ubuntu):
importance: Undecided → Critical
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

getting this back to low, as it only impacts the AP tests, so nothing we ship in the image and not the code.

Changed in unity8 (Ubuntu):
importance: Critical → Low
Michał Sawicz (saviq)
Changed in unity8 (Ubuntu):
status: New → Fix Committed
tags: added: doesnt-need-test
kevin gunn (kgunn72)
Changed in unity8 (Ubuntu):
status: Fix Committed → 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.