Comment 0 for bug 1289600

Revision history for this message
Alexey Borzenkov (snaury) wrote :

I wrote about this on kubuntu-devel and kubuntu-user, but maybe it's better for it to be a proper bug report:

https://lists.ubuntu.com/archives/kubuntu-devel/2014-February/007954.html

In short plasma can be easily crashed by clicking on "Show activities" and then "Add widgets", although reproducibility seems to depend on screen resolution. I traced this to an ubuntu-specific accessibility patch to qt4-x11, which incorrectly places QDeclarativeAccessibilityUpdater inside QDeclarativeEnginePrivate, making it possible for engine to be destroyed before QDeclarativeItem that are subscribed to it, causing crashes on destruction.

Although this is very reproducible in plasma the nature of the bug means any application that uses QtDeclarative may crash like that, e.g. searching shows many reports for crashes in settings with similar stack traces with QDeclarativeItem destructor.

Attached is the patch for qt 4.8.5 that should fix this issue (should be applied after kubuntu_97_a11y_qt_and_qml_backport.diff). Since this bug is present in Ubuntu 14.04, which is LTS and would be released soon, is it possible for the fix to make it into Ubuntu 14.04?