It's invoked from QML.
Nested event loops invoked directly from QML is asking for crashes.
Heh, it appears like both Eike and I used code from the old effects kcm without thinking if it's actually okay. Thank you for fixing this issue.
(though they didn't seem to be applied..maybe another bug?)
No, they're applied. What effects did you try to configure?