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

            Bug ID: 445271
           Summary: KDevelop crashes on close
           Product: kdevelop
           Version: 5.6.2
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: i...@kobaltwit.be
  Target Milestone: ---

Application: kdevelop (5.6.2)

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.14.16-201.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: "Fedora release 34 (Thirty Four)"

-- Information about the crash:
- What I was doing when the application crashed:

There are two ways I can have this crash:
1. I hit the close button on kdevelop's main window.
2. I choose File->Quit

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fb240e7e77d in KDevelop::TopDUContext::indexed() const
(this=0x55b3a83d45a0) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/topducontext.cpp:534
#5  0x00007fb240e7ebb3 in
KDevelop::TopDUContextLocalPrivate::removeImportedContextRecursion(KDevelop::TopDUContext
const*, KDevelop::TopDUContext const*, int, QSet<QPair<KDevelop::TopDUContext*,
KDevelop::TopDUContext const*> >&) (this=this@entry=0x55b3a78b2f90,
traceNext=traceNext@entry=0x55b3a6250330, imported=<optimized out>, distance=2,
rebuild=...) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/topducontext.cpp:356
#6  0x00007fb240e84f21 in
KDevelop::TopDUContextLocalPrivate::removeImportedContextRecursively(KDevelop::TopDUContext*,
bool) (local=true, context=0x55b3a6250330, this=0x55b3a78b2f90) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/topducontext.cpp:231
#7  KDevelop::TopDUContext::removeImportedParentContext(KDevelop::DUContext*)
(this=<optimized out>, context=0x55b3a6250330) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/topducontext.cpp:1088
#8  0x00007fb240e74033 in KDevelop::DUContext::~DUContext()
(this=0x55b3a6250330, this=<optimized out>) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/ducontext.cpp:440
#9  0x00007fb20bb28937 in Python::PythonDUContext<KDevelop::TopDUContext,
100>::~PythonDUContext() (this=0x55b3a6250330, this=<optimized out>) at
/usr/src/debug/kdevelop-python-5.6.2-1.fc34.x86_64/duchain/pythonducontext.h:37
#10 Python::PythonDUContext<KDevelop::TopDUContext, 100>::~PythonDUContext()
(this=0x55b3a6250330, this=<optimized out>) at
/usr/src/debug/kdevelop-python-5.6.2-1.fc34.x86_64/duchain/pythonducontext.h:37
#11 0x00007fb240e85b62 in KDevelop::TopDUContext::deleteSelf()
(this=0x55b3a6250330) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/topducontext.cpp:596
#12 0x00007fb240e553e5 in
KDevelop::DUChainPrivate::removeDocumentChainFromMemory(KDevelop::TopDUContext*)
(this=0x7fb2413d0520
<_ZZN8KDevelop12_GLOBAL__N_122Q_QGS_sdDUChainPrivate13innerFunctionEvE6holder.lto_priv.0>,
context=<optimized out>) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/duchain.cpp:456
#13 0x00007fb240e58cb3 in
KDevelop::DUChain::removeDocumentChain(KDevelop::TopDUContext*)
(this=this@entry=0x55b3a33c0a40, context=0x55b3a6250330) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/duchain.cpp:1312
#14 0x00007fb240e5cbca in KDevelop::DUChainPrivate::cleanupTopContexts()
(this=0x7fb2413d0520
<_ZZN8KDevelop12_GLOBAL__N_122Q_QGS_sdDUChainPrivate13innerFunctionEvE6holder.lto_priv.0>)
at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/duchain.cpp:1093
#15 KDevelop::DUChain::shutdown() (this=<optimized out>) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/language/duchain/duchain.cpp:1736
#16 0x00007fb243d26bad in KDevelop::Core::cleanup() (this=0x55b3a1ead960) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/shell/core.cpp:405
#17 0x00007fb243d272bc in KDevelop::Core::shutdown() (this=0x55b3a1ead960) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/shell/core.cpp:360
#18 0x00007fb243d06e4f in KDevelop::MainWindow::~MainWindow()
(this=0x55b3a1fe69f0, this=<optimized out>) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/shell/mainwindow.cpp:150
#19 0x00007fb243d06ebd in KDevelop::MainWindow::~MainWindow()
(this=0x55b3a1fe69f0, this=<optimized out>) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/kdevplatform/shell/mainwindow.cpp:154
#20 0x00007fb24248fd31 in QObject::event(QEvent*) (this=0x55b3a1fe69f0,
e=0x7fb22401f260) at kernel/qobject.cpp:1301
#21 0x00007fb240630d2d in KXmlGuiWindow::event(QEvent*) (this=0x55b3a1fe69f0,
ev=0x7fb22401f260) at
/usr/src/debug/kf5-kxmlgui-5.85.0-1.fc34.x86_64/src/kxmlguiwindow.cpp:219
#22 0x00007fb24311e443 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x55b3a1fe69f0, e=0x7fb22401f260) at
kernel/qapplication.cpp:3632
#23 0x00007fb242465798 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x55b3a1fe69f0, event=0x7fb22401f260) at
kernel/qcoreapplication.cpp:1064
#24 0x00007fb242468d06 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x55b3a1d0f180) at
kernel/qcoreapplication.cpp:1821
#25 0x00007fb2424b70d7 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x55b3a1dcd050) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007fb23ec224cf in g_main_dispatch (context=0x7fb224005000) at
../glib/gmain.c:3337
#27 g_main_context_dispatch (context=0x7fb224005000) at ../glib/gmain.c:4055
#28 0x00007fb23ec764f8 in g_main_context_iterate.constprop.0
(context=context@entry=0x7fb224005000, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#29 0x00007fb23ec1fc03 in g_main_context_iteration (context=0x7fb224005000,
may_block=1) at ../glib/gmain.c:4196
#30 0x00007fb2424b6b78 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55b3a1df5f80, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007fb2424641a2 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffc68556f80, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007fb24246c6e4 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x000055b3a0c2435f in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/kdevelop-5.6.2-1.fc34.x86_64/app/main.cpp:850
[Inferior 1 (process 12622) detached]

Possible duplicates by query: bug 411866, bug 398631, bug 358890, bug 357355,
bug 350138.

Reported using DrKonqi

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

Reply via email to