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

--- Comment #52 from RJVB <[email protected]> ---
(In reply to RJVB from comment #51)
> I too only seem to be getting this crash only sporadically nowadays

Still true, but then I'm still running an old KDevelop version because I more
or less dropped out of KDE development. Going too fast, just can't keep up.

Anyway, I just had an interesting one:
```
Application: KDevelop (kdevelop), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fade5c5b1dd in KDevelop::DUChainWriteLocker::DUChainWriteLocker
(this=0x0, duChainLock=<optimized out>, timeout=<optimized out>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/language/duchain/duchainlock.cpp:267
#7  0x00007fade5bfa301 in KDevelop::DUChainPrivate::clear (this=0x7fade61f8e60
<KDevelop::(anonymous
namespace)::Q_QGS_sdDUChainPrivate::innerFunction()::holder>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/language/duchain/duchain.cpp:409
#8  KDevelop::DUChain::shutdown (this=<optimized out>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/language/duchain/duchain.cpp:1764
#9  0x00007fade6cc0fca in KDevelop::Core::cleanup (this=0x7fadc093fc00) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/core.cpp:530
#10 0x00007fade6cc14cf in KDevelop::Core::shutdown (this=0x7fadc093fc00) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/core.cpp:479
#11 0x00007fade6c9f0ec in KDevelop::MainWindow::~MainWindow
(this=this@entry=0x7fadb4291c00, __in_chrg=<optimized out>,
__vtt_parm=<optimized out>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/mainwindow.cpp:150
#12 0x00007fade6c9f139 in KDevelop::MainWindow::~MainWindow
(this=0x7fadb4291c00, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
/opt/local/var/lnxports/build/_opt_local_site-ports_kf5_kf5-kdevelop/kf5-kdevelop-devel/work/kf5-kdevelop-5/kdevplatform/shell/mainwindow.cpp:154
```

The instruction at `duchain.cpp:409` is `DUChainWriteLocker
writeLock(DUChain::lock());` !

In case anyone is still reading updates to this ticket: that must be a freak
event because a ctor should never be called with `this==0x0`, no?!

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

Reply via email to