Bug 509978

Summary: Gwenview crash playing video with OpenGL, NVidia/Intel Hybrid GPU
Product: [Applications] gwenview Reporter: thanevim
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: idontfeelcomfygivingyoumyemail
Priority: NOR Keywords: drkonqi
Version First Reported In: 25.08.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/261980/events/ff67c4997831418cbb62a03963731ea9/
Attachments: New crash information added by DrKonqi

Description thanevim 2025-09-26 23:25:13 UTC
Application: gwenview (25.08.1)

ApplicationNotResponding [ANR]: false
Qt Version: 6.9.2
Frameworks Version: 6.18.0
Operating System: Linux 6.16.9-200.fc42.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 42 (KDE Plasma Desktop Edition)"
DrKonqi: 6.4.5 [CoredumpBackend]

-- Information about the crash:
Gwenview crashes when browsing to video file (.mp4). This is with auto video playback enabled. Renderer is OpenGL on laptop with Intel and Nvidia GPUs. AFAIK, it was using Intel at the time, but may have invoked Nvidia for the OpenGL. This is on a fresh installation of Fedora 42 KDE spin, with beta repos enabled, though it has happened on release versions. This is also with Third Party Repos enabled per Fedora setup (DNF). Video started, but black screen (audio only). Application crashed about 5 seconds into playback.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265
#6  0x00007fce15739386 in tc_draw_user_indices_single (_pipe=0x55dcce811b50, info=0x7ffd4e3c7f90, drawid_offset=<optimized out>, indirect=<optimized out>, draws=0x7ffd4e3c7f84, num_draws=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:3938
#7  0x00007fce15735d19 in tc_draw_vbo (_pipe=0x55dcce811b50, info=<optimized out>, drawid_offset=<optimized out>, indirect=<optimized out>, draws=<optimized out>, num_draws=<optimized out>) at ../src/gallium/auxiliary/util/u_threaded_context.c:4220
#8  0x00007fce1525b6e2 in _mesa_validated_drawrangeelements (ctx=ctx@entry=0x55dcce6c9780, index_bo=<optimized out>, mode=mode@entry=5, index_bounds_valid=index_bounds_valid@entry=false, start=start@entry=0, end=end@entry=4294967295, count=30, type=5123, indices=0x0, basevertex=0, numInstances=1, baseInstance=0) at ../src/mesa/main/draw.c:1705
#9  0x00007fce1525cb26 in _mesa_DrawElementsBaseVertex (mode=5, count=30, type=5123, indices=0x0, basevertex=0) at ../src/mesa/main/draw.c:1848
#10 0x00007fce3665618b in QOpenGLFunctions::glDrawElements (this=0x55dcce1ebcc0, mode=5, count=30, type=5123, indices=0x0) at /usr/src/debug/qt6-qtbase-6.9.2-1.fc42.x86_64/src/gui/opengl/qopenglfunctions.h:720
#11 QOpenGL2PaintEngineExPrivate::drawCachedGlyphs (this=this@entry=0x55dcce1ebaa0, glyphFormat=glyphFormat@entry=QFontEngine::Format_A8, staticTextItem=staticTextItem@entry=0x7ffd4e3c8300) at /usr/src/debug/qt6-qtbase-6.9.2-1.fc42.x86_64/src/opengl/qopenglpaintengine.cpp:2071
#12 0x00007fce36656ec9 in QOpenGL2PaintEngineEx::drawTextItem (this=<optimized out>, p=..., textItem=...) at /usr/src/debug/qt6-qtbase-6.9.2-1.fc42.x86_64/src/opengl/qopenglpaintengine.cpp:1692
#13 0x00007fce3a498352 in QPainterPrivate::drawTextItem (this=<optimized out>, p=..., _ti=..., textEngine=0x7ffd4e3c99b0) at /usr/src/debug/qt6-qtbase-6.9.2-1.fc42.x86_64/src/gui/painting/qpainter.cpp:6283
#14 0x00007fce3a6b2df2 in QTextLine::draw_internal (this=this@entry=0x7ffd4e3c98e0, p=p@entry=0x7ffd4e3cc538, origPos=..., selection=selection@entry=0x0) at /usr/include/c++/15/bits/unique_ptr.h:193
#15 0x00007fce3a6b3c7b in QTextLine::draw (this=this@entry=0x7ffd4e3c98e0, painter=painter@entry=0x7ffd4e3cc538, position=...) at /usr/src/debug/qt6-qtbase-6.9.2-1.fc42.x86_64/src/gui/text/qtextlayout.cpp:2644
#16 0x00007fce3a48f2fa in qt_format_text (fnt=..., _r=..., tf=<optimized out>, tf@entry=132228, option=option@entry=0x0, str=..., brect=brect@entry=0x0, tabstops=<optimized out>, ta=0x0, tabarraylen=0, painter=0x7ffd4e3cc538) at /usr/src/debug/qt6-qtbase-6.9.2-1.fc42.x86_64/src/gui/painting/qpainter.cpp:7382
#17 0x00007fce3a48f9fc in QPainter::drawText (this=this@entry=0x7ffd4e3cc538, r=..., flags=flags@entry=132228, str=..., br=br@entry=0x0) at /usr/include/c++/15/bits/unique_ptr.h:193
#18 0x00007fce3af74bd4 in QFusionStyle::drawItemText (this=<optimized out>, enabled=<optimized out>, painter=0x7ffd4e3cc538, rect=..., alignment=132228, pal=..., text=..., textRole=QPalette::WindowText) at /usr/src/debug/qt6-qtbase-6.9.2-1.fc42.x86_64/src/widgets/styles/qfusionstyle.cpp:300
#19 QFusionStyle::drawItemText (this=<optimized out>, painter=0x7ffd4e3cc538, rect=..., alignment=132228, pal=..., enabled=<optimized out>, text=..., textRole=QPalette::WindowText) at /usr/src/debug/qt6-qtbase-6.9.2-1.fc42.x86_64/src/widgets/styles/qfusionstyle.cpp:290
#20 0x00007fce3aff0849 in QLabel::paintEvent (this=0x55dcced03330) at /usr/src/debug/qt6-qtbase-6.9.2-1.fc42.x86_64/src/widgets/widgets/qlabel.cpp:1026


Reported using DrKonqi
Comment 1 thanevim 2025-09-26 23:25:15 UTC
Created attachment 185309 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 A Linux User 2025-10-02 17:17:21 UTC

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