Bug 454589 - kate crashes when I click Settings > Configure Kate
Summary: kate crashes when I click Settings > Configure Kate
Status: RESOLVED DUPLICATE of bug 453234
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
: 457929 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-30 00:53 UTC by Taekyung Kim
Modified: 2022-08-15 18:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (3.05 KB, text/plain)
2022-07-19 22:47 UTC, Maximilian Bernhard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Taekyung Kim 2022-05-30 00:53:30 UTC
Application: kate (22.04.1)

Qt Version: 5.15.2
Frameworks Version: 5.94.0
Operating System: Linux 5.17.9-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.24.5 [KCrashBackend]

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

TSIA. I have no previous config files at all (clean install). In order to be sure, I removed ~/.config/kate and retried, but no differences.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f275022768a in QMapData<KEntryKey, KEntry>::root (this=0x30) at /usr/include/qt5/QtCore/qmap.h:208
#5  QMapData<KEntryKey, KEntry>::findNode (this=0x30, akey=...) at /usr/include/qt5/QtCore/qmap.h:287
#6  0x00007f275024da66 in QMap<KEntryKey, KEntry>::constFind (akey=..., this=0x563828009d10) at /usr/include/qt5/QtCore/qmap.h:852
#7  KEntryMap::constFindEntry(QByteArray const&, QByteArray const&, QFlags<KEntryMap::SearchFlag>) const [clone .isra.0] (this=this@entry=0x563828009d10, key=..., flags=..., flags@entry=..., group=...) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfigdata.cpp:60
#8  0x00007f27502270ee in KEntryMap::getEntry (group=..., expand=0x7ffcc9a7db47, flags=..., defaultValue=..., key=..., this=0x563828009d10) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfigdata.cpp:217
#9  KConfigPrivate::lookupData (this=0x563828009cf0, group=..., key=<optimized out>, flags=..., expand=0x7ffcc9a7db47) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfig.cpp:1061
#10 0x00007f27502337a1 in KConfigGroup::readEntry (this=this@entry=0x563826c21930, key=key@entry=0x7f274964bf7b "View Style", aDefault=...) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfiggroup.cpp:674
#11 0x00007f27502339bb in KConfigGroup::readEntry (this=this@entry=0x563826c21930, key=key@entry=0x7f274964bf7b "View Style", aDefault=aDefault@entry=0x7f274964bf70 "DetailTree") at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfiggroup.cpp:659
#12 0x00007f27495e5d5e in KDirOperator::readConfig (this=0x5638284a91c0, configGroup=...) at /usr/src/debug/kio-5.94.0-1.1.x86_64/src/filewidgets/kdiroperator.cpp:2436
#13 0x00007f2748013300 in KateFileBrowser::readSessionConfig (this=0x563828496ff0, cg=...) at /usr/src/debug/kate-22.04.1-1.1.x86_64/addons/filebrowser/katefilebrowser.cpp:160
#14 0x00007f2748016a98 in KateFileBrowserPluginView::createFileBrowser (this=0x563826e39640, visible=<optimized out>) at /usr/include/c++/12/bits/unique_ptr.h:191
#15 0x00007f2748017655 in KateFileBrowserPluginView::createFileBrowser (visible=true, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:117
#16 KateFileBrowserPlugin::configPage (this=0x563826aef2d0, number=<optimized out>, parent=0x563827da85d0) at /usr/src/debug/kate-22.04.1-1.1.x86_64/addons/filebrowser/katefilebrowserplugin.cpp:56
#17 0x0000563825ee754f in KateConfigDialog::addPluginPage (this=0x563827da85d0, plugin=0x563826aef2d0) at /usr/src/debug/kate-22.04.1-1.1.x86_64/kate/kateconfigdialog.cpp:306
#18 0x0000563825ea4622 in KateConfigDialog::addPluginPages (this=0x563827da85d0) at /usr/src/debug/kate-22.04.1-1.1.x86_64/kate/kateconfigdialog.cpp:286
#19 KateConfigDialog::KateConfigDialog (parent=<optimized out>, this=<optimized out>) at /usr/src/debug/kate-22.04.1-1.1.x86_64/kate/kateconfigdialog.cpp:63
#20 KateMainWindow::showPluginConfigPage (this=<optimized out>, configpageinterface=<optimized out>, id=<optimized out>) at /usr/src/debug/kate-22.04.1-1.1.x86_64/kate/katemainwindow.cpp:905
#21 0x00007f274ecf1e1c in doActivate<false> (sender=0x563826f0a050, signal_index=4, argv=0x7ffcc9a7e0c0) at kernel/qobject.cpp:3898
#22 0x00007f274eceb0cf in QMetaObject::activate (sender=sender@entry=0x563826f0a050, m=m@entry=0x7f274fdb6d40, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcc9a7e0c0) at kernel/qobject.cpp:3946
#23 0x00007f274f89bb62 in QAction::triggered (this=this@entry=0x563826f0a050, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#24 0x00007f274f89e7ab in QAction::activate (this=0x563826f0a050, event=<optimized out>) at kernel/qaction.cpp:1161
#25 0x00007f274fa22612 in QMenuPrivate::activateCausedStack (this=this@entry=0x563826ce99a0, causedStack=..., action=action@entry=0x563826f0a050, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384
#26 0x00007f274fa2a6e4 in QMenuPrivate::activateAction (this=0x563826ce99a0, action=0x563826f0a050, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1461
#27 0x00007f274f8e3f48 in QWidget::event (this=0x563826d2abb0, event=0x7ffcc9a7e6a0) at kernel/qwidget.cpp:9020
#28 0x00007f274f8a237e in QApplicationPrivate::notify_helper (this=this@entry=0x56382681b700, receiver=receiver@entry=0x563826d2abb0, e=e@entry=0x7ffcc9a7e6a0) at kernel/qapplication.cpp:3632
#29 0x00007f274f8aa8c2 in QApplication::notify (this=<optimized out>, receiver=0x563826d2abb0, e=<optimized out>) at kernel/qapplication.cpp:3076
#30 0x00007f274ecba988 in QCoreApplication::notifyInternal2 (receiver=0x563826d2abb0, event=0x7ffcc9a7e6a0) at kernel/qcoreapplication.cpp:1064
#31 0x00007f274f8a89ce in QApplicationPrivate::sendMouseEvent (receiver=0x563826d2abb0, event=event@entry=0x7ffcc9a7e6a0, alienWidget=<optimized out>, nativeWidget=0x563826d2abb0, buttonDown=buttonDown@entry=0x7f274fdee330 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#32 0x00007f274f8fd1b5 in QWidgetWindow::handleMouseEvent (this=0x563827fe0380, event=0x7ffcc9a7e950) at kernel/qwidgetwindow.cpp:580
#33 0x00007f274f9002c0 in QWidgetWindow::event (this=0x563827fe0380, event=0x7ffcc9a7e950) at kernel/qwidgetwindow.cpp:300
#34 0x00007f274f8a237e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x563827fe0380, e=0x7ffcc9a7e950) at kernel/qapplication.cpp:3632
#35 0x00007f274ecba988 in QCoreApplication::notifyInternal2 (receiver=0x563827fe0380, event=0x7ffcc9a7e950) at kernel/qcoreapplication.cpp:1064
#36 0x00007f274f116a45 in QGuiApplicationPrivate::processMouseEvent (e=0x563827fd07d0) at kernel/qguiapplication.cpp:2282
#37 0x00007f274f0eb2ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#38 0x00007f274a05c4da in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#39 0x00007f274ce4fda0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#40 0x00007f274ce50158 in ?? () from /lib64/libglib-2.0.so.0
#41 0x00007f274ce501ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#42 0x00007f274ed125a6 in QEventDispatcherGlib::processEvents (this=0x563826969f10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#43 0x00007f274ecb93fb in QEventLoop::exec (this=this@entry=0x7ffcc9a7ec80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#44 0x00007f274ecc1566 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#45 0x00007f274f10a3bc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#46 0x00007f274f8a22f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#47 0x0000563825e8abd1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-22.04.1-1.1.x86_64/kate/main.cpp:703
[Inferior 1 (process 5935) detached]

