Bug 411835

Summary: Dolphin crash when showing, hiding and showing again a video element
Product: [Applications] dolphin Reporter: Méven Car <meven29>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: elvis.angelaccio
Priority: NOR Keywords: drkonqi, wayland
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Méven Car 2019-09-11 22:18:39 UTC
Application: dolphin (19.11.70)
 (Compiled from sources)
Qt Version: 5.12.2
Frameworks Version: 5.62.0
Operating System: Linux 5.0.0-27-generic x86_64
Distribution: Ubuntu 19.04

-- Information about the crash:
- What I was doing when the application crashed:
1. Hover the mouse over a video : the video playback starts
2. Hover over a none video file : the video is stopped and replaced with a preview
3. The crash happens when hovering over the video file again

- Custom settings of the application:

auto play on hover video hovering in Dolphin

Dolphin internally shows, then hide then shows again a QVideoWidget.
Could be a QtWayland bug.

X is not affected.

KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.2

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9190450800 (LWP 27812))]

Thread 4 (Thread 0x7f9186aaa700 (LWP 27816)):
#0  0x00007f91933d6077 in g_main_context_prepare (context=context@entry=0x7f917c000bf0, priority=priority@entry=0x7f9186aa9c50) at ../../../glib/gmain.c:3481
#1  0x00007f91933d6b2b in g_main_context_iterate (context=context@entry=0x7f917c000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3907
#2  0x00007f91933d6d1c in g_main_context_iteration (context=0x7f917c000bf0, may_block=may_block@entry=1) at ../../../glib/gmain.c:3988
#3  0x00007f91957cd063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f917c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f91957785bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9186aa9da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f91955c32c6 in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f91955c4612 in QThreadPrivate::start(void*) (arg=0x55cadca1f760) at thread/qthread_unix.cpp:361
#7  0x00007f9193c97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007f91977cfb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f918ce48700 (LWP 27815)):
#0  0x00007f9193c9d3bb in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55cadc793fc8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f9193c9d3bb in __pthread_cond_wait_common (abstime=0x0, mutex=0x55cadc793f78, cond=0x55cadc793fa0) at pthread_cond_wait.c:502
#2  0x00007f9193c9d3bb in __pthread_cond_wait (cond=0x55cadc793fa0, mutex=0x55cadc793f78) at pthread_cond_wait.c:655
#3  0x00007f918d47c36b in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f918d47c0d7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f9193c97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007f91977cfb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f918f273700 (LWP 27814)):
#0  0x00007f91977c3729 in __GI___poll (fds=0x7f9188005260, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f91933d6bf6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f9188005260, timeout=<optimized out>, context=0x7f9188000bf0) at ../../../glib/gmain.c:4228
#2  0x00007f91933d6bf6 in g_main_context_iterate (context=context@entry=0x7f9188000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3922
#3  0x00007f91933d6d1c in g_main_context_iteration (context=0x7f9188000bf0, may_block=may_block@entry=1) at ../../../glib/gmain.c:3988
#4  0x00007f91957cd063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9188000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f91957785bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f918f272d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#6  0x00007f91955c32c6 in QThread::exec() (this=this@entry=0x7f9195ac5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#7  0x00007f9195a45565 in QDBusConnectionManager::run() (this=0x7f9195ac5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f91955c4612 in QThreadPrivate::start(void*) (arg=0x7f9195ac5d80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:361
#9  0x00007f9193c97182 in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0x00007f91977cfb1f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f9190450800 (LWP 27812)):
[KCrash Handler]
#7  0x00007f91976f5ed7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#8  0x00007f91976d7535 in __GI_abort () at abort.c:79
#9  0x00007f91978c20bf in  ()
#10 0x00007f91978bdf4d in wl_proxy_marshal_array_constructor_versioned () at /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#11 0x00007f91978be17a in wl_proxy_marshal_constructor () at /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#12 0x00007f918fb8f7b5 in QtWaylandClient::QWaylandWindow::initWindow() () at /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#13 0x00007f918fb8fdb4 in QtWaylandClient::QWaylandWindow::setVisible(bool) () at /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#14 0x00007f918dff8534 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so
#15 0x00007f9195c37df4 in QWindowPrivate::setVisible(bool) (this=0x55caddc38d60, visible=visible@entry=true) at kernel/qwindow.cpp:402
#16 0x00007f9196274c9d in QWidgetWindow::setNativeWindowVisibility(bool) (this=this@entry=0x55caddd51fa0, visible=visible@entry=true) at kernel/qwidgetwindow.cpp:205
#17 0x00007f919624f5a6 in QWidgetPrivate::show_sys() (this=this@entry=0x55cadcc49470) at kernel/qwidget.cpp:8151
#18 0x00007f919625856b in QWidgetPrivate::show_helper() (this=0x55cadcc49470) at kernel/qwidget.cpp:8074
#19 0x00007f9196258391 in QWidgetPrivate::show_recursive() (this=<optimized out>) at kernel/qwidget.cpp:7943
#20 0x00007f91962584ca in QWidgetPrivate::showChildren(bool) (this=this@entry=0x55cadcbaafc0, spontaneous=spontaneous@entry=false) at ../../include/QtWidgets/../../src/widgets/kernel/qwidget.h:131
#21 0x00007f919625853f in QWidgetPrivate::show_helper() (this=this@entry=0x55cadcbaafc0) at kernel/qwidget.cpp:8019
#22 0x00007f919625b6b3 in QWidgetPrivate::setVisible(bool) (this=0x55cadcbaafc0, visible=<optimized out>) at kernel/qwidget.cpp:8376
#23 0x00007f9197964c45 in InformationPanelContent::refreshPreview() (this=0x55cadcbde780) at /home/meven/kde/src/dolphin/src/panels/information/informationpanelcontent.cpp:274
#24 0x00007f919796237b in InformationPanel::showItemInfo() (this=0x55cadc727b30) at /home/meven/kde/src/dolphin/src/panels/information/informationpanel.cpp:258
#25 0x00007f91957a3563 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc47038160, r=0x55cadc727b30, this=0x55cadcc963b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#26 0x00007f91957a3563 in QMetaObject::activate(QObject*, int, int, void**) (sender=0x55cadccbe7b0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3774
#27 0x00007f91957af0c7 in QTimer::timeout(QTimer::QPrivateSignal) (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:204
#28 0x00007f91957a3c5b in QObject::event(QEvent*) (this=0x55cadccbe7b0, e=<optimized out>) at kernel/qobject.cpp:1241
#29 0x00007f919621c551 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55cadc553040, receiver=receiver@entry=0x55cadccbe7b0, e=e@entry=0x7ffc47038490) at kernel/qapplication.cpp:3736
#30 0x00007f9196223930 in QApplication::notify(QObject*, QEvent*) (this=0x7ffc470387f0, receiver=0x55cadccbe7b0, e=0x7ffc47038490) at kernel/qapplication.cpp:3483
#31 0x00007f91957798e9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55cadccbe7b0, event=0x7ffc47038490) at ../../include/QtCore/5.12.2/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:322
#32 0x00007f91957cc453 in QTimerInfoList::activateTimers() (this=0x55cadc58a380) at kernel/qtimerinfo_unix.cpp:643
#33 0x00007f91957ccca4 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#34 0x00007f91933d69ee in g_main_dispatch (context=0x55cadc594300) at ../../../glib/gmain.c:3189
#35 0x00007f91933d69ee in g_main_context_dispatch (context=context@entry=0x55cadc594300) at ../../../glib/gmain.c:3854
#36 0x00007f91933d6c88 in g_main_context_iterate (context=context@entry=0x55cadc594300, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3927
#37 0x00007f91933d6d1c in g_main_context_iteration (context=0x55cadc594300, may_block=may_block@entry=1) at ../../../glib/gmain.c:3988
#38 0x00007f91957cd047 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55cadc5870a0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f91957785bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc470386f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#40 0x00007f91957805e2 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#41 0x00007f9195c22e4c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1779
#42 0x00007f919621c4c5 in QApplication::exec() () at kernel/qapplication.cpp:2893
#43 0x00007f919791e6f9 in kdemain(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/meven/kde/src/dolphin/src/main.cpp:181
#44 0x00007f91976d8b6b in __libc_start_main (main=0x55cadc3d3050 <main>, argc=1, argv=0x7ffc47038978, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc47038968) at ../csu/libc-start.c:308
#45 0x000055cadc3d308a in _start ()
[Inferior 1 (process 27812) detached]

Reported using DrKonqi
Comment 1 Méven Car 2019-09-11 22:23:26 UTC

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