Bug 439252 - Kde config and discover crash
Summary: Kde config and discover crash
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.21.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-06-28 08:22 UTC by Guillaume Davin
Modified: 2022-06-13 10:16 UTC (History)
3 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 Guillaume Davin 2021-06-28 08:22:35 UTC
Application: plasma-discover (5.21.5)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.12.11-300.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.22.2
Distribution: Fedora 34 (Workstation Edition)

-- Information about the crash:
- What I was doing when the application crashed:

I was by mistake installing a radeon driver on 	a computer equiped by nvdia (equiped) :[[[?

- Unusual behavior I noticed:

Can only navigate and run program
:

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fbf8f1a2c65 in chameleon::ChameleonStyle::drawControl(QStyle::ControlElement, QStyleOption const*, QPainter*, QWidget const*) const () from /usr/lib64/qt5/plugins/styles/libchameleon.so
#5  0x00007fbf8f1ad721 in chameleon::ChameleonStyle::drawComplexControl(QStyle::ComplexControl, QStyleOptionComplex const*, QPainter*, QWidget const*) const () from /usr/lib64/qt5/plugins/styles/libchameleon.so
#6  0x00007fbf840d6bd8 in KQuickStyleItem::updatePolish() () from /usr/lib64/qt5/qml/org/kde/qqc2desktopstyle/private/libqqc2desktopstyleplugin.so
#7  0x00007fbfa48cb75c in QQuickWindowPrivate::polishItems() () from /lib64/libQt5Quick.so.5
#8  0x00007fbfa48645e0 in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) () from /lib64/libQt5Quick.so.5
#9  0x00007fbfa4865843 in QSGGuiThreadRenderLoop::exposureChanged(QQuickWindow*) () from /lib64/libQt5Quick.so.5
#10 0x00007fbfa3225ed5 in QWindow::event(QEvent*) () from /lib64/libQt5Gui.so.5
#11 0x00007fbfa3d21e73 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#12 0x00007fbfa2ddff48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007fbfa321bff5 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /lib64/libQt5Gui.so.5
#14 0x00007fbfa31fc4fc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#15 0x00007fbf909074ce in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#16 0x00007fbfa13b24cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#17 0x00007fbfa14064e8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#18 0x00007fbfa13afc03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#19 0x00007fbfa2e2c6f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#20 0x00007fbfa2dde9b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#21 0x00007fbfa2de6544 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#22 0x00005582598cd6cb in main ()
[Inferior 1 (process 5608) detached]

Reported using DrKonqi
Comment 1 David Redondo 2021-06-29 07:04:58 UTC
This is a crash in the application style you are using

#4  0x00007fbf8f1a2c65 in chameleon::ChameleonStyle::drawControl
#5  0x00007fbf8f1ad721 in chameleon::ChameleonStyle::drawComplexControl
Comment 2 Lukas Sommer 2022-06-13 10:16:43 UTC
This bug with using the chameleon style has been solved now: https://github.com/linuxdeepin/qt5integration/issues/49

The problem was  apparently not in the chameleon style, but in the associated dde-qt5integration. I've tested it with dde-qt5integration 5.5.17, and it does not crash any more. Following the comments in the bug report, it has been solved since dde-qt5integration 5.1.0.13.