The crash is a bit due three different things: * QDateTime uses a shared global pointer to init the default QDateTime (this is changed in Qt 5.7) * MImSettings using a QScopedPointer for storing the factory * QSettings not setting the pendingChanges flag back to false after sync() is called
We can fix this problem by fixing any of the three and i think what makes more sense is actually fixing QSettings since it seems a bug anyway. Upstream patch at https://codereview.qt-project.org/#/c/177557/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to maliit-framework in Ubuntu. https://bugs.launchpad.net/bugs/1642605 Title: maliit-framework segmentation fault with Qt 5.7.1 Status in maliit-framework package in Ubuntu: New Bug description: It seems there is a segmentation fault with Qt 5.7.1 with maliit- framework as shown at https://launchpadlibrarian.net/293811765 /buildlog_ubuntu-zesty-amd64.maliit-framework_0.99.1+git20151118 +62bd54b-0ubuntu13~1_BUILDING.txt.gz -- TESTING_IN_SANDBOX=1 TESTPLUGIN_PATH=../plugins TESTDATA_PATH=/<<BUILDDIR>>/maliit-framework-0.99.1+git20151118+62bd54b/tests LD_LIBRARY_PATH=../../lib:../../lib/plugins:../plugins: ./ut_mimsettings ********* Start testing of Ut_MImSettings ********* Config: Using QtTest library 5.7.1, Qt 5.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.2.0 20161109) PASS : Ut_MImSettings::initTestCase() PASS : Ut_MImSettings::testValue() PASS : Ut_MImSettings::testModifyValue() PASS : Ut_MImSettings::testUnsetValue() PASS : Ut_MImSettings::testModifyValueNotification() PASS : Ut_MImSettings::testListDirs() PASS : Ut_MImSettings::testListEntries() PASS : Ut_MImSettings::cleanupTestCase() Totals: 8 passed, 0 failed, 0 skipped, 0 blacklisted, 44ms ********* Finished testing of Ut_MImSettings ********* Segmentation fault (core dumped) Makefile:336: recipe for target 'check' failed make[4]: *** [check] Error 139 -- More information about Qt 5.7.1 at https://wiki.ubuntu.com/Touch/QtTesting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/maliit-framework/+bug/1642605/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp