<?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>468351</bug_id>
          
          <creation_ts>2023-04-10 12:23:02 +0000</creation_ts>
          <short_desc>Crash After Rotating Left an Image</short_desc>
          <delta_ts>2023-04-10 12:35:52 +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>22.12.3</version>
          <rep_platform>openSUSE</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="İsmail">ismailsahillioglu</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>2221710</commentid>
    <comment_count>0</comment_count>
    <who name="İsmail">ismailsahillioglu</who>
    <bug_when>2023-04-10 12:23:02 +0000</bug_when>
    <thetext>Application: gwenview (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 6.2.9-1-default x86_64
Windowing System: Wayland
Distribution: &quot;openSUSE Tumbleweed&quot;
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
I was viewing some images that I sent from my phone using KDE Connect, and I needed to rotate some of them. I rotated first 3 or 4 images with no problem. But when I rotated the last one to the left direction the Gwenview has crashed after doing the rotation and pressing the Save button. When I have tried again, it was successful this time.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007f436d769f2b in __memmove_avx_unaligned_erms () from /lib64/libc.so.6
#5  0x00007f436e5c9d37 in memcpy (__len=&lt;optimized out&gt;, __src=0x7f4325499520, __dest=&lt;optimized out&gt;) at /usr/include/bits/string_fortified.h:29
#6  QImage::copy (this=0x55752eaa2380, r=...) at image/qimage.cpp:1239
#7  0x00007f4370293bba in ?? () from /lib64/libgwenviewlib.so.5
#8  0x00007f436f0e37e1 in QGraphicsScenePrivate::draw (this=this@entry=0x55752e345e90, item=item@entry=0x55752ef5fc80, painter=painter@entry=0x7ffd317b3ba0, viewTransform=viewTransform@entry=0x0, transformPtr=transformPtr@entry=0x55752eaceb80, exposedRegion=exposedRegion@entry=0x55752e70d860, 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  0x00007f436f0e403a in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x55752e345e90, item=0x55752ef5fc80, painter=painter@entry=0x7ffd317b3ba0, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55752e70d860, widget=&lt;optimized out&gt;, widget@entry=0x55752e5e3f80, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#10 0x00007f436f0e353b in QGraphicsScenePrivate::draw (this=this@entry=0x55752e345e90, item=item@entry=0x55752e925200, painter=painter@entry=0x7ffd317b3ba0, viewTransform=viewTransform@entry=0x0, transformPtr=transformPtr@entry=0x55752e9a0db0, exposedRegion=exposedRegion@entry=0x55752e70d860, 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 0x00007f436f0e403a in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x55752e345e90, item=0x55752e925200, painter=painter@entry=0x7ffd317b3ba0, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55752e70d860, widget=&lt;optimized out&gt;, widget@entry=0x55752e5e3f80, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#12 0x00007f436f0e353b in QGraphicsScenePrivate::draw (this=0x55752e345e90, item=0x55752e32edf0, painter=0x7ffd317b3ba0, viewTransform=&lt;optimized out&gt;, transformPtr=&lt;optimized out&gt;, exposedRegion=&lt;optimized out&gt;, 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 0x00007f436f0a7f54 in QGraphicsItemEffectSourcePrivate::draw (this=0x55752eb59490, painter=0x7ffd317b3ba0) at graphicsview/qgraphicsitem.cpp:11331
#14 0x00007f436f14de84 in QGraphicsEffectSource::draw (this=0x55752ed4e300, painter=0x7ffd317b3ba0) at effects/qgraphicseffect_p.h:90
#15 0x00007f436f0e4439 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x55752e345e90, item=&lt;optimized out&gt;, painter=painter@entry=0x7ffd317b3ba0, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55752e70d860, widget=&lt;optimized out&gt;, widget@entry=0x55752e5e3f80, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4867
#16 0x00007f436f0e4a82 in QGraphicsScenePrivate::drawItems (this=this@entry=0x55752e345e90, painter=painter@entry=0x7ffd317b3ba0, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55752e70d860, widget=0x55752e5e3f80) at graphicsview/qgraphicsscene.cpp:4735
#17 0x00007f436f10899f in QGraphicsView::paintEvent (this=0x55752e60fbd0, event=&lt;optimized out&gt;) at graphicsview/qgraphicsview.cpp:3561
#18 0x00007f436ede6ec8 in QWidget::event (this=this@entry=0x55752e60fbd0, event=event@entry=0x7ffd317b3f20) at kernel/qwidget.cpp:9045
#19 0x00007f436ee91fce in QFrame::event (this=0x55752e60fbd0, e=0x7ffd317b3f20) at widgets/qframe.cpp:550
#20 0x00007f436deec8ab in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55752e5e3f80, event=event@entry=0x7ffd317b3f20) at kernel/qcoreapplication.cpp:1190
#21 0x00007f436eda52be in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x55752e5e3f80, e=0x7ffd317b3f20) at kernel/qapplication.cpp:3634
#22 0x00007f436deecb28 in QCoreApplication::notifyInternal2 (receiver=0x55752e5e3f80, event=0x7ffd317b3f20) at kernel/qcoreapplication.cpp:1064
#23 0x00007f436eddf0b5 in QWidgetPrivate::sendPaintEvent (this=this@entry=0x55752e5d9d80, toBePainted=...) at kernel/qwidget.cpp:5479
#24 0x00007f436eddf9c9 in QWidgetPrivate::drawWidget (this=this@entry=0x55752e5d9d80, pdev=0x55752ea390c8, rgn=..., offset=..., flags=flags@entry=..., sharedPainter=sharedPainter@entry=0x0, repaintManager=&lt;optimized out&gt;) at kernel/qwidget.cpp:5429
#25 0x00007f436edb65d1 in QWidgetRepaintManager::paintAndFlush (this=0x55752e76ed00) at kernel/qwidgetrepaintmanager.cpp:1016
#26 0x00007f436ede7556 in QWidget::event (this=0x55752e2e3530, event=0x55752ea22d10) at kernel/qwidget.cpp:8990
#27 0x00007f436fa87699 in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5
#28 0x00007f436eda52ce in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x55752e2e3530, e=0x55752ea22d10) at kernel/qapplication.cpp:3640
#29 0x00007f436deecb28 in QCoreApplication::notifyInternal2 (receiver=0x55752e2e3530, event=0x55752ea22d10) at kernel/qcoreapplication.cpp:1064
#30 0x00007f436def0121 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x55752e2e3530, event_type=77, data=0x55752e1564b0) at kernel/qcoreapplication.cpp:1821
#31 0x00007f436f0d6343 in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=&lt;optimized out&gt;) at ../../include/QtWidgets/5.15.8/QtWidgets/private/../../../../../src/widgets/graphicsview/qgraphicsview_p.h:191
#32 QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=0x55752e70d3a0) at ../../include/QtWidgets/5.15.8/QtWidgets/private/../../../../../src/widgets/graphicsview/qgraphicsview_p.h:186
#33 QGraphicsScenePrivate::_q_processDirtyItems (this=0x55752e345e90) at graphicsview/qgraphicsscene.cpp:516
#34 0x00007f436df18e20 in QObject::event (this=0x55752e650620, e=0x7f4358002b90) at kernel/qobject.cpp:1347
#35 0x00007f436eda52ce in QApplicationPrivate::notify_helper (this=&lt;optimized out&gt;, receiver=0x55752e650620, e=0x7f4358002b90) at kernel/qapplication.cpp:3640
#36 0x00007f436deecb28 in QCoreApplication::notifyInternal2 (receiver=0x55752e650620, event=0x7f4358002b90) at kernel/qcoreapplication.cpp:1064
#37 0x00007f436def0121 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55752e1564b0) at kernel/qcoreapplication.cpp:1821
#38 0x00007f436df468a3 in postEventSourceDispatch (s=0x55752e19e920) at kernel/qeventdispatcher_glib.cpp:277
#39 0x00007f436bd16f96 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#40 0x00007f436bd17358 in ?? () from /lib64/libglib-2.0.so.0
#41 0x00007f436bd173ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#42 0x00007f436df460b6 in QEventDispatcherGlib::processEvents (this=0x55752e1ab020, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#43 0x00007f436deeb5cb in QEventLoop::exec (this=this@entry=0x7ffd317b49f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#44 0x00007f436def3a50 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#45 0x000055752d006413 in ?? ()
#46 0x00007f436d62cbb0 in __libc_start_call_main () from /lib64/libc.so.6
#47 0x00007f436d62cc79 in __libc_start_main_impl () from /lib64/libc.so.6
#48 0x000055752d006b65 in ?? ()
[Inferior 1 (process 8502) detached]

The reporter indicates this bug may be a duplicate of or related to bug 456549, bug 458114.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2221711</commentid>
    <comment_count>1</comment_count>
    <who name="Nicolas Fella">nicolas.fella</who>
    <bug_when>2023-04-10 12:35:52 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>