Review Request 118858: Fix crashes in KUrlNavigator that are caused by accesses to objects which have been deleted in nested event loops

Frank Reininghaus frank78ac at
Sat Jun 21 09:26:38 BST 2014

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs.

Bugs: 293863

Repository: kdelibs


KUrlNavigator opens menus with exec() in a few places, and accesses member variables or pointers to children after that. This can cause crashes if the object has been deleted inside the nested event loops.

This can be fixed by using QPointers to detect if an object was deleted already, and return immediately in that case.


  kfile/kurlnavigator.cpp f5dfc81 
  kfile/kurlnavigatorbutton.cpp 6cb40b1 



Cannot reproduce the crashes any more. The menus in KUrlNavigator still work fine for me.


Frank Reininghaus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list