Bug 445565

Summary: crash while editing python
Product: [Applications] kdevelop Reporter: Jaime Torres <jtamate>
Component: generalAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: crash CC: mail
Priority: NOR Keywords: drkonqi
Version First Reported In: 5.6.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jaime Torres 2021-11-16 06:50:19 UTC
Application: kdevelop (5.6.2)

Qt Version: 5.15.2
Frameworks Version: 5.87.0
Operating System: Linux 5.14.14-2-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.23.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I was just editing a member, deleting something old and starting to write something new.
I noticed that it stopped to refresh and react to keystrokes, and then the crash.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = {<No data fields>}}
[KCrash Handler]
#6  std::__atomic_base<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_relaxed, this=0x1000000000000008) at /usr/include/c++/11/bits/atomic_base.h:836
#7  std::atomic<QObjectPrivate::SignalVector*>::load (__m=std::memory_order_relaxed, this=0x1000000000000008) at /usr/include/c++/11/atomic:570
#8  QAtomicOps<QObjectPrivate::SignalVector*>::loadRelaxed<QObjectPrivate::SignalVector*> (_q_value=...) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#9  QBasicAtomicPointer<QObjectPrivate::SignalVector>::loadRelaxed (this=0x1000000000000008) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:248
#10 QObjectPrivate::isSignalConnected (this=this@entry=0x557013836f00, signalIndex=signalIndex@entry=0, checkDeclarative=checkDeclarative@entry=true) at kernel/qobject.cpp:459
#11 0x00007fa7165b33d8 in QObject::~QObject (this=this@entry=0x557013836ea0, __in_chrg=<optimized out>) at kernel/qobject.cpp:991
#12 0x00007fa714edce7d in KDevelop::PersistentMovingRangePrivate::~PersistentMovingRangePrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-2.4.x86_64/build/kdevplatform/language/KDevPlatformLanguage_autogen/3HAKN7MTYQ/../../../../../kdevplatform/language/editor/persistentmovingrangeprivate.h:30
#13 KDevelop::PersistentMovingRangePrivate::~PersistentMovingRangePrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-2.4.x86_64/build/kdevplatform/language/KDevPlatformLanguage_autogen/3HAKN7MTYQ/../../../../../kdevplatform/language/editor/persistentmovingrangeprivate.h:30
#14 0x00007fa6b742e803 in QExplicitlySharedDataPointer<KDevelop::PersistentMovingRange>::~QExplicitlySharedDataPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qshareddata.h:184
#15 QExplicitlySharedDataPointer<KDevelop::PersistentMovingRange>::~QExplicitlySharedDataPointer (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qshareddata.h:184
#16 QList<QExplicitlySharedDataPointer<KDevelop::PersistentMovingRange> >::node_destruct (to=0x5570139749f0, from=0x5570139610b0, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:526
#17 QList<QExplicitlySharedDataPointer<KDevelop::PersistentMovingRange> >::dealloc(QListData::Data*) [clone .constprop.0] (data=0x5570139610a0, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:921
#18 0x00007fa6b74295d8 in QList<QExplicitlySharedDataPointer<KDevelop::PersistentMovingRange> >::~QList (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:871
#19 QList<QExplicitlySharedDataPointer<KDevelop::PersistentMovingRange> >::~QList (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:871
#20 ViewHighlights::~ViewHighlights (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-2.4.x86_64/plugins/contextbrowser/contextbrowser.h:85
#21 QMapNodeBase::callDestructorIfNecessary<ViewHighlights> (t=...) at /usr/include/qt5/QtCore/qmap.h:100
#22 QMapNode<KTextEditor::View*, ViewHighlights>::destroySubTree (this=0x557002d87060) at /usr/include/qt5/QtCore/qmap.h:125
#23 QMapData<KTextEditor::View*, ViewHighlights>::destroy (this=0x556ffe5b5e70) at /usr/include/qt5/QtCore/qmap.h:249
#24 0x00007fa6b741fa25 in QMap<KTextEditor::View*, ViewHighlights>::~QMap (this=<optimized out>, this=<optimized out>) at /usr/include/qt5/QtCore/qmap.h:338
#25 QMap<KTextEditor::View*, ViewHighlights>::operator= (other=..., this=0x556ff4d8ef40) at /usr/include/qt5/QtCore/qmap.h:349
#26 QMap<KTextEditor::View*, ViewHighlights>::clear (this=0x556ff4d8ef40) at /usr/include/qt5/QtCore/qmap.h:656
#27 ContextBrowserPlugin::updateForView (this=this@entry=0x556ff4d8ef00, view=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-2.4.x86_64/plugins/contextbrowser/contextbrowser.cpp:839
#28 0x00007fa6b7420b5c in ContextBrowserPlugin::updateViews (this=0x556ff4d8ef00) at /usr/src/debug/kdevelop5-5.6.2-2.4.x86_64/plugins/contextbrowser/contextbrowser.cpp:925
#29 0x00007fa7165b5043 in QtPrivate::QSlotObjectBase::call (a=0x7ffe48e07ef0, r=0x556ff4d8ef00, this=0x556ff4e08dd0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#30 doActivate<false> (sender=0x556ff4e08d10, signal_index=3, argv=0x7ffe48e07ef0) at kernel/qobject.cpp:3886
#31 0x00007fa7165ae50f in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fa716854c00 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe48e07ef0) at kernel/qobject.cpp:3946
#32 0x00007fa7165b8efa in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#33 0x00007fa7165aaf0f in QObject::event (this=0x556ff4e08d10, e=0x7ffe48e08070) at kernel/qobject.cpp:1336
#34 0x00007fa717310a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x556ff4e08d10, e=0x7ffe48e08070) at kernel/qapplication.cpp:3632
#35 0x00007fa71657e9fa in QCoreApplication::notifyInternal2 (receiver=0x556ff4e08d10, event=0x7ffe48e08070) at kernel/qcoreapplication.cpp:1064
#36 0x00007fa7165d526b in QTimerInfoList::activateTimers (this=0x556ff31a4090) at kernel/qtimerinfo_unix.cpp:643
#37 0x00007fa7165d5b4c in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#38 idleTimerSourceDispatch (source=source@entry=0x556ff318bcd0) at kernel/qeventdispatcher_glib.cpp:230
#39 0x00007fa712b99d4f in g_main_dispatch (context=0x7fa6fc005000) at ../glib/gmain.c:3381
#40 g_main_context_dispatch (context=0x7fa6fc005000) at ../glib/gmain.c:4099
#41 0x00007fa712b9a0d8 in g_main_context_iterate (context=context@entry=0x7fa6fc005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#42 0x00007fa712b9a18f in g_main_context_iteration (context=0x7fa6fc005000, may_block=1) at ../glib/gmain.c:4240
#43 0x00007fa7165d5ed4 in QEventDispatcherGlib::processEvents (this=0x556ff31a40f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#44 0x00007fa71657d3fb in QEventLoop::exec (this=this@entry=0x7ffe48e082b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#45 0x00007fa7165856e0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#46 0x00007fa716abd18c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#47 0x00007fa7173109f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#48 0x0000556ff14d96de in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-2.4.x86_64/app/main.cpp:850
[Inferior 1 (process 12837) detached]

Reported using DrKonqi
Comment 1 Sven Brauch 2021-11-16 18:05:47 UTC
Crash happens in the context browser plugin, not related to Python.