Bug 475450 - dolphin se cierra al querer configurar la barra de herramientas
Summary: dolphin se cierra al querer configurar la barra de herramientas
Status: RESOLVED UPSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-10-11 01:29 UTC by Fernando
Modified: 2023-10-15 12:39 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 Fernando 2023-10-11 01:29:56 UTC
Application: dolphin (23.04.2)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 5.15.0-75-generic x86_64
Windowing System: X11
Distribution: Windows Ubuntu 11.4.2
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fef8335c380 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007fef82325b0e in QMetaObject::cast(QObject const*) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fef7842ab6b in qobject_cast<QToolBar const*> (object=0x558feeee40c0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:533
#7  0x00007fef78412624 in Lightly::Style::drawMenuBarItemControl (this=0x558fee9ba9c0, option=0x7ffe1413b780, painter=0x7ffe1413b760, widget=0x558feee8d910) at /Lightly/kstyle/lightlystyle.cpp:5070
#8  0x00007fef7842f765 in std::__invoke_impl<bool, bool (Lightly::Style::*&)(QStyleOption const*, QPainter*, QWidget const*) const, Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*> (__f=@0x7ffe1413b6f0: (bool (Lightly::Style::*)(const Lightly::Style * const, const QStyleOption *, QPainter *, const QWidget *)) 0x7fef784123aa <Lightly::Style::drawMenuBarItemControl(QStyleOption const*, QPainter*, QWidget const*) const>, __t=...) at /usr/include/c++/9/bits/invoke.h:66
#9  0x00007fef7842ec95 in std::__invoke<bool (Lightly::Style::*&)(QStyleOption const*, QPainter*, QWidget const*) const, Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*> (__fn=@0x7ffe1413b6f0: (bool (Lightly::Style::*)(const Lightly::Style * const, const QStyleOption *, QPainter *, const QWidget *)) 0x7fef784123aa <Lightly::Style::drawMenuBarItemControl(QStyleOption const*, QPainter*, QWidget const*) const>) at /usr/include/c++/9/bits/invoke.h:95
#10 0x00007fef7842da61 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=@0x7ffe1413b668: 0x7ffe1413b780, __args#2=@0x7ffe1413b660: 0x7ffe1413b760, __args#3=@0x7ffe1413b658: 0x558feee8d910) at /usr/include/c++/9/bits/std_function.h:317
#11 0x00007fef78429f84 in std::function<bool (Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*)>::operator()(Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*) const (this=0x7ffe1413b6f0, __args#0=..., __args#1=0x7ffe1413b780, __args#2=0x7ffe1413b760, __args#3=0x558feee8d910) at /usr/include/c++/9/bits/std_function.h:688
#12 0x00007fef78401048 in Lightly::Style::drawControl (this=0x558fee9ba9c0, element=QStyle::CE_MenuBarItem, option=0x7ffe1413b780, painter=0x7ffe1413b760, widget=0x558feee8d910) at /Lightly/kstyle/lightlystyle.cpp:1086
#13 0x00007fef82fadbb4 in QMenuBar::paintEvent(QPaintEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fef82e5794e in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fef82e14763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fef8231cdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fef82e4f7ea in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fef82e50082 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fef82e51500 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 0x00007fef82e5132f 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 0x00007fef82e5132f 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
#22 0x00007fef82e4fd9f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fef82e25a1d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fef82e5809d in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fef83b357bd in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#26 0x00007fef82e14763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007fef8231cdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fef8231fec7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fef83156e33 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007fef8234a2fe in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fef82e14763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007fef8231cdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fef8231fec7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fef82376c07 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fef7fe60d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fef7feb6258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fef7fe5e3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fef82376258 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007fef8231b6fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007fef82323c94 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x0000558fedafab35 in ?? ()
#42 0x00007fef81c35d90 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#43 0x00007fef81c35e40 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#44 0x0000558fedafb3e5 in ?? ()
[Inferior 1 (process 8522) detached]

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fc2e4b85b0c in QMetaObject::cast(QObject const*) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fc2dcb04b6b in qobject_cast<QToolBar const*> (object=0x557b0e3c0860) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:533
#6  0x00007fc2dcaec624 in Lightly::Style::drawMenuBarItemControl (this=0x557b0de6c6f0, option=0x7ffd720fbba0, painter=0x7ffd720fbb80, widget=0x557b0e3402f0) at /Lightly/kstyle/lightlystyle.cpp:5070
#7  0x00007fc2dcb09765 in std::__invoke_impl<bool, bool (Lightly::Style::*&)(QStyleOption const*, QPainter*, QWidget const*) const, Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*> (__f=@0x7ffd720fbb10: (bool (Lightly::Style::*)(const Lightly::Style * const, const QStyleOption *, QPainter *, const QWidget *)) 0x7fc2dcaec3aa <Lightly::Style::drawMenuBarItemControl(QStyleOption const*, QPainter*, QWidget const*) const>, __t=...) at /usr/include/c++/9/bits/invoke.h:66
#8  0x00007fc2dcb08c95 in std::__invoke<bool (Lightly::Style::*&)(QStyleOption const*, QPainter*, QWidget const*) const, Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*> (__fn=@0x7ffd720fbb10: (bool (Lightly::Style::*)(const Lightly::Style * const, const QStyleOption *, QPainter *, const QWidget *)) 0x7fc2dcaec3aa <Lightly::Style::drawMenuBarItemControl(QStyleOption const*, QPainter*, QWidget const*) const>) at /usr/include/c++/9/bits/invoke.h:95
#9  0x00007fc2dcb07a61 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=@0x7ffd720fba88: 0x7ffd720fbba0, __args#2=@0x7ffd720fba80: 0x7ffd720fbb80, __args#3=@0x7ffd720fba78: 0x557b0e3402f0) at /usr/include/c++/9/bits/std_function.h:317
#10 0x00007fc2dcb03f84 in std::function<bool (Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*)>::operator()(Lightly::Style const&, QStyleOption const*, QPainter*, QWidget const*) const (this=0x7ffd720fbb10, __args#0=..., __args#1=0x7ffd720fbba0, __args#2=0x7ffd720fbb80, __args#3=0x557b0e3402f0) at /usr/include/c++/9/bits/std_function.h:688
#11 0x00007fc2dcadb048 in Lightly::Style::drawControl (this=0x557b0de6c6f0, element=QStyle::CE_MenuBarItem, option=0x7ffd720fbba0, painter=0x7ffd720fbb80, widget=0x557b0e3402f0) at /Lightly/kstyle/lightlystyle.cpp:1086
#12 0x00007fc2e580dbb4 in QMenuBar::paintEvent(QPaintEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fc2e56b794e in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fc2e5674763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fc2e4b7cdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fc2e56af7ea in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fc2e56b0082 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fc2e56b1500 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 0x00007fc2e56b132f 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 0x00007fc2e56b132f 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 0x00007fc2e56afd9f in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007fc2e5685a1d in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fc2e56b809d in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fc2e63957bd in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#25 0x00007fc2e5674763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fc2e4b7cdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fc2e4b7fec7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fc2e59b6e33 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fc2e4baa2fe in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fc2e5674763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007fc2e4b7cdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fc2e4b7fec7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fc2e4bd6c07 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fc2e26c0d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fc2e2716258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fc2e26be3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fc2e4bd6258 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fc2e4b7b6fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007fc2e4b83c94 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x0000557b0c027b35 in ?? ()
#41 0x00007fc2e4495d90 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#42 0x00007fc2e4495e40 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#43 0x0000557b0c0283e5 in ?? ()
[Inferior 1 (process 4394) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-10-15 12:39:20 UTC
The crash is happening in the Lightly style. Please report this to https://github.com/Luwx/Lightly/issues