The issue at hand is a wrong assumption done by the cache loader that if
the changes to the source files are minimal, a single recompile of the
changed files is enough. This has proven to be not true, instead, a full
recompilation needs to happen as the QML meta tree might have changed in
ways that could cause weird application behaviour, or outright crashes.
The solution is:
1. Invalidate the full cache if any of the source files has been changed, and
recompile in full.
2. If an application crashes during startup, wipe its cache to increase
stability.
** Changed in: qtdeclarative-opensource-src (Ubuntu)
Assignee: (unassigned) => Ricardo Mendoza (ricmm)
** Changed in: qtdeclarative-opensource-src (Ubuntu)
Importance: Undecided => Critical
** Changed in: qtdeclarative-opensource-src (Ubuntu)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1379840
Title:
corrupted QML cache for messaging app makes it crash at startup
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1379840/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs