Bug 453207

Summary: gwenview crashes when removing red eyes
Product: [Applications] gwenview Reporter: Cor Blom <cornelis>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 21.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Cor Blom 2022-04-29 19:54:21 UTC
Application: gwenview (21.12.3)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.14.21-150400.19-default x86_64
Windowing System: X11
Distribution: "openSUSE Leap 15.4 Beta"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

I opened a photo with red eyes, clicked on the red eye remover in the sidebar, double clicked on the red eye, Then the program crashed.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f2c0b2794e4 in __memmove_evex_unaligned_erms () from /lib64/libc.so.6
#5  0x00007f2c0cf222ce in memcpy (__len=12288, __src=0x7f2bccf25010, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:34
#6  QImage::copy (this=0x556755ee4d00, r=...) at image/qimage.cpp:1239
#7  0x00007f2c10b16412 in Gwenview::RasterImageItem::paint (this=0x556755c9de20, painter=0x7ffe3c05d020) at /usr/src/debug/gwenview5-21.12.3-bp154.1.3.x86_64/lib/documentview/rasterimageitem.cpp:106
#8  0x00007f2c0db42716 in QGraphicsScenePrivate::draw (this=this@entry=0x5567556afd30, item=item@entry=0x556755c9de20, painter=painter@entry=0x7ffe3c05d020, viewTransform=<optimized out>, transformPtr=transformPtr@entry=0x556755e84250, exposedRegion=<optimized out>, widget=<optimized out>, opacity=opacity@entry=1, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:4981
#9  0x00007f2c0db42efe in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x5567556afd30, item=0x556755c9de20, painter=painter@entry=0x7ffe3c05d020, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x5567557bca60, widget=<optimized out>, widget@entry=0x5567556b0740, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#10 0x00007f2c0db4229c in QGraphicsScenePrivate::draw (this=this@entry=0x5567556afd30, item=item@entry=0x556755d44080, painter=painter@entry=0x7ffe3c05d020, viewTransform=<optimized out>, transformPtr=transformPtr@entry=0x556755a2c590, exposedRegion=<optimized out>, widget=<optimized out>, opacity=opacity@entry=1, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:5013
#11 0x00007f2c0db42efe in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x5567556afd30, item=0x556755d44080, painter=painter@entry=0x7ffe3c05d020, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x5567557bca60, widget=<optimized out>, widget@entry=0x5567556b0740, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#12 0x00007f2c0db4229c in QGraphicsScenePrivate::draw (this=this@entry=0x5567556afd30, item=<optimized out>, painter=<optimized out>, viewTransform=<optimized out>, transformPtr=<optimized out>, exposedRegion=<optimized out>, widget=<optimized out>, opacity=<optimized out>, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:5013
#13 0x00007f2c0db0a8a1 in QGraphicsItemEffectSourcePrivate::draw (this=0x5567559fa620, painter=0x7ffe3c05d020) at graphicsview/qgraphicsitem.cpp:11328
#14 0x00007f2c0dbaaf35 in QGraphicsEffectSource::draw (this=0x556755e2ccc0, painter=0x7ffe3c05d020) at effects/qgraphicseffect.cpp:236
#15 0x00007f2c0dbab022 in QGraphicsEffect::drawSource (this=<optimized out>, painter=<optimized out>) at effects/qgraphicseffect.cpp:255
#16 0x00007f2c0dbaba45 in QGraphicsOpacityEffect::draw (this=0x556755d82b80, painter=0x7ffe3c05d020) at effects/qgraphicseffect.cpp:1199
#17 0x00007f2c0db42ea6 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x5567556afd30, item=0x556755cbb0c0, painter=painter@entry=0x7ffe3c05d020, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x5567557bca60, widget=<optimized out>, widget@entry=0x5567556b0740, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4867
#18 0x00007f2c0db436aa in QGraphicsScenePrivate::drawItems (this=this@entry=0x5567556afd30, painter=painter@entry=0x7ffe3c05d020, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x5567557bca60, widget=0x5567556b0740) at graphicsview/qgraphicsscene.cpp:4735
#19 0x00007f2c0db68a95 in QGraphicsView::paintEvent (this=0x5567556c3a50, event=<optimized out>) at graphicsview/qgraphicsview.cpp:3561
#20 0x00007f2c0d865ad8 in QWidget::event (this=this@entry=0x5567556c3a50, event=event@entry=0x7ffe3c05d5f0) at kernel/qwidget.cpp:9020
#21 0x00007f2c0d90ca5e in QFrame::event (this=0x5567556c3a50, e=0x7ffe3c05d5f0) at widgets/qframe.cpp:550
#22 0x00007f2c0db67633 in QGraphicsView::viewportEvent (this=0x5567556c3a50, event=0x7ffe3c05d5f0) at graphicsview/qgraphicsview.cpp:3014
#23 0x00007f2c0bbc9850 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5567556b0740, event=event@entry=0x7ffe3c05d5f0) at kernel/qcoreapplication.cpp:1190
#24 0x00007f2c0d825382 in QApplicationPrivate::notify_helper (this=this@entry=0x5567553731e0, receiver=receiver@entry=0x5567556b0740, e=e@entry=0x7ffe3c05d5f0) at kernel/qapplication.cpp:3626
#25 0x00007f2c0d82c1a0 in QApplication::notify (this=0x7ffe3c05e7f0, receiver=0x5567556b0740, e=0x7ffe3c05d5f0) at kernel/qapplication.cpp:3156
#26 0x00007f2c0bbc9ac3 in QCoreApplication::notifyInternal2 (receiver=0x5567556b0740, event=0x7ffe3c05d5f0) at kernel/qcoreapplication.cpp:1064
#27 0x00007f2c0bbc9cae in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x5567556b0740, event=event@entry=0x7ffe3c05d5f0) at kernel/qcoreapplication.cpp:1474
#28 0x00007f2c0d85dfd5 in QWidgetPrivate::sendPaintEvent (this=this@entry=0x5567556b0780, toBePainted=...) at kernel/qwidget.cpp:5467
#29 0x00007f2c0d85ebbe in QWidgetPrivate::drawWidget (this=this@entry=0x5567556b0780, pdev=0x5567559d0240, rgn=..., offset=..., flags=flags@entry=..., sharedPainter=sharedPainter@entry=0x0, repaintManager=<optimized out>) at kernel/qwidget.cpp:5417
#30 0x00007f2c0d835953 in QWidgetRepaintManager::paintAndFlush (this=this@entry=0x5567559e9910) at kernel/qwidgetrepaintmanager.cpp:1003
#31 0x00007f2c0d836028 in QWidgetRepaintManager::sync (this=0x5567559e9910) at kernel/qwidgetrepaintmanager.cpp:770
#32 0x00007f2c0d85f63f in QWidgetPrivate::syncBackingStore (this=0x5567554d94b0) at kernel/qwidget.cpp:1756
#33 0x00007f2c0d865c58 in QWidget::event (this=this@entry=0x5567554e5300, event=event@entry=0x5567558a6510) at kernel/qwidget.cpp:8965
#34 0x00007f2c0d974a20 in QMainWindow::event (this=this@entry=0x5567554e5300, event=event@entry=0x5567558a6510) at widgets/qmainwindow.cpp:1341
#35 0x00007f2c0ec25364 in KMainWindow::event (this=this@entry=0x5567554e5300, ev=ev@entry=0x5567558a6510) at /usr/src/debug/kxmlgui-5.90.0-150400.1.1.x86_64/src/kmainwindow.cpp:941
#36 0x00007f2c0ec6bd37 in KXmlGuiWindow::event (this=0x5567554e5300, ev=0x5567558a6510) at /usr/src/debug/kxmlgui-5.90.0-150400.1.1.x86_64/src/kxmlguiwindow.cpp:219
#37 0x00007f2c0d8253ac in QApplicationPrivate::notify_helper (this=this@entry=0x5567553731e0, receiver=receiver@entry=0x5567554e5300, e=e@entry=0x5567558a6510) at kernel/qapplication.cpp:3632
#38 0x00007f2c0d82c1a0 in QApplication::notify (this=0x7ffe3c05e7f0, receiver=0x5567554e5300, e=0x5567558a6510) at kernel/qapplication.cpp:3156
#39 0x00007f2c0bbc9ac3 in QCoreApplication::notifyInternal2 (receiver=0x5567554e5300, event=0x5567558a6510) at kernel/qcoreapplication.cpp:1064
#40 0x00007f2c0bbc9c9e in QCoreApplication::sendEvent (receiver=receiver@entry=0x5567554e5300, event=event@entry=0x5567558a6510) at kernel/qcoreapplication.cpp:1462
#41 0x00007f2c0bbcc4e1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x5567554e5300, event_type=event_type@entry=77, data=0x556755368dc0) at kernel/qcoreapplication.cpp:1821
#42 0x00007f2c0bbcca68 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=event_type@entry=77) at kernel/qcoreapplication.cpp:1680
#43 0x00007f2c0db36b42 in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=<optimized out>) at ../../include/QtWidgets/5.15.2/QtWidgets/private/../../../../../src/widgets/graphicsview/qgraphicsview_p.h:191
#44 QGraphicsScenePrivate::_q_processDirtyItems (this=0x5567556afd30) at graphicsview/qgraphicsscene.cpp:516
#45 0x00007f2c0db3b589 in QGraphicsScene::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qgraphicsscene.cpp:197
#46 0x00007f2c0bbfdcfb in QObject::event (this=this@entry=0x556755690bb0, e=e@entry=0x556755d9f250) at kernel/qobject.cpp:1314
#47 0x00007f2c0db470eb in QGraphicsScene::event (this=0x556755690bb0, event=0x556755d9f250) at graphicsview/qgraphicsscene.cpp:3548
#48 0x00007f2c0d8253ac in QApplicationPrivate::notify_helper (this=this@entry=0x5567553731e0, receiver=receiver@entry=0x556755690bb0, e=e@entry=0x556755d9f250) at kernel/qapplication.cpp:3632
#49 0x00007f2c0d82c1a0 in QApplication::notify (this=0x7ffe3c05e7f0, receiver=0x556755690bb0, e=0x556755d9f250) at kernel/qapplication.cpp:3156
#50 0x00007f2c0bbc9ac3 in QCoreApplication::notifyInternal2 (receiver=0x556755690bb0, event=0x556755d9f250) at kernel/qcoreapplication.cpp:1064
#51 0x00007f2c0bbc9c9e in QCoreApplication::sendEvent (receiver=receiver@entry=0x556755690bb0, event=event@entry=0x556755d9f250) at kernel/qcoreapplication.cpp:1462
#52 0x00007f2c0bbcc4e1 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x556755368dc0) at kernel/qcoreapplication.cpp:1821
#53 0x00007f2c0bbcca68 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1680
#54 0x00007f2c0bc2ca33 in postEventSourceDispatch (s=0x556755461970) at kernel/qeventdispatcher_glib.cpp:277
#55 0x00007f2c02a6a7fb in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#56 0x00007f2c02a6aba0 in ?? () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f2c02a6ac2c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f2c0bc2c0dc in QEventDispatcherGlib::processEvents (this=0x55675545fb50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#59 0x00007f2c0bbc833a in QEventLoop::exec (this=this@entry=0x7ffe3c05e6e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#60 0x00007f2c0bbd1b37 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1375
#61 0x00007f2c0cec7f9c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#62 0x00007f2c0d825305 in QApplication::exec () at kernel/qapplication.cpp:2824
#63 0x0000556754040757 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview5-21.12.3-bp154.1.3.x86_64/app/main.cpp:197
[Inferior 1 (process 13409) detached]

Possible duplicates by query: bug 450095, bug 444208, bug 439697, bug 436894, bug 435660.

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-07-08 11:58:41 UTC

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