Bug 353151

Summary: Many apps crash on exit
Product: [Frameworks and Libraries] frameworks-kcoreaddons Reporter: Eugene Shalygin <eugene.shalygin+bugzilla.kde>
Component: generalAssignee: Michael Pyne <mpyne>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Eugene Shalygin 2015-09-25 00:25:13 UTC
Many KDE applications and non-KDE ones which used KDE file dialog crash on exit/dialog close with current master branch of kcoreaddons

Reproducible: Always

Steps to Reproduce:
a) Run and close KDevelop, for example. 
b) Run google-chrome and try to save a page, it crashes after closing file dialog

Actual Results:  
Application crashes


The backtrace contains something similar to the following:
[KCrash Handler]
#6  QMap<QString, KDirWatchPrivate::Entry>::detach (this=0x30) at /usr/include/qt5/QtCore/qmap.h:364
#7  QMap<QString, KDirWatchPrivate::Entry>::find (akey=..., this=0x30) at /usr/include/qt5/QtCore/qmap.h:840
#8  KDirWatchPrivate::entry (this=0x0, _path=...) at /usr/src/debug/kde-frameworks/kcoreaddons-9999/kcoreaddons-9999/src/lib/io/kdirwatch.cpp:599
#9  0x00007f61f3e9319e in KDirWatch::contains (this=0x7f61f40ee490 <(anonymous namespace)::Q_QGS_s_pKDirWatchSelf::innerFunction()::holder>, _path=...) at /usr/src/debug/kde-frameworks/kcoreaddons-9999/kcoreaddons-9999/src/lib/io/kdirwatch.cpp:1991
#10 0x00007f61ee4b7cc4 in KSambaShare::~KSambaShare() () from /usr/lib64/libKF5KIOCore.so.5
#11 0x00007f61ee4b7d09 in (anonymous namespace)::Q_QGS__instance::innerFunction()::Holder::~Holder() () from /usr/lib64/libKF5KIOCore.so.5
#12 0x00007f61f2505ea8 in __run_exit_handlers () from /lib64/libc.so.6
#13 0x00007f61f2505ef5 in exit () from /lib64/libc.so.6
#14 0x00007f61f24f07d7 in __libc_start_main () from /lib64/libc.so.6
#15 0x000000000040e189 in _start ()
Comment 1 Christoph Feck 2015-09-25 10:21:45 UTC
Does this still happen with a recent checkout from master? It could be bug 353080.
Comment 2 Eugene Shalygin 2015-09-25 10:34:53 UTC
It seems to be fixed now, thank you! The crashes are the same, there must be a common source.

*** This bug has been marked as a duplicate of bug 353080 ***