Bug 501744 - On X11, Kate crashes in Breeze::ToolsAreaManager::configUpdated() on save as
Summary: On X11, Kate crashes in Breeze::ToolsAreaManager::configUpdated() on save as
Status: RESOLVED DUPLICATE of bug 501688
Alias: None
Product: Breeze
Classification: Plasma
Component: QStyle (show other bugs)
Version: 6.3.3
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, X11-only
Depends on:
Blocks:
 
Reported: 2025-03-19 14:26 UTC by bug2017
Modified: 2025-03-19 21:15 UTC (History)
4 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 bug2017 2025-03-19 14:26:15 UTC
Application: kate (24.12.3)
 (Compiled from sources)
ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.12.0
Operating System: Linux 6.13.7-gentoo-x86_64 x86_64
Windowing System: X11
Distribution: "Gentoo Linux"
DrKonqi: 6.3.3 [KCrashBackend]

-- Information about the crash:
Kate crashed after pressing ok in the save as dialog. The file was created.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#7  0x00007f0566299178 in QWidget::layout (this=this@entry=0x55907cfb6d70) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qwidget.h:101
#8  0x00007f056619dcb1 in QMainWindow::menuBar (this=this@entry=0x55907cfb6d70) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/widgets/widgets/qmainwindow.cpp:465
#9  0x00007f0545f56d8c in Breeze::ToolsAreaManager::configUpdated (this=0x55907a57ba30) at /var/tmp/portage/kde-plasma/breeze-6.3.3/work/breeze-6.3.3/kstyle/breezetoolsareamanager.cpp:144
#10 0x00007f05650ebd3d in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=0x55907a57ba30, a=0x7ffce37866e0) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qobjectdefs_impl.h:486
#11 doActivate<false> (sender=0x55907a57bab0, signal_index=3, argv=0x7ffce37866e0) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qobject.cpp:4115
#12 0x00007f05650aa867 in QMetaObject::activate (sender=sender@entry=0x55907a57bab0, m=m@entry=0x7f056420dee0 <KConfigWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffce37866e0) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qobject.cpp:4175
#13 0x00007f05641f4ee2 in KConfigWatcher::configChanged (this=this@entry=0x55907a57bab0, _t1=..., _t2=<optimized out>) at /var/tmp/portage/kde-frameworks/kconfig-6.12.0/work/kconfig-6.12.0_build/src/core/KF6ConfigCore_autogen/include/moc_kconfigwatcher.cpp:159
#14 0x00007f05641f661e in KConfigWatcher::onConfigChangeNotification (this=this@entry=0x55907a57bab0, changes=<optimized out>) at /var/tmp/portage/kde-frameworks/kconfig-6.12.0/work/kconfig-6.12.0/src/core/kconfigwatcher.cpp:114
#15 0x00007f05641f6872 in KConfigWatcher::qt_static_metacall (_o=0x55907a57bab0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffce3786918) at /var/tmp/portage/kde-frameworks/kconfig-6.12.0/work/kconfig-6.12.0_build/src/core/KF6ConfigCore_autogen/include/moc_kconfigwatcher.cpp:108
#16 KConfigWatcher::qt_metacall (this=0x55907a57bab0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffce3786918) at /var/tmp/portage/kde-frameworks/kconfig-6.12.0/work/kconfig-6.12.0_build/src/core/KF6ConfigCore_autogen/include/moc_kconfigwatcher.cpp:144
#17 0x00007f05665e716d in QDBusConnectionPrivate::deliverCall (this=0x7f0548001670, object=0x55907a57bab0, msg=..., metaTypes=<optimized out>, slotIdx=5) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/dbus/qdbusintegrator.cpp:1008
#18 0x00007f056508dbd0 in QObject::event (this=0x55907a57bab0, e=0x7f0548033ac0) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qobject.cpp:1418
#19 0x00007f056631fff5 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55907a57bab0, e=0x7f0548033ac0) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qapplication.cpp:3296
#20 0x00007f0565106be0 in QCoreApplication::notifyInternal2 (receiver=0x55907a57bab0, event=0x7f0548033ac0) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1172
#21 0x00007f0565106c8d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1612
#22 0x00007f0565129c97 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55907a30d7a0) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1946
#23 0x00007f0565129eac in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1800
#24 0x00007f0564ed2d77 in postEventSourceDispatch (s=0x55907a3ce5f0) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#25 0x00007f0563974ac5 in g_main_dispatch (context=context@entry=0x7f0548000f00) at ../glib-2.84.0/glib/gmain.c:3398
#26 0x00007f0563977df7 in g_main_context_dispatch_unlocked (context=0x7f0548000f00) at ../glib-2.84.0/glib/gmain.c:4249
#27 g_main_context_iterate_unlocked (context=context@entry=0x7f0548000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.84.0/glib/gmain.c:4314
#28 0x00007f0563978560 in g_main_context_iteration (context=0x7f0548000f00, may_block=1) at ../glib-2.84.0/glib/gmain.c:4379
#29 0x00007f0564ecb403 in QEventDispatcherGlib::processEvents (this=0x55907a3f8e00, flags=...) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#30 0x00007f056512e56a in QEventLoop::exec (this=this@entry=0x7ffce3786ef0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/global/qflags.h:34
#31 0x00007f056512e708 in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/corelib/global/qflags.h:74
#32 0x00007f056557d9b0 in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/gui/kernel/qguiapplication.cpp:1975
#33 0x00007f056628f549 in QApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.8.2-r2/work/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qapplication.cpp:2564
#34 0x0000559040eaeb02 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/kate-24.12.3/work/kate-24.12.3/apps/kate/main.cpp:547
[Inferior 1 (process 3397) detached]

Reported using DrKonqi
Comment 1 Christoph Cullmann 2025-03-19 14:36:44 UTC
Looks like a crash inside Breeze.
Comment 2 bug2017 2025-03-19 15:32:53 UTC
Now it crashed on loading a file via load file dialog in kate. The backtrace looks identical.
Comment 3 Nate Graham 2025-03-19 20:05:49 UTC
Cannot reproduce with my built-from-source Kate, KIO, and Breeze on top of Fedora 41 KDE, using Wayland. Some questions:

1. Does it happen in a new clean user account on the same machine?
2. Does it happen for you on Wayland too, or only on X11?
3. Since you're on Gentoo, can you try building Breeze and KIO from source at git master, and see if it still happens?
Comment 4 bug2017 2025-03-19 20:31:25 UTC
1) Did not try with a clean user.
2) X11
3) Not for now, kde-frameworks 6.13 is not in portage. Without that the live ebuild won't build (with ignored dependencies)
Comment 5 Nate Graham 2025-03-19 20:35:36 UTC
OK, feel free to return this to the REPORTED status once you have answers to the other questions too. Thanks!
Comment 6 Nate Graham 2025-03-19 21:15:35 UTC
From Bug 501688, looks like it happens on Wayland too, and is reproducible for at least one other person as well.

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