The reporter indicates this bug may be a duplicate of or related to bug 453795, bug 453234.

Possible duplicates by query: bug 453795, bug 453454, bug 453234, bug 453152, bug 451615.

Reported using DrKonqi
Comment 1 Waqar Ahmed 2022-05-30 04:31:50 UTC

*** This bug has been marked as a duplicate of bug 453234 ***
Comment 2 Maximilian Bernhard 2022-07-19 22:47:33 UTC
Created attachment 150752 [details]
New crash information added by DrKonqi

kate (22.04.1) using Qt 5.15.3

Kate crashed when clicking Settings -> Configure Kate

-- Backtrace (Reduced):
#4  0x00007f1b60a387b9 in KConfigPrivate::lookupData(QByteArray const&, char const*, QFlags<KEntryMap::SearchFlag>, bool*) const () from /lib64/libKF5ConfigCore.so.5
#5  0x00007f1b60a44f95 in KConfigGroup::readEntry(char const*, QString const&) const () from /lib64/libKF5ConfigCore.so.5
#6  0x00007f1b60a451af in KConfigGroup::readEntry(char const*, char const*) const () from /lib64/libKF5ConfigCore.so.5
#7  0x00007f1b4ca81f02 in KDirOperator::readConfig(KConfigGroup const&) () from /lib64/libKF5KIOFileWidgets.so.5
#8  0x00007f1b46b912e0 in KateFileBrowser::readSessionConfig(KConfigGroup const&) () from /usr/lib64/qt5/plugins/ktexteditor/katefilebrowserplugin.so
Comment 3 Waqar Ahmed 2022-08-15 18:37:37 UTC
*** Bug 457929 has been marked as a duplicate of this bug. ***