Bug 400407

Summary: Plasma crashed on Wayland when I opened a png file with gwenview
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: generic-waylandAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: kde, logicinu
Priority: NOR    
Version First Reported In: 5.14.2   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: backtrace

Description Patrick Silva 2018-10-28 11:05:52 UTC
Created attachment 115938 [details]
backtrace

I double-clicked a png file in Dolphin to open it with gwenview and plasma crashed on Wayland. My backtrace is compressed because it contains thousands of lines.


SOFTWARE VERSIONS
Arch Linux
KDE Plasma Version: 5.14.2
KDE Frameworks Version: 5.51
Qt Version: 5.12 beta3
Comment 1 Christoph Feck 2018-10-28 13:44:37 UTC
Infinite recursion. Relevant part of the backtrace from comment #0:

[...]
#44367 0x00007f731accf6cb in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib/libKF5PlasmaQuick.so.5
#44368 0x00007f7308c30be6 in  () at /usr/lib/qt/qml/org/kde/plasma/core/libcorebindingsplugin.so
#44369 0x00007f731945ce34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44370 0x00007f7319464671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44371 0x00007f73189b6969 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#44372 0x00007f731accf6cb in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib/libKF5PlasmaQuick.so.5
#44373 0x00007f7308c30be6 in  () at /usr/lib/qt/qml/org/kde/plasma/core/libcorebindingsplugin.so
#44374 0x00007f731945ce34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44375 0x00007f7319464671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44376 0x00007f73189b6969 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#44377 0x00007f731accf6cb in PlasmaQuick::Dialog::event(QEvent*) () at /usr/lib/libKF5PlasmaQuick.so.5
#44378 0x00007f7308c30be6 in  () at /usr/lib/qt/qml/org/kde/plasma/core/libcorebindingsplugin.so
#44379 0x00007f731945ce34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44380 0x00007f7319464671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44381 0x00007f73189b6969 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#44382 0x00007f7318d89dfe in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#44383 0x00007f7318d8b266 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#44384 0x00007f7318d64bbc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#44385 0x00007f7311de7d01 in  () at /usr/lib/libQt5WaylandClient.so.5
#44386 0x00007f73162153cf in g_main_dispatch (context=0x55a6dbae0410) at ../glib/glib/gmain.c:3182
#44387 0x00007f73162153cf in g_main_context_dispatch (context=context@entry=0x55a6dbae0410) at ../glib/glib/gmain.c:3847
#44388 0x00007f7316216f89 in g_main_context_iterate (context=context@entry=0x55a6dbae0410, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:3920
#44389 0x00007f7316216fce in g_main_context_iteration (context=0x55a6dbae0410, may_block=1) at ../glib/glib/gmain.c:3981
#44390 0x00007f7318a0c5e9 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#44391 0x00007f73189b55fc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#44392 0x00007f73189bd906 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#44393 0x000055a6d9a1dd2e in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.14.2/shell/main.cpp:212
Comment 2 David Edmundson 2018-11-09 17:53:20 UTC
*** Bug 400374 has been marked as a duplicate of this bug. ***
Comment 3 Patrick Silva 2019-01-17 19:51:06 UTC
crash reported as bug 400374 marked as duplicate persists with plasma 5.15 on Arch Linux.
Comment 5 Christoph Feck 2019-04-25 10:26:36 UTC
Patrick, is this still reproducible after the commit from comment #4? The fix should be in KF5 5.57.0.
Comment 6 Christoph Feck 2019-04-25 10:37:01 UTC
*** Bug 404196 has been marked as a duplicate of this bug. ***
Comment 7 Patrick Silva 2019-04-30 15:24:11 UTC
(In reply to Christoph Feck from comment #5)
> Patrick, is this still reproducible after the commit from comment #4? The
> fix should be in KF5 5.57.0.

Plasma crash involving gwenview never was reproducible consistently, it occured just once. I'm marking this report as fixed because I can't reproduce the duplicate bug 400374.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.13.0 beta3