Bug 453454

Summary: Kate crashes after pressing button "filesystem" in left task bar
Product: [Applications] kate Reporter: Karsten Pfeiffer <karsten.pfeiffer>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christoph
Priority: NOR Keywords: drkonqi
Version: 22.04.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Karsten Pfeiffer 2022-05-06 06:44:50 UTC
Application: kate (22.04.0)

Qt Version: 5.15.2
Frameworks Version: 5.93.0
Operating System: Linux 5.17.4-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed: I am starting Kate the first time after Tumbleweed new installation directly from favorites. The first action i did was to press the button filesystem from the left task bar. The problem is reproducible. When i create a first new text file (create, write, close) the problem is done. Regards Karsten

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  QFlags<KEntryMap::SearchFlag>::operator|= (other=<optimized out>, this=<optimized out>) at /usr/src/debug/kconfig-5.93.0-1.1.x86_64/src/core/kconfig.cpp:1058
#7  KConfigPrivate::lookupData (this=0x205, group=..., key=0x7effd5d4cf39 "View Style", flags=..., expand=0x7ffe31758257) at /usr/src/debug/kconfig-5.93.0-1.1.x86_64/src/core/kconfig.cpp:1059
#8  0x00007effdc943d90 in KConfigGroup::readEntry (this=this@entry=0x55bc2c455ae0, key=key@entry=0x7effd5d4cf39 "View Style", aDefault=...) at /usr/src/debug/kconfig-5.93.0-1.1.x86_64/src/core/kconfiggroup.cpp:674
#9  0x00007effdc943fac in KConfigGroup::readEntry (this=this@entry=0x55bc2c455ae0, key=key@entry=0x7effd5d4cf39 "View Style", aDefault=aDefault@entry=0x7effd5d4cf2e "DetailTree") at /usr/src/debug/kconfig-5.93.0-1.1.x86_64/src/core/kconfiggroup.cpp:659
#10 0x00007effd5ce8cde in KDirOperator::readConfig (this=0x55bc2c9539c0, configGroup=...) at /usr/src/debug/kio-5.93.0-1.1.x86_64/src/filewidgets/kdiroperator.cpp:2442
#11 0x00007effd41d42d0 in KateFileBrowser::readSessionConfig (this=this@entry=0x55bc2c90f490, cg=...) at /usr/src/debug/kate-22.04.0-1.1.x86_64/addons/filebrowser/katefilebrowser.cpp:160
#12 0x00007effd41d7a22 in KateFileBrowserPluginView::createFileBrowser (this=0x55bc2c1cde90, visible=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:173
#13 0x00007effdb3fd488 in doActivate<false> (sender=0x55bc2c452b30, signal_index=7, argv=0x7ffe317585b0) at kernel/qobject.cpp:3898
#14 0x00007effdb3f67af in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe317585b0) at kernel/qobject.cpp:3946
#15 0x000055bc28e2f1eb in KateMDI::ToolView::toolVisibleChanged (_t1=true, this=<optimized out>) at /usr/src/debug/kate-22.04.0-1.1.x86_64/build/kate/kate-lib_autogen/EWIEGA46WW/moc_katemdi.cpp:333
#16 KateMDI::ToolView::setToolVisible (vis=true, this=<optimized out>) at /usr/src/debug/kate-22.04.0-1.1.x86_64/kate/katemdi.cpp:244
#17 KateMDI::Sidebar::showWidget (this=this@entry=0x55bc2be05e50, widget=<optimized out>) at /usr/src/debug/kate-22.04.0-1.1.x86_64/kate/katemdi.cpp:480
#18 0x000055bc28e2f71d in KateMDI::Sidebar::tabClicked (this=0x55bc2be05e50, i=<optimized out>) at /usr/src/debug/kate-22.04.0-1.1.x86_64/kate/katemdi.cpp:628
#19 0x00007effdb3fd488 in doActivate<false> (sender=0x55bc2c4518a0, signal_index=12, argv=0x7ffe31758730) at kernel/qobject.cpp:3898
#20 0x00007effdb3f67af in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7effdcb3f180, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe31758730) at kernel/qobject.cpp:3946
#21 0x00007effdcabf33e in KMultiTabBarButton::clicked (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kwidgetsaddons-5.93.0-1.1.x86_64/build/src/KF5WidgetsAddons_autogen/include/moc_kmultitabbar.cpp:289
#22 0x00007effdb3fd453 in QtPrivate::QSlotObjectBase::call (a=0x7ffe31758840, r=0x55bc2c4518a0, this=0x55bc2c452010) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x55bc2c4518a0, signal_index=9, argv=0x7ffe31758840) at kernel/qobject.cpp:3886
#24 0x00007effdb3f67af in QMetaObject::activate (sender=sender@entry=0x55bc2c4518a0, m=m@entry=0x7effdc4d1180, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe31758840) at kernel/qobject.cpp:3946
#25 0x00007effdc0a50d2 in QAbstractButton::clicked (this=this@entry=0x55bc2c4518a0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#26 0x00007effdc0a534a in QAbstractButtonPrivate::emitClicked (this=0x55bc2c451bd0) at widgets/qabstractbutton.cpp:415
#27 0x00007effdc0a6f10 in QAbstractButtonPrivate::click (this=0x55bc2c451bd0) at widgets/qabstractbutton.cpp:408
#28 0x00007effdc0a7133 in QAbstractButton::mouseReleaseEvent (this=0x55bc2c4518a0, e=0x7ffe31758de0) at widgets/qabstractbutton.cpp:1044
#29 0x00007effdbff3cde in QWidget::event (this=0x55bc2c4518a0, event=0x7ffe31758de0) at kernel/qwidget.cpp:9020
#30 0x00007effdbfb1b0f in QApplicationPrivate::notify_helper (this=this@entry=0x55bc2a37a700, receiver=receiver@entry=0x55bc2c4518a0, e=e@entry=0x7ffe31758de0) at kernel/qapplication.cpp:3632
#31 0x00007effdbfb9614 in QApplication::notify (this=<optimized out>, receiver=0x55bc2c4518a0, e=0x7ffe31758de0) at kernel/qapplication.cpp:3076
#32 0x00007effdb3c6b5a in QCoreApplication::notifyInternal2 (receiver=0x55bc2c4518a0, event=0x7ffe31758de0) at kernel/qcoreapplication.cpp:1064
#33 0x00007effdbfb8123 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55bc2c4518a0, event=event@entry=0x7ffe31758de0, alienWidget=alienWidget@entry=0x55bc2c4518a0, nativeWidget=0x7effd0005410, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#34 0x00007effdc00cddc in QWidgetWindow::handleMouseEvent (this=0x55bc2c693e70, event=0x7ffe317590b0) at kernel/qwidgetwindow.cpp:683
#35 0x00007effdc0101f5 in QWidgetWindow::event (this=0x55bc2c693e70, event=0x7ffe317590b0) at kernel/qwidgetwindow.cpp:300
#36 0x00007effdbfb1b0f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55bc2c693e70, e=0x7ffe317590b0) at kernel/qapplication.cpp:3632
#37 0x00007effdb3c6b5a in QCoreApplication::notifyInternal2 (receiver=0x55bc2c693e70, event=0x7ffe317590b0) at kernel/qcoreapplication.cpp:1064
#38 0x00007effdb823a77 in QGuiApplicationPrivate::processMouseEvent (e=0x55bc2c9498b0) at kernel/qguiapplication.cpp:2282
#39 0x00007effdb7f986c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#40 0x00007effd675ae9a in xcbSourceDispatch (source=source@entry=0x55bc2a45b390) at qxcbeventdispatcher.cpp:105
#41 0x00007effd9553122 in g_main_dispatch (context=0x7effd0005010) at ../glib/gmain.c:3417
#42 g_main_context_dispatch (context=0x7effd0005010) at ../glib/gmain.c:4135
#43 0x00007effd95534b8 in g_main_context_iterate (context=context@entry=0x7effd0005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4211
#44 0x00007effd955356f in g_main_context_iteration (context=0x7effd0005010, may_block=1) at ../glib/gmain.c:4276
#45 0x00007effdb41e2b4 in QEventDispatcherGlib::processEvents (this=0x55bc2a463430, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#46 0x00007effdb3c555b in QEventLoop::exec (this=this@entry=0x7ffe317593e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#47 0x00007effdb3cd820 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#48 0x00007effdb81761c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#49 0x00007effdbfb1a85 in QApplication::exec () at kernel/qapplication.cpp:2824
#50 0x000055bc28e13e14 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-22.04.0-1.1.x86_64/kate/main.cpp:703
[Inferior 1 (process 7913) detached]

Possible duplicates by query: bug 453234, bug 453152, bug 451615, bug 442873, bug 421596.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2022-05-07 17:44:28 UTC

*** This bug has been marked as a duplicate of bug 453234 ***
Comment 2 Christoph Cullmann 2022-05-07 17:44:49 UTC
The issue is the file browser plugin, it contained unfortunately an error :(

Sorry for that!