Bug 454594

Summary: Settings->Configure Kate Crashes
Product: [Applications] kate Reporter: Eric <eric.justin.allan>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: waqar.17a
Priority: NOR Keywords: drkonqi
Version: 22.04.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eric 2022-05-30 04:05:27 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:
I clicked Settings then I clicked Configure Kate and the program crashed. I also tried the shortcut ctrl+shift+, and that also crashed with seg fault. Is there a fix for this bug I read previous bug reports that wer simular, one said fixed but I didn't see how to fix the bug on that report, I updated kate and it is still crashing with the same action.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f4004db268a in QMapData<KEntryKey, KEntry>::root (this=0xf66306b8840fffe) at /usr/include/qt5/QtCore/qmap.h:208
#5  QMapData<KEntryKey, KEntry>::findNode (this=0xf66306b8840fffe, akey=...) at /usr/include/qt5/QtCore/qmap.h:287
#6  0x00007f4004dd8a66 in QMap<KEntryKey, KEntry>::constFind (akey=..., this=0x7f3ffd6c1b70) 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=0x7f3ffd6c1b70, key=..., flags=..., flags@entry=..., group=...) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfigdata.cpp:60
#8  0x00007f4004db20ee in KEntryMap::getEntry (group=..., expand=0x7fffe6c79b17, flags=..., defaultValue=..., key=..., this=0x7f3ffd6c1b70) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfigdata.cpp:217
#9  KConfigPrivate::lookupData (this=0x7f3ffd6c1b50, group=..., key=<optimized out>, flags=..., expand=0x7fffe6c79b17) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfig.cpp:1061
#10 0x00007f4004dbe7a1 in KConfigGroup::readEntry (this=this@entry=0x557a26f16530, key=key@entry=0x7f3ffe1d7f7b "View Style", aDefault=...) at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfiggroup.cpp:674
#11 0x00007f4004dbe9bb in KConfigGroup::readEntry (this=this@entry=0x557a26f16530, key=key@entry=0x7f3ffe1d7f7b "View Style", aDefault=aDefault@entry=0x7f3ffe1d7f70 "DetailTree") at /usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfiggroup.cpp:659
#12 0x00007f3ffe171d5e in KDirOperator::readConfig (this=0x557a27f336d0, configGroup=...) at /usr/src/debug/kio-5.94.0-1.1.x86_64/src/filewidgets/kdiroperator.cpp:2436
#13 0x00007f3ffc992300 in KateFileBrowser::readSessionConfig (this=0x557a27eed3a0, cg=...) at /usr/src/debug/kate-22.04.1-1.1.x86_64/addons/filebrowser/katefilebrowser.cpp:160
#14 0x00007f3ffc995a98 in KateFileBrowserPluginView::createFileBrowser (this=0x557a26c7a710, visible=<optimized out>) at /usr/include/c++/12/bits/unique_ptr.h:191
#15 0x00007f3ffc996655 in KateFileBrowserPluginView::createFileBrowser (visible=true, this=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:117
#16 KateFileBrowserPlugin::configPage (this=0x557a26b140a0, number=<optimized out>, parent=0x557a27800030) at /usr/src/debug/kate-22.04.1-1.1.x86_64/addons/filebrowser/katefilebrowserplugin.cpp:56
#17 0x0000557a2662954f in KateConfigDialog::addPluginPage (this=0x557a27800030, plugin=0x557a26b140a0) at /usr/src/debug/kate-22.04.1-1.1.x86_64/kate/kateconfigdialog.cpp:306
#18 0x0000557a265e6622 in KateConfigDialog::addPluginPages (this=0x557a27800030) 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 0x00007f400387ce1c in doActivate<false> (sender=0x557a26c949b0, signal_index=4, argv=0x7fffe6c7a090) at kernel/qobject.cpp:3898
#22 0x00007f40038760cf in QMetaObject::activate (sender=sender@entry=0x557a26c949b0, m=m@entry=0x7f4004941d40, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffe6c7a090) at kernel/qobject.cpp:3946
#23 0x00007f4004426b62 in QAction::triggered (this=this@entry=0x557a26c949b0, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#24 0x00007f40044297ab in QAction::activate (this=0x557a26c949b0, event=<optimized out>) at kernel/qaction.cpp:1161
#25 0x00007f400442a37d in QAction::event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1086
#26 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1075
#27 0x00007f400442d37e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x557a26c949b0, e=0x7fffe6c7a230) at kernel/qapplication.cpp:3632
#28 0x00007f4003845988 in QCoreApplication::notifyInternal2 (receiver=0x557a26c949b0, event=0x7fffe6c7a230) at kernel/qcoreapplication.cpp:1064
#29 0x00007f4003cd0e6b in QShortcutMap::dispatchEvent (this=<optimized out>, e=<optimized out>) at kernel/qshortcutmap.cpp:675
#30 0x00007f4003cd17bb in QShortcutMap::tryShortcut (this=this@entry=0x557a268f37c8, e=e@entry=0x7fffe6c7a2f0) at kernel/qshortcutmap.cpp:343
#31 0x00007f4003c79986 in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, timestamp=27419189, keyCode=60, modifiers=..., nativeScanCode=59, nativeVirtualKey=60, nativeModifiers=5, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:477
#32 0x00007f4003c9d72d in QGuiApplicationPrivate::processKeyEvent (e=0x557a2781b580) at kernel/qguiapplication.cpp:2395
#33 0x00007f4003c762ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#34 0x00007f3ffebe84da in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#35 0x00007f40019dada0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#36 0x00007f40019db158 in ?? () from /lib64/libglib-2.0.so.0
#37 0x00007f40019db1ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#38 0x00007f400389d5a6 in QEventDispatcherGlib::processEvents (this=0x557a269cb700, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007f40038443fb in QEventLoop::exec (this=this@entry=0x7fffe6c7a630, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#40 0x00007f400384c566 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x00007f4003c953bc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#42 0x00007f400442d2f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#43 0x0000557a265ccbd1 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 10672) detached]

The reporter indicates this bug may be a duplicate of or related to bug 454589.

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

Reported using DrKonqi
Comment 1 Waqar Ahmed 2022-05-30 04:29:32 UTC

*** This bug has been marked as a duplicate of bug 453152 ***
Comment 2 Waqar Ahmed 2022-05-30 04:31:07 UTC

*** This bug has been marked as a duplicate of bug 453234 ***
Comment 3 Eric 2022-05-30 06:04:10 UTC
(In reply to Waqar Ahmed from comment #2)
> 
> *** This bug has been marked as a duplicate of bug 453234 ***

Hey thanks sorry about the confusion i see the fixes now.