https://bugs.kde.org/show_bug.cgi?id=391642

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@davidedmundson.co.uk

--- Comment #6 from David Edmundson <k...@davidedmundson.co.uk> ---
Writing the top backtrace out in words:

frame 9: containment(an applet subclass) gets deleted
frame 8: that deletes it's qobject children
frame 6: that deletes it's ContainmentInterface (the QML exposed containment
side)
frame 3: that accesses the applet, which we delete in frame 9

Can do a simple QPointer guard, but that's just masking a more significant
problem.


This crash shouldn't happen because:
Applet::~Applet should run between frames 9 and 8, AppletPrivate::~Private runs
delete script, delete script *should* delete the ContainmentInterface.

So that means someone somewhere is calling
containmentInterface->setParent(theContainment)
Find that and we find our crash.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to