Bug 439963 - Crash in Breeze::BaseDataMap<QObject, Breeze::WidgetStateData>::unregisterWidget() when exiting kdevelop
Summary: Crash in Breeze::BaseDataMap<QObject, Breeze::WidgetStateData>::unregisterWid...
Status: REPORTED
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 5.22.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 450700 455052 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-17 08:42 UTC by Jaime Torres
Modified: 2022-06-09 17:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2021-07-17 08:42:04 UTC
Application: kdevelop (5.6.2)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.13.0-1-default x86_64
Windowing System: Wayland
Drkonqi Version: 5.22.3
Distribution: "openSUSE Tumbleweed"

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

I was exiting kdevelop (in wayland).
Kdevelop window became longer (vertical) than the screen.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fefee743040 (LWP 4742))]
[KCrash Handler]
#6  QMapDataBase::freeNodeAndRebalance (this=this@entry=0x5579c4fac100, z=z@entry=0x5579c8411f40) at tools/qmap.h:95
#7  0x00007fefe40f07bb in QMapData<QObject const*, QPointer<Breeze::WidgetStateData> >::deleteNode (z=0x5579c8411f40, this=0x5579c4fac100) at /usr/include/qt5/QtCore/qmap.h:281
#8  QMap<QObject const*, QPointer<Breeze::WidgetStateData> >::erase (this=<optimized out>, it=...) at /usr/include/qt5/QtCore/qmap.h:967
#9  0x00007fefe40f92b4 in Breeze::BaseDataMap<QObject, Breeze::WidgetStateData>::unregisterWidget (key=0x5579c82e7a10, this=0x5579c4ce8108) at /usr/src/debug/breeze-5.22.3-1.1.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezedatamap.h:84
#10 Breeze::WidgetStateEngine::unregisterWidget (object=0x5579c82e7a10, this=0x5579c4ce8090) at /usr/src/debug/breeze-5.22.3-1.1.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezewidgetstateengine.h:118
#11 Breeze::WidgetStateEngine::unregisterWidget (object=0x5579c82e7a10, this=0x5579c4ce8090) at /usr/src/debug/breeze-5.22.3-1.1.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/../../../../kstyle/animations/breezewidgetstateengine.h:112
#12 Breeze::WidgetStateEngine::qt_static_metacall (_o=0x5579c4ce8090, _a=0x7ffd34ee2140, _id=<optimized out>, _c=<optimized out>) at /usr/src/debug/breeze-5.22.3-1.1.x86_64/build/kstyle/breeze_autogen/4NBMFDNHZT/moc_breezewidgetstateengine.cpp:74
#13 0x00007ff00211cfe8 in doActivate<false> (sender=0x5579c82e7a10, signal_index=0, argv=0x7ffd34ee2140) at kernel/qobject.cpp:3898
#14 0x00007ff00211647f in QMetaObject::activate (sender=sender@entry=0x5579c82e7a10, m=m@entry=0x7ff0023ada40 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd34ee2140) at kernel/qobject.cpp:3946
#15 0x00007ff00211652f in QObject::destroyed (this=this@entry=0x5579c82e7a10, _t1=<optimized out>, _t1@entry=0x5579c82e7a10) at .moc/moc_qobject.cpp:219
#16 0x00007ff002ea5123 in QWidget::~QWidget (this=0x5579c82e7a10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1497
#17 0x00007ff00301da89 in QStackedWidget::~QStackedWidget (this=0x5579c82e7a10, __in_chrg=<optimized out>) at widgets/qstackedwidget.cpp:147
#18 0x00007ff00211067e in QObjectPrivate::deleteChildren (this=this@entry=0x5579c826b7a0) at kernel/qobject.cpp:2104
#19 0x00007ff002ea4e66 in QWidget::~QWidget (this=this@entry=0x5579c82e7aa0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#20 0x00007ff0004037ad in KateViewBar::~KateViewBar (this=<optimized out>, this=<optimized out>) at /usr/src/debug/ktexteditor-5.83.0-1.2.x86_64/src/view/kateviewhelpers.h:495
#21 KateViewBar::~KateViewBar (this=<optimized out>, this=<optimized out>) at /usr/src/debug/ktexteditor-5.83.0-1.2.x86_64/src/view/kateviewhelpers.h:495
#22 0x00007ff0020f1a5b in QMetaMethod::invoke (this=<optimized out>, object=0x5579c504ecb0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:2303
#23 0x00007ff0020f6776 in QMetaObject::invokeMethod (obj=0x5579c504ecb0, member=member@entry=0x7ff0005f58ff "deleteViewBar", type=type@entry=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1515
#24 0x00007ff0005571c9 in QMetaObject::invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7ff0005f58ff "deleteViewBar", obj=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs.h:444
#25 KTextEditor::MainWindow::deleteViewBar (this=<optimized out>, view=<optimized out>) at /usr/src/debug/ktexteditor-5.83.0-1.2.x86_64/src/utils/mainwindow.cpp:122
#26 0x00007ff0004dc8f3 in KTextEditor::ViewPrivate::~ViewPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/ktexteditor-5.83.0-1.2.x86_64/src/view/kateview.cpp:257
#27 0x00007ff0004dcd49 in KTextEditor::ViewPrivate::~ViewPrivate (this=<optimized out>, this=<optimized out>) at /usr/src/debug/ktexteditor-5.83.0-1.2.x86_64/src/view/kateview.cpp:263
#28 0x00007ff0006eeeb7 in Sublime::View::~View (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/kdevplatform/sublime/view.cpp:67
#29 0x00007ff003aa79d9 in KDevelop::TextView::~TextView (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/kdevplatform/shell/textdocument.cpp:623
#30 0x00007ff0006e4142 in Sublime::Document::closeViews (this=0x5579c828f8e0) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/kdevplatform/sublime/document.cpp:158
#31 0x00007ff003aa0363 in KDevelop::PartDocument::close (this=0x5579c828f8e0, mode=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/kdevplatform/shell/partdocument.cpp:156
#32 0x00007ff003aadf7a in KDevelop::DocumentController::cleanup (this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/kdevplatform/shell/documentcontroller.cpp:593
#33 0x00007ff003a8833b in KDevelop::Core::cleanup (this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/kdevplatform/shell/core.cpp:394
#34 0x00007ff003a88904 in KDevelop::Core::shutdown (this=0x5579c4f20950) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/kdevplatform/shell/core.cpp:360
#35 0x00007ff003a686bf in KDevelop::MainWindow::~MainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/kdevplatform/shell/mainwindow.cpp:150
#36 0x00007ff003a68729 in KDevelop::MainWindow::~MainWindow (this=<optimized out>, this=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/kdevplatform/shell/mainwindow.cpp:154
#37 0x00007ff002112cff in QObject::event (this=0x5579c4f5b530, e=0x5579ce496020) at kernel/qobject.cpp:1301
#38 0x00007ff00029fc09 in KXmlGuiWindow::event (this=0x5579c4f5b530, ev=0x5579ce496020) at /usr/src/debug/kxmlgui-5.83.0-2.1.x86_64/src/kxmlguiwindow.cpp:193
#39 0x00007ff002e67a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5579c4f5b530, e=0x5579ce496020) at kernel/qapplication.cpp:3632
#40 0x00007ff0020e696a in QCoreApplication::notifyInternal2 (receiver=0x5579c4f5b530, event=0x5579ce496020) at kernel/qcoreapplication.cpp:1064
#41 0x00007ff0020e99b7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5579c4c00c20) at kernel/qcoreapplication.cpp:1821
#42 0x00007ff00213e7d3 in postEventSourceDispatch (s=s@entry=0x5579c4cffe70) at kernel/qeventdispatcher_glib.cpp:277
#43 0x00007feffe6cc80f in g_main_dispatch (context=0x5579c4cfef50) at ../glib/gmain.c:3337
#44 g_main_context_dispatch (context=0x5579c4cfef50) at ../glib/gmain.c:4055
#45 0x00007feffe6ccb98 in g_main_context_iterate (context=context@entry=0x5579c4cfef50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#46 0x00007feffe6ccc4f in g_main_context_iteration (context=0x5579c4cfef50, may_block=1) at ../glib/gmain.c:4196
#47 0x00007ff00213de54 in QEventDispatcherGlib::processEvents (this=0x5579c4cffc30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007ff0020e536b in QEventLoop::exec (this=this@entry=0x7ffd34ee3020, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#49 0x00007ff0020ed650 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#50 0x00007ff0026161dc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#51 0x00007ff002e679f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#52 0x00005579c2cba6de in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdevelop5-5.6.2-1.8.x86_64/app/main.cpp:850
[Inferior 1 (process 4742) detached]

Reported using DrKonqi
Comment 1 Nate Graham 2022-06-09 17:44:01 UTC
*** Bug 455052 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2022-06-09 17:44:11 UTC
*** Bug 450700 has been marked as a duplicate of this bug. ***