<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>450095</bug_id>
          
          <creation_ts>2022-02-12 19:51:57 +0000</creation_ts>
          <short_desc>Gwenview crashes after double right rotating and then moving to next image</short_desc>
          <delta_ts>2022-02-12 21:51:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>gwenview</product>
          <component>general</component>
          <version>21.12.2</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>439697</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Philipp A.">flying-sheep</reporter>
          <assigned_to name="Gwenview Bugs">gwenview-bugs-null</assigned_to>
          <cc>nicolas.fella</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2103938</commentid>
    <comment_count>0</comment_count>
    <who name="Philipp A.">flying-sheep</who>
    <bug_when>2022-02-12 19:51:57 +0000</bug_when>
    <thetext>Application: gwenview (21.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.16.8-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: &quot;Arch Linux&quot;
DrKonqi: 5.24.0 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
See title: Gwenview crashes after double right rotating and then moving to next image

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x00007f27442b56d8 in __memmove_avx_unaligned_erms () from /usr/lib/libc.so.6
#5  0x00007f2744e350c3 in memcpy (__len=&lt;optimized out&gt;, __src=&lt;optimized out&gt;, __dest=&lt;optimized out&gt;, __dest=&lt;optimized out&gt;, __src=&lt;optimized out&gt;, __len=&lt;optimized out&gt;) at /usr/include/bits/string_fortified.h:29
#6  QImage::copy (this=0x5606a14b00f0, r=...) at image/qimage.cpp:1239
#7  0x00007f27462dda1c in Gwenview::RasterImageItem::paint (this=0x5606a268ac90, painter=0x7ffc7e4059f0) at /usr/src/debug/gwenview-21.12.2/lib/documentview/rasterimageitem.cpp:106
#8  0x00007f27457b3048 in QGraphicsScenePrivate::draw (this=this@entry=0x5606a05f9a60, item=item@entry=0x5606a268ac90, painter=painter@entry=0x7ffc7e4059f0, viewTransform=viewTransform@entry=0x0, transformPtr=&lt;optimized out&gt;, exposedRegion=exposedRegion@entry=0x5606a0ff6600, widget=&lt;optimized out&gt;, opacity=opacity@entry=1, effectTransform=&lt;optimized out&gt;, wasDirtyParentSceneTransform=&lt;optimized out&gt;, drawItem=&lt;optimized out&gt;) at graphicsview/qgraphicsscene.cpp:4981
#9  0x00007f27457b4040 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x5606a05f9a60, item=0x5606a268ac90, painter=painter@entry=0x7ffc7e4059f0, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x5606a0ff6600, widget=widget@entry=0x5606a100cfc0, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#10 0x00007f27457b31ab in QGraphicsScenePrivate::draw (this=this@entry=0x5606a05f9a60, item=item@entry=0x5606a04804e0, painter=painter@entry=0x7ffc7e4059f0, viewTransform=viewTransform@entry=0x0, transformPtr=&lt;optimized out&gt;, exposedRegion=exposedRegion@entry=0x5606a0ff6600, widget=&lt;optimized out&gt;, opacity=opacity@entry=1, effectTransform=&lt;optimized out&gt;, wasDirtyParentSceneTransform=&lt;optimized out&gt;, drawItem=&lt;optimized out&gt;) at graphicsview/qgraphicsscene.cpp:5013
#11 0x00007f27457b4040 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x5606a05f9a60, item=0x5606a04804e0, painter=painter@entry=0x7ffc7e4059f0, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x5606a0ff6600, widget=widget@entry=0x5606a100cfc0, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#12 0x00007f27457b31ab in QGraphicsScenePrivate::draw (this=0x5606a05f9a60, item=&lt;optimized out&gt;, painter=0x7ffc7e4059f0, viewTransform=0x0, transformPtr=&lt;optimized out&gt;, exposedRegion=0x5606a0ff6600, widget=&lt;optimized out&gt;, opacity=&lt;optimized out&gt;, effectTransform=&lt;optimized out&gt;, wasDirtyParentSceneTransform=&lt;optimized out&gt;, drawItem=&lt;optimized out&gt;) at graphicsview/qgraphicsscene.cpp:5013
#13 0x00007f27457897a1 in QGraphicsItemEffectSourcePrivate::draw (this=0x5606a1368f50, painter=0x7ffc7e4059f0) at graphicsview/qgraphicsitem.cpp:11328
#14 0x00007f274581a48c in QGraphicsEffectSource::draw (this=0x5606a26832c0, painter=0x7ffc7e4059f0) at effects/qgraphicseffect_p.h:90
#15 0x00007f27457b3e3e in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x5606a05f9a60, item=0x5606a137e360, painter=0x7ffc7e4059f0, viewTransform=&lt;optimized out&gt;, exposedRegion=0x5606a0ff6600, widget=0x5606a100cfc0, parentOpacity=&lt;optimized out&gt;, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4867
#16 0x00007f27457d77e4 in QGraphicsScenePrivate::drawItems (widget=&lt;optimized out&gt;, exposedRegion=0x5606a0ff6600, viewTransform=0x0, painter=0x7ffc7e4059f0, this=0x5606a05f9a60) at graphicsview/qgraphicsscene.cpp:4735
#17 QGraphicsView::paintEvent (this=&lt;optimized out&gt;, event=&lt;optimized out&gt;) at graphicsview/qgraphicsview.cpp:3561
#18 0x00007f27454be71c in QWidget::event (this=0x5606a0ff6100, event=0x7ffc7e405db0) at kernel/qwidget.cpp:8801
#19 0x00007f274556f0e3 in QFrame::event (this=0x5606a0ff6100, e=0x7ffc7e405db0) at widgets/qframe.cpp:550
#20 0x00007f27447beeea in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at kernel/qcoreapplication.cpp:1190
#21 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x5606a100cfc0, event=event@entry=0x7ffc7e405db0) at kernel/qcoreapplication.cpp:1179
#22 0x00007f2745488195 in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x5606a100cfc0, e=0x7ffc7e405db0) at kernel/qapplication.cpp:3626
#23 0x00007f27447c016a in QCoreApplication::notifyInternal2 (receiver=0x5606a100cfc0, event=0x7ffc7e405db0) at kernel/qcoreapplication.cpp:1064
#24 0x00007f27454b21cc in QWidgetPrivate::sendPaintEvent (this=this@entry=0x5606a100d000, toBePainted=...) at kernel/qwidget.cpp:5467
#25 0x00007f27454b3562 in QWidgetPrivate::drawWidget (this=0x5606a100d000, pdev=0x5606a1458b58, rgn=..., offset=..., flags=..., sharedPainter=&lt;optimized out&gt;, repaintManager=&lt;optimized out&gt;) at kernel/qwidget.cpp:5417
#26 0x00007f2745493af7 in QWidgetRepaintManager::paintAndFlush (this=&lt;optimized out&gt;) at kernel/qwidgetrepaintmanager.cpp:1003
#27 0x00007f27454bea95 in QWidget::event (this=0x5606a0550070, event=0x5606a15e81b0) at kernel/qwidget.cpp:8965
#28 0x00007f2745ca085e in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libKF5XmlGui.so.5
#29 0x00007f27454881a6 in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x5606a0550070, e=0x5606a15e81b0) at kernel/qapplication.cpp:3632
#30 0x00007f27447c016a in QCoreApplication::notifyInternal2 (receiver=0x5606a0550070, event=0x5606a15e81b0) at kernel/qcoreapplication.cpp:1064
#31 0x00007f27447c0c69 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x5606a0550070, event_type=77, data=0x5606a0475950) at kernel/qcoreapplication.cpp:1821
#32 0x00007f27457be7ef in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at ../../include/QtWidgets/5.15.2/QtWidgets/private/../../../../../src/widgets/graphicsview/qgraphicsview_p.h:191
#33 QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=0x5606a0ff6140) at ../../include/QtWidgets/5.15.2/QtWidgets/private/../../../../../src/widgets/graphicsview/qgraphicsview_p.h:186
#34 QGraphicsScenePrivate::_q_processDirtyItems (this=0x5606a05f9a60) at graphicsview/qgraphicsscene.cpp:516
#35 QGraphicsScene::qt_static_metacall (_o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=&lt;optimized out&gt;) at .moc/moc_qgraphicsscene.cpp:197
#36 0x00007f27447e3e76 in QObject::event (this=&lt;optimized out&gt;, e=0x5606a26897b0) at kernel/qobject.cpp:1314
#37 0x00007f27454881a6 in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x5606a0f46730, e=0x5606a26897b0) at kernel/qapplication.cpp:3632
#38 0x00007f27447c016a in QCoreApplication::notifyInternal2 (receiver=0x5606a0f46730, event=0x5606a26897b0) at kernel/qcoreapplication.cpp:1064
#39 0x00007f27447c0c69 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5606a0475950) at kernel/qcoreapplication.cpp:1821
#40 0x00007f2744807548 in postEventSourceDispatch (s=0x5606a04be1f0) at kernel/qeventdispatcher_glib.cpp:277
#41 0x00007f2742076f13 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0x00007f27420cd0d9 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0x00007f2742074485 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0x00007f274480b44a in QEventDispatcherGlib::processEvents (this=0x5606a04be670, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#45 0x00007f27447b844b in QEventLoop::exec (this=0x7ffc7e406980, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#46 0x00007f27447c3b97 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#47 0x00007f2744de0162 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#48 0x00007f274548652a in QApplication::exec () at kernel/qapplication.cpp:2824
#49 0x000056069f5f6987 in main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/src/debug/gwenview-21.12.2/app/main.cpp:197
[Inferior 1 (process 66685) detached]

The reporter indicates this bug may be a duplicate of or related to bug 436894, bug 439697, bug 444208.

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

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2103965</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2022-02-12 21:51:40 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 439697 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>