https://bugs.kde.org/show_bug.cgi?id=468351

            Bug ID: 468351
           Summary: Crash After Rotating Left an Image
    Classification: Applications
           Product: gwenview
           Version: 22.12.3
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: ismailsahillio...@gmail.com
  Target Milestone: ---

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: "openSUSE Tumbleweed"
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=<optimized out>, __src=0x7f4325499520,
__dest=<optimized out>) 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=<optimized out>,
opacity=opacity@entry=1, effectTransform=<optimized out>,
wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) 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=<optimized out>,
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=<optimized out>,
opacity=opacity@entry=1, effectTransform=<optimized out>,
wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) 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=<optimized out>,
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=<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 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=<optimized out>,
painter=painter@entry=0x7ffd317b3ba0, viewTransform=viewTransform@entry=0x0,
exposedRegion=exposedRegion@entry=0x55752e70d860, widget=<optimized out>,
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=<optimized out>) 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=<optimized
out>, 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=<optimized out>) 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=<optimized
out>, 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=<optimized out>) 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=<optimized
out>, 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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to