Bug 457184 - Kate crashes everytime when opening settings
Summary: Kate crashes everytime when opening settings
Status: RESOLVED DUPLICATE of bug 453234
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-07-27 05:29 UTC by Akarshan Biswas
Modified: 2022-08-11 05:50 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akarshan Biswas 2022-07-27 05:29:12 UTC
Application: kate (22.04.1)

Qt Version: 5.15.3
Frameworks Version: 5.96.0
Operating System: Linux 5.18.13-200.fc36.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 36 (Workstation Edition)
DrKonqi: 5.25.3 [KCrashBackend]

-- Information about the crash:
The settings of kate cannot be opened at all. As soon as the settings is attempted to open, kate crashes.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f60064ea7b9 in KConfigPrivate::lookupData(QByteArray const&, char const*, QFlags<KEntryMap::SearchFlag>, bool*) const () from /lib64/libKF5ConfigCore.so.5
#5  0x00007f60064f6f95 in KConfigGroup::readEntry(char const*, QString const&) const () from /lib64/libKF5ConfigCore.so.5
#6  0x00007f60064f71af in KConfigGroup::readEntry(char const*, char const*) const () from /lib64/libKF5ConfigCore.so.5
#7  0x00007f5ff26dff02 in KDirOperator::readConfig(KConfigGroup const&) () from /lib64/libKF5KIOFileWidgets.so.5
#8  0x00007f5fe26162e0 in KateFileBrowser::readSessionConfig(KConfigGroup const&) () from /usr/lib64/qt5/plugins/ktexteditor/katefilebrowserplugin.so
#9  0x00007f5fe2619ae8 in KateFileBrowserPluginView::createFileBrowser(bool) [clone .part.0] () from /usr/lib64/qt5/plugins/ktexteditor/katefilebrowserplugin.so
#10 0x00007f5fe261a6a5 in KateFileBrowserPlugin::configPage(int, QWidget*) () from /usr/lib64/qt5/plugins/ktexteditor/katefilebrowserplugin.so
#11 0x00005590a128c2ef in KateConfigDialog::addPluginPage(KTextEditor::Plugin*) ()
#12 0x00005590a1248802 in KateMainWindow::showPluginConfigPage(KTextEditor::Plugin*, int) [clone .part.0] ()
#13 0x00007f600506bdbf in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#14 0x00007f6005b3f266 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#15 0x00007f6005b41f43 in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#16 0x00007f6005062694 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007f6005b45c82 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f6005038658 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007f600503b9b4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#20 0x00007f6005089807 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#21 0x00007f6003312faf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007f60033682c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#23 0x00007f6003310940 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007f60050892fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007f60050370ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f600503f162 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#27 0x00005590a122e8e5 in main ()
[Inferior 1 (process 4301) detached]

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

Reported using DrKonqi
Comment 1 Miren Radia 2022-08-08 13:26:07 UTC
I have the same problem (although DrKonqi doesn't seem to pick it up for me) with the following setup:

OS: Fedora 36
KDE Plasma: 5.25.4
KDE Frameworks: 5.96.0
Qt: 5.15.5
Kernel: 5.18.16-200.fc36.x86_64
Graphics: Wayland

 When, I launch kate from a terminal and open Settings -> Configure Kate... to cause the crash, I get the following output

QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
KCrash: Application 'kate' crashing...
The Wayland connection experienced a fatal error: Bad file descriptor
Comment 2 Waqar Ahmed 2022-08-11 05:50:05 UTC

*** This bug has been marked as a duplicate of bug 453234 ***