Bug 495759 - Crashes when configuring Dolphin toolbar.
Summary: Crashes when configuring Dolphin toolbar.
Status: RESOLVED UPSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.08.3
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-11-03 19:13 UTC by meczub
Modified: 2024-11-03 19:35 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 meczub 2024-11-03 19:13:47 UTC
Application: dolphin (23.08.3)
 (Compiled from sources)
Qt Version: 5.15.11
Frameworks Version: 5.112.0
Operating System: Linux 5.15.0-107-generic x86_64
Windowing System: X11
Distribution: Linuxfx 11.22.04.1
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
When configuring the icons in the toolbar, it works fine, but when I press the "apply" button, it crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f0cdf02862c in QMetaObject::cast(QObject const*) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f0cd051fb6b in qobject_cast<QToolBar const*> (object=0x55b7e83d0810) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:533
#6  0x00007f0cd0507624 in Lightly::Style::drawMenuBarItemControl (this=0x55b7e7ebf0e0, option=0x7fff0032ca80, painter=0x7fff0032ca60, widget=0x55b7e835e2e0) at /Lightly/kstyle/lightlystyle.cpp:5070
#7  0x00007f0cd0524765 in std::__invoke_impl<bool, bool (Lightly::Style::*&)(QStyleOption const*, QPainter*, QWidget const*) const, Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*> (__f=@0x7fff0032c9f0: (bool (Lightly::Style::*)(const Lightly::Style * const, const QStyleOption *, QPainter *, const QWidget *)) 0x7f0cd05073aa <Lightly::Style::drawMenuBarItemControl(QStyleOption const*, QPainter*, QWidget const*) const>, __t=...) at /usr/include/c++/9/bits/invoke.h:66
#8  0x00007f0cd0523c95 in std::__invoke<bool (Lightly::Style::*&)(QStyleOption const*, QPainter*, QWidget const*) const, Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*> (__fn=@0x7fff0032c9f0: (bool (Lightly::Style::*)(const Lightly::Style * const, const QStyleOption *, QPainter *, const QWidget *)) 0x7f0cd05073aa <Lightly::Style::drawMenuBarItemControl(QStyleOption const*, QPainter*, QWidget const*) const>) at /usr/include/c++/9/bits/invoke.h:95
#9  0x00007f0cd0522a61 in std::_Function_handler<bool (Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*), bool (Lightly::Style::*)(QStyleOption const*, QPainter*, QWidget const*) const>::_M_invoke(std::_Any_data const&, Lightly::Style const&, QStyleOption const*&&, QPainter*&&, QWidget const*&&) (__functor=..., __args#0=..., __args#1=@0x7fff0032c968: 0x7fff0032ca80, __args#2=@0x7fff0032c960: 0x7fff0032ca60, __args#3=@0x7fff0032c958: 0x55b7e835e2e0) at /usr/include/c++/9/bits/std_function.h:317
#10 0x00007f0cd051ef84 in std::function<bool (Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*)>::operator()(Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*) const (this=0x7fff0032c9f0, __args#0=..., __args#1=0x7fff0032ca80, __args#2=0x7fff0032ca60, __args#3=0x55b7e835e2e0) at /usr/include/c++/9/bits/std_function.h:688
#11 0x00007f0cd04f6048 in Lightly::Style::drawControl (this=0x55b7e7ebf0e0, element=QStyle::CE_MenuBarItem, option=0x7fff0032ca80, painter=0x7fff0032ca60, widget=0x55b7e835e2e0) at /Lightly/kstyle/lightlystyle.cpp:1086
#12 0x00007f0cdfcb0d84 in QMenuBar::paintEvent(QPaintEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007f0cdfb5a95e in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007f0cdfb17763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007f0cdf01f8ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f0cdfb527fa in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f0cdfb53092 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f0cdfb54510 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f0cdfb5433f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f0cdfb5433f in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f0cdfb52daf in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f0cdfb28a1d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f0cdfb5b0ad in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f0ce083b47d in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#25 0x00007f0cdfb17763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f0cdf01f8ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f0cdf0229e7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f0cdfe5a0d3 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f0cdf04ce3e in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007f0cdfb17763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007f0cdf01f8ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f0cdf0229e7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f0cdf079787 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007f0cdcb5ed3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f0cdcbb42b8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f0cdcb5c3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f0cdf078dd8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007f0cdf01e20b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f0cdf0267b4 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x000055b7e6f7fb97 in ?? ()
#41 0x00007f0cde937d90 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#42 0x00007f0cde937e40 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#43 0x000055b7e6f80435 in ?? ()
[Inferior 1 (process 4897) detached]

The reporter indicates this bug may be a duplicate of or related to bug 491616, bug 495542, bug 494645.

Reported using DrKonqi
Comment 1 Antonio Rojas 2024-11-03 19:35:57 UTC
The crash is in the lightly Qt style, please report it there