Bug 448654

Summary: Gwenview crashed when browsing directory
Product: [Applications] gwenview Reporter: phd <phd>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: crash CC: benjoz, jens.verwaerde, kontakt, nicolas.fella, phd, rodenegri
Priority: NOR Keywords: drkonqi
Version: 21.12.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description phd 2022-01-17 13:18:01 UTC
Application: gwenview (21.12.1)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.13.0-25-lowlatency x86_64
Windowing System: X11
Distribution: Ubuntu 21.10
DrKonqi: 5.23.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
1. opened an image in Gwenview
2. selected directory view to see all images in the directory
3. scrolled up
Gwenview crashed

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140124010132672) at pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140124010132672) at pthread_kill.c:80
#6  __GI___pthread_kill (threadid=140124010132672, signo=signo@entry=6) at pthread_kill.c:91
#7  0x00007f712f4c4476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f712f4aa7b7 in __GI_abort () at abort.c:79
#9  0x00007f712f50b5e6 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f712f65cef4 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155
#10 0x00007f712f5b722a in __GI___fortify_fail (msg=msg@entry=0x7f712f65cedc "stack smashing detected") at fortify_fail.c:26
#11 0x00007f712f5b71f6 in __stack_chk_fail () at stack_chk_fail.c:24
#12 0x00007f712efe67e0 in cmsBuildParametricToneCurve () from /lib/x86_64-linux-gnu/liblcms2.so.2
#13 0x00007f712f00702b in cmsCreate_sRGBProfileTHR () from /lib/x86_64-linux-gnu/liblcms2.so.2
#14 0x00007f71317ba441 in Gwenview::Cms::Profile::getSRgbProfile() () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#15 0x00007f71317ebf79 in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#16 0x00007f7130c2e4f3 in QGraphicsScenePrivate::draw (this=this@entry=0x55b80d3215a0, item=item@entry=0x55b80d4c7bf0, painter=painter@entry=0x7ffc54804e40, viewTransform=viewTransform@entry=0x0, transformPtr=<optimized out>, exposedRegion=exposedRegion@entry=0x55b80d8232e0, widget=<optimized out>, opacity=opacity@entry=1, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:4981
#17 0x00007f7130c2f4b3 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x55b80d3215a0, item=0x55b80d4c7bf0, painter=painter@entry=0x7ffc54804e40, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55b80d8232e0, widget=<optimized out>, widget@entry=0x55b80d81fc20, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#18 0x00007f7130c2e64b in QGraphicsScenePrivate::draw (this=this@entry=0x55b80d3215a0, item=item@entry=0x55b80d6fd770, painter=painter@entry=0x7ffc54804e40, viewTransform=viewTransform@entry=0x0, transformPtr=<optimized out>, exposedRegion=exposedRegion@entry=0x55b80d8232e0, widget=<optimized out>, opacity=opacity@entry=1, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:5013
#19 0x00007f7130c2f4b3 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x55b80d3215a0, item=0x55b80d6fd770, painter=painter@entry=0x7ffc54804e40, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55b80d8232e0, widget=<optimized out>, widget@entry=0x55b80d81fc20, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#20 0x00007f7130c2e64b in QGraphicsScenePrivate::draw (this=0x55b80d3215a0, item=<optimized out>, painter=0x7ffc54804e40, viewTransform=0x0, transformPtr=<optimized out>, exposedRegion=0x55b80d8232e0, widget=<optimized out>, opacity=<optimized out>, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:5013
#21 0x00007f7130bf11e1 in QGraphicsItemEffectSourcePrivate::draw (this=0x55b80d654670, painter=0x7ffc54804e40) at graphicsview/qgraphicsitem.cpp:11328
#22 0x00007f7130c9bb8a in QGraphicsEffectSource::draw (this=0x55b80d5a8410, painter=0x7ffc54804e40) at effects/qgraphicseffect_p.h:90
#23 0x00007f7130c2f2a7 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x55b80d3215a0, item=0x55b80d776e20, painter=painter@entry=0x7ffc54804e40, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55b80d8232e0, widget=<optimized out>, widget@entry=0x55b80d81fc20, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4867
#24 0x00007f7130c2fb32 in QGraphicsScenePrivate::drawItems (this=this@entry=0x55b80d3215a0, painter=painter@entry=0x7ffc54804e40, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55b80d8232e0, widget=0x55b80d81fc20) at graphicsview/qgraphicsscene.cpp:4735
#25 0x00007f7130c5495f in QGraphicsView::paintEvent (this=<optimized out>, event=<optimized out>) at ../../include/QtWidgets/../../src/widgets/graphicsview/qgraphicsscene.h:307
#26 0x00007f713092617e in QWidget::event (this=this@entry=0x55b80d4382e0, event=event@entry=0x7ffc54805200) at kernel/qwidget.cpp:9019
#27 0x00007f71309d3b52 in QFrame::event (this=0x55b80d4382e0, e=0x7ffc54805200) at widgets/qframe.cpp:550
#28 0x00007f712fb77eca in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1189
#29 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55b80d81fc20, event=event@entry=0x7ffc54805200) at kernel/qcoreapplication.cpp:1178
#30 0x00007f71308e36a2 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b80d81fc20, e=0x7ffc54805200) at kernel/qapplication.cpp:3626
#31 0x00007f712fb7816a in QCoreApplication::notifyInternal2 (receiver=0x55b80d81fc20, event=0x7ffc54805200) at kernel/qcoreapplication.cpp:1063
#32 0x00007f713091e11a in QWidgetPrivate::sendPaintEvent (this=this@entry=0x55b80d508e50, toBePainted=...) at kernel/qwidget.cpp:5467
#33 0x00007f713091e942 in QWidgetPrivate::drawWidget (this=this@entry=0x55b80d508e50, pdev=0x55b80d6534d0, rgn=..., offset=..., flags=flags@entry=..., sharedPainter=sharedPainter@entry=0x0, repaintManager=<optimized out>) at kernel/qwidget.cpp:5417
#34 0x00007f71308f4912 in QWidgetRepaintManager::paintAndFlush (this=<optimized out>) at kernel/qwidgetrepaintmanager.cpp:1003
#35 0x00007f71309268cd in QWidget::event (this=0x55b80d2284c0, event=0x55b80d6ad3d0) at kernel/qwidget.cpp:8964
#36 0x00007f713112e28d in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#37 0x00007f71308e36b3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b80d2284c0, e=0x55b80d6ad3d0) at kernel/qapplication.cpp:3632
#38 0x00007f712fb7816a in QCoreApplication::notifyInternal2 (receiver=0x55b80d2284c0, event=0x55b80d6ad3d0) at kernel/qcoreapplication.cpp:1063
#39 0x00007f712fb7b257 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x55b80d2284c0, event_type=77, data=0x55b80d0ce130) at kernel/qcoreapplication.cpp:1817
#40 0x00007f7130c20cb3 in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=<optimized out>, this=<optimized out>) at ../../include/QtWidgets/5.15.2/QtWidgets/private/../../../../../src/widgets/graphicsview/qgraphicsview_p.h:191
#41 QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=0x55b80d822e20) at ../../include/QtWidgets/5.15.2/QtWidgets/private/../../../../../src/widgets/graphicsview/qgraphicsview_p.h:186
#42 QGraphicsScenePrivate::_q_processDirtyItems (this=0x55b80d3215a0) at graphicsview/qgraphicsscene.cpp:516
#43 0x00007f712fba573e in QObject::event (this=0x55b80d538b80, e=0x55b80d63a1c0) at kernel/qobject.cpp:1314
#44 0x00007f71308e36b3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b80d538b80, e=0x55b80d63a1c0) at kernel/qapplication.cpp:3632
#45 0x00007f712fb7816a in QCoreApplication::notifyInternal2 (receiver=0x55b80d538b80, event=0x55b80d63a1c0) at kernel/qcoreapplication.cpp:1063
#46 0x00007f712fb7b257 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b80d0ce130) at kernel/qcoreapplication.cpp:1817
#47 0x00007f712fbd1ef7 in postEventSourceDispatch (s=0x55b80d1ae810) at kernel/qeventdispatcher_glib.cpp:277
#48 0x00007f712d28b8bb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f712d2def08 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f712d289003 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f712fbd1548 in QEventDispatcherGlib::processEvents (this=0x55b80d1c6360, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007f712fb76a9b in QEventLoop::exec (this=this@entry=0x7ffc54805d00, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#53 0x00007f712fb7f024 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#54 0x000055b80cb9456b in ?? ()
#55 0x00007f712f4abfd0 in __libc_start_call_main (main=main@entry=0x55b80cb93fe0, argc=argc@entry=2, argv=argv@entry=0x7ffc54805f98) at ../sysdeps/nptl/libc_start_call_main.h:58
#56 0x00007f712f4ac07d in __libc_start_main_impl (main=0x55b80cb93fe0, argc=2, argv=0x7ffc54805f98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc54805f88) at ../csu/libc-start.c:409
#57 0x000055b80cb94bd5 in ?? ()
[Inferior 1 (process 3923883) detached]

