Bug 474288 - Kate crashes create new session->save as session than settings->configure kate
Summary: Kate crashes create new session->save as session than settings->configure kate
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-09-08 09:53 UTC by Shahrukh
Modified: 2023-10-09 16:59 UTC (History)
1 user (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 Shahrukh 2023-09-08 09:53:41 UTC
Application: kate (22.04.1)

Qt Version: 5.15.3
Frameworks Version: 5.96.0
Operating System: Linux 4.18.0-477.15.1.el8_8.x86_64 x86_64
Windowing System: X11
Distribution: Rocky Linux 8.8 (Green Obsidian)
DrKonqi: 5.24.7 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Create a new session than saved the session. Followed by Settings->Configure Kate and kate crashes.
- Unusual behavior I noticed:
This is repeatable and reproducible.

- Custom settings of the application:
None

The crash can be reproduced every time.

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

[New LWP 54621]
[New LWP 54640]
[New LWP 75122]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f8e337eaf41 in poll () from /lib64/libc.so.6
__preamble__
[Current thread is 1 (Thread 0x7f8e260f0c80 (LWP 54618))]

Thread 4 (Thread 0x7f8dd77fe700 (LWP 75122)):
#0  0x00007f8e337eaf41 in poll () from /lib64/libc.so.6
#1  0x00007f8df6330e45 in poll_func () from /lib64/libpulse.so.0
#2  0x00007f8df6322658 in pa_mainloop_poll () from /lib64/libpulse.so.0
#3  0x00007f8df6322cb2 in pa_mainloop_iterate () from /lib64/libpulse.so.0
#4  0x00007f8df6322d60 in pa_mainloop_run () from /lib64/libpulse.so.0
#5  0x00007f8df6330f1d in thread () from /lib64/libpulse.so.0
#6  0x00007f8df60cd81c in internal_thread_func () from /usr/lib64/pulseaudio/libpulsecommon-14.0.so
#7  0x00007f8e310d21ca in start_thread () from /lib64/libpthread.so.0
#8  0x00007f8e33700e73 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f8de63e8700 (LWP 54640)):
#0  0x00007f8e337e69b4 in read () from /lib64/libc.so.6
#1  0x00007f8e2a1fb3ae in usbmuxd_listen_inotify () from /lib64/libusbmuxd.so.4
#2  0x00007f8e2a1fc0f3 in device_monitor () from /lib64/libusbmuxd.so.4
#3  0x00007f8e310d21ca in start_thread () from /lib64/libpthread.so.0
#4  0x00007f8e33700e73 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8e0e951700 (LWP 54621)):
#0  0x00007f8e337eaf41 in poll () from /lib64/libc.so.6
#1  0x00007f8e2c20fe16 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f8e2c20ff40 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f8e346b396b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f8e3465e2bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f8e344a351f in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f8e362ebc89 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f8e344a4805 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f8e310d21ca in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8e33700e73 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8e260f0c80 (LWP 54618)):
[KCrash Handler]
#4  0x00007f8e384ab8d5 in KConfigPrivate::lookupData(QByteArray const&, char const*, QFlags<KEntryMap::SearchFlag>, bool*) const () from /lib64/libKF5ConfigCore.so.5
#5  0x00007f8e384bc9ad in KConfigGroup::readEntry(char const*, QString const&) const () from /lib64/libKF5ConfigCore.so.5
#6  0x00007f8e384bcb9f in KConfigGroup::readEntry(char const*, char const*) const () from /lib64/libKF5ConfigCore.so.5
#7  0x00007f8e159cd711 in KDirOperator::readConfig(KConfigGroup const&) () from /lib64/libKF5KIOFileWidgets.so.5
#8  0x00007f8dfc498a84 in KateFileBrowser::readSessionConfig(KConfigGroup const&) () from /usr/lib64/qt5/plugins/ktexteditor/katefilebrowserplugin.so
#9  0x00007f8dfc495def in KateFileBrowserPluginView::createFileBrowser(bool) [clone .part.20] () from /usr/lib64/qt5/plugins/ktexteditor/katefilebrowserplugin.so
#10 0x00007f8dfc496614 in KateFileBrowserPlugin::configPage(int, QWidget*) () from /usr/lib64/qt5/plugins/ktexteditor/katefilebrowserplugin.so
#11 0x0000559f2b68d4c7 in KateConfigDialog::addPluginPage(KTextEditor::Plugin*) ()
#12 0x0000559f2b68d691 in KateConfigDialog::addPluginPages() ()
#13 0x0000559f2b690956 in KateConfigDialog::KateConfigDialog(KateMainWindow*) ()
#14 0x0000559f2b6262a2 in KateMainWindow::showPluginConfigPage(KTextEditor::Plugin*, int) ()
#15 0x0000559f2b673b2f in KateMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#16 0x00007f8e34692b00 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#17 0x00007f8e3574db56 in QAction::triggered(bool) () from /lib64/libQt5Widgets.so.5
#18 0x00007f8e3575021e in QAction::activate(QAction::ActionEvent) () from /lib64/libQt5Widgets.so.5
#19 0x00007f8e358cd8ac in QMenuPrivate::activateCausedStack(QVector<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#20 0x00007f8e358d4e84 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /lib64/libQt5Widgets.so.5
#21 0x00007f8e358d5fa0 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#22 0x00007f8e35794f08 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#23 0x00007f8e358d835b in QMenu::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f8e35754252 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007f8e3575b178 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#26 0x00007f8e3465f5b2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#27 0x00007f8e3575a5d3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#28 0x00007f8e357b0069 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#29 0x00007f8e357b2a15 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#30 0x00007f8e35754252 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007f8e3575afd0 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#32 0x00007f8e3465f5b2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007f8e34cb11a4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#34 0x00007f8e34cb25a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib64/libQt5Gui.so.5
#35 0x00007f8e34c8dc0b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#36 0x00007f8e18c3e95e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#37 0x00007f8e2c20faed in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#38 0x00007f8e2c20fea8 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#39 0x00007f8e2c20ff40 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#40 0x00007f8e346b3954 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#41 0x00007f8e3465e2bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#42 0x00007f8e34666704 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#43 0x0000559f2b61a243 in main ()
[Inferior 1 (process 54618) detached]

Possible duplicates by query: bug 459239, bug 457929, bug 457184, bug 457105, bug 455056.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2023-10-09 16:59:33 UTC
This is fixed in later versions, e.g. 23.04