D18758: Fix ASan error in test_cmakemanager by catching all signals before objects they are delivered to are deleted.
noreply at phabricator.kde.org
Sun Feb 10 19:46:03 GMT 2019
mwolff added a comment.
The problem with nested event loops are that they introduce execution flows that are very hard to reason about and can easily cause issues like the one you see here. Quite often, you can run into issues where an object spawns a nested eventloop, which then somehow handles a deleteLater event for the object itself, thereby destroying the object. When the nested eventloop exits, `this` was destroyed and anything can happen. I believe something like that happens here too.
To: arrowd, #kdevelop, mwolff
Cc: mwolff, kdevelop-devel, gennad, glebaccon, antismap, iodelay, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel