Bug 501881 - gwenview crash after reading video
Summary: gwenview crash after reading video
Status: RESOLVED DOWNSTREAM
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 24.12.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-03-22 20:08 UTC by Bruno Friedmann
Modified: 2025-03-22 21:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/132958/events/bb441c403d7d46a29bb96e43b47cf773/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Friedmann 2025-03-22 20:08:12 UTC
Application: gwenview (24.12.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.12.0
Operating System: Linux 6.13.6-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.3.3 [KCrashBackend]

-- Information about the crash:
I use to have jpeg, raw (cr2,cr3,dng) and videos (mp4 h264 or h265) in the same folder.
Since the move to qt6, each time I use gwenview to read a picture, then a video, once you leave the video the crash occur.

Can be reproduced 100% of time.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault

[KCrash Handler]
#7  0x00007fa2a8c9c9b4 in pthread_mutex_lock@@GLIBC_2.2.5 () at /lib64/libc.so.6
#8  0x00007fa26b33223f in mpv_render_context_set_update_callback () at /lib64/libmpv.so.2
#9  0x00007fa26bbb93ed in ??? () at /usr/lib64/qt6/plugins/phonon4qt6_backend/phonon_mpv_qt6.so
#10 0x00007fa2aa56b694 in QOpenGLWidget::resizeEvent(QResizeEvent*) () at /lib64/libQt6OpenGLWidgets.so.6
#11 0x00007fa2aa82e6c7 in QWidget::event (this=0x55d4fa1e85c0, event=0x7ffe9d76f940) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qwidget.cpp:9141
#12 0x00007fa2aa7dee35 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d4fa1e85c0, e=0x7ffe9d76f940) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qapplication.cpp:3296
#13 0x00007fa2a95adaf0 in QCoreApplication::notifyInternal2 (receiver=0x55d4fa1e85c0, event=0x7ffe9d76f940) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1172
#14 0x00007fa2aa828b2e in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=this@entry=0x55d4fe053670, recursive=recursive@entry=false, disableUpdates=<optimized out>, disableUpdates@entry=false) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qwidget.cpp:7970
#15 0x00007fa2aa82a1e5 in QWidgetPrivate::show_helper (this=this@entry=0x55d4fe053670) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qwidget.cpp:8021
#16 0x00007fa2aa82ac83 in QWidgetPrivate::setVisible (this=0x55d4fe053670, visible=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qwidget.cpp:8382
#17 0x00007fa2aa82a6d6 in QWidgetPrivate::showChildren (this=<optimized out>, spontaneous=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qwidget.cpp:8470
#18 0x00007fa2aa82a201 in QWidgetPrivate::show_helper (this=this@entry=0x55d4fdd86570) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qwidget.cpp:8027
#19 0x00007fa2aa82ac83 in QWidgetPrivate::setVisible (this=0x55d4fdd86570, visible=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qwidget.cpp:8382
#20 0x00007fa2aab91642 in QGraphicsProxyWidgetPrivate::setWidget_helper (this=0x55d4fdca9cd0, newWidget=0x55d4f94c9cc0, autoShow=true) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/graphicsview/qgraphicsproxywidget.cpp:657
#21 0x00007fa2abede9b6 in Gwenview::VideoViewAdapter::VideoViewAdapter() () at /lib64/libgwenviewlib.so.5
#22 0x00007fa2abecc6f3 in Gwenview::DocumentView::createAdapterForDocument() () at /lib64/libgwenviewlib.so.5
#23 0x00007fa2abecc94b in Gwenview::DocumentView::finishOpenUrl() () at /lib64/libgwenviewlib.so.5
#24 0x00007fa2a95f5187 in QObject::event (this=0x7fa1fb1d0800, e=0x55d4fdbb5540) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qobject.cpp:1418
#25 0x00007fa2aa7dee35 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7fa1fb1d0800, e=0x55d4fdbb5540) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/widgets/kernel/qapplication.cpp:3296
#26 0x00007fa2a95adaf0 in QCoreApplication::notifyInternal2 (receiver=0x7fa1fb1d0800, event=0x55d4fdbb5540) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1172
#27 0x00007fa2a95b3ae0 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55d4f930f530) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1946
#28 0x00007fa2a9807ca7 in postEventSourceDispatch (s=0x55d4f93203b0) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qeventdispatcher_glib.cpp:246
#29 0x00007fa2a6510f38 in ??? () at /lib64/libglib-2.0.so.0
#30 0x00007fa2a6512d28 in ??? () at /lib64/libglib-2.0.so.0
#31 0x00007fa2a651353c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#32 0x00007fa2a9805133 in QEventDispatcherGlib::processEvents (this=0x55d4f9335070, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#33 0x00007fa2a95b599b in QEventLoop::exec (this=this@entry=0x7ffe9d7703c0, flags=..., flags@entry=...) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/global/qflags.h:34
#34 0x00007fa2a95b765a in QCoreApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/global/qflags.h:74
#35 0x000055d4bb8fd8bc in ??? ()
#36 0x00007fa2a8c2b12e in __libc_start_call_main () at /lib64/libc.so.6
#37 0x00007fa2a8c2b1f9 in __libc_start_main_impl () at /lib64/libc.so.6
#38 0x000055d4bb8fe225 in ??? ()
[Inferior 1 (process 1765871) detached]

Reported using DrKonqi
Comment 1 Antonio Rojas 2025-03-22 21:56:47 UTC
The crash is in the phonon mpv backend, which is not developed by KDE. Please report this to https://github.com/OpenProgger/phonon-mpv