Possible duplicates by query: bug 443069, bug 441121.

Reported using DrKonqi
Comment 1 phd 2022-04-14 19:21:21 UTC
Created attachment 148161 [details]
New crash information added by DrKonqi

gwenview (21.12.3) using Qt 5.15.2

- What I was doing when the application crashed:
Switching to the next image with the right arrow.

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139844706854080) at pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=139844706854080) at pthread_kill.c:80
#6  __GI___pthread_kill (threadid=139844706854080, signo=signo@entry=6) at pthread_kill.c:91
#7  0x00007f3027866476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f302784c7b7 in __GI_abort () at abort.c:79
Comment 2 Nicolas Fella 2023-06-14 20:03:42 UTC
*** Bug 467807 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Fella 2023-06-14 20:04:01 UTC
*** Bug 471014 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas Fella 2023-07-05 13:02:05 UTC
*** Bug 471953 has been marked as a duplicate of this bug. ***
Comment 5 Nicolas Fella 2023-07-05 13:04:51 UTC
If anyone can reliably trigger this with a specific image please attach that image here
Comment 6 Ben 2023-07-07 02:19:10 UTC
Created attachment 160113 [details]
New crash information added by DrKonqi

gwenview (21.12.3) using Qt 5.15.3

- What I was doing when the application crashed:
I was using the mousewheel to scroll through pictures in the View mode (as opposed to Browse mode). I was flipping between .heic and .jpg of the same photos.

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139967085080960) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=139967085080960) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=139967085080960, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007f4ca5a42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f4ca5a287f3 in __GI_abort () at ./stdlib/abort.c:79
Comment 7 Ben 2023-07-07 02:29:21 UTC
Created attachment 160114 [details]
New crash information added by DrKonqi

gwenview (21.12.3) using Qt 5.15.3

- What I was doing when the application crashed:
I was in View mode changing images between .heic and .jpg. I noticed I also have a .mp4 in the same directory and sometimes when I use the mousewheel to scroll to change the current image to the .mp4 then GwenView may crash when dealing with the .mp4 file (H265 3840x2160 59.6 fps) even though I am not playing the video.

-- Backtrace (Reduced):
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140267616653696) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140267616653696) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=140267616653696, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007f929ea42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007f929ea287f3 in __GI_abort () at ./stdlib/abort.c:79