Bug 466628

Summary: gwenview crashes everytime I rotate any photo image
Product: [Applications] gwenview Reporter: angelogia
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ben
Priority: NOR Keywords: drkonqi
Version: 22.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description angelogia 2023-02-28 23:31:44 UTC
Application: gwenview (22.12.2)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.13-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.27.1 [KCrashBackend]

-- Information about the crash:
clicked on show controls and rotate left or right and it crashes everytime

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f39e2b75b24 in __memmove_avx_unaligned_erms () from /lib64/libc.so.6
#5  0x00007f39e37b1c32 in QImage::copy(QRect const&) const () from /lib64/libQt5Gui.so.5
#6  0x00007f39e506989a in Gwenview::RasterImageItem::paint(QPainter*, QStyleOptionGraphicsItem const*, QWidget*) () from /lib64/libgwenviewlib.so.5
#7  0x00007f39e42fab61 in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQt5Widgets.so.5
#8  0x00007f39e42fb3ba in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQt5Widgets.so.5
#9  0x00007f39e42fa8b3 in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQt5Widgets.so.5
#10 0x00007f39e42fb3ba in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQt5Widgets.so.5
#11 0x00007f39e42fa8b3 in QGraphicsScenePrivate::draw(QGraphicsItem*, QPainter*, QTransform const*, QTransform const*, QRegion*, QWidget*, double, QTransform const*, bool, bool) () from /lib64/libQt5Widgets.so.5
#12 0x00007f39e42be834 in QGraphicsItemEffectSourcePrivate::draw(QPainter*) () from /lib64/libQt5Widgets.so.5
#13 0x00007f39e4366838 in QGraphicsEffectSource::draw(QPainter*) () from /lib64/libQt5Widgets.so.5
#14 0x00007f39e42fb7b3 in QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem*, QPainter*, QTransform const*, QRegion*, QWidget*, double, QTransform const*) () from /lib64/libQt5Widgets.so.5
#15 0x00007f39e42fbde2 in QGraphicsScenePrivate::drawItems(QPainter*, QTransform const*, QRegion*, QWidget*) () from /lib64/libQt5Widgets.so.5
#16 0x00007f39e4320627 in QGraphicsView::paintEvent(QPaintEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f39e3ff1938 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f39e409e622 in QFrame::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f39e329d2b1 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007f39e3faed52 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#21 0x00007f39e329d4e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#22 0x00007f39e3fe9b29 in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib64/libQt5Widgets.so.5
#23 0x00007f39e3fea8d1 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f39e3fbfff9 in QWidgetRepaintManager::paintAndFlush() () from /lib64/libQt5Widgets.so.5
#25 0x00007f39e3ff1bf8 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#26 0x00007f39e48d1d9d in KXmlGuiWindow::event(QEvent*) () from /lib64/libKF5XmlGui.so.5
#27 0x00007f39e3faed62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#28 0x00007f39e329d4e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#29 0x00007f39e32a0854 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#30 0x00007f39e42ed3f3 in QGraphicsScenePrivate::_q_processDirtyItems() () from /lib64/libQt5Widgets.so.5
#31 0x00007f39e32c8134 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#32 0x00007f39e3faed62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#33 0x00007f39e329d4e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#34 0x00007f39e32a0854 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#35 0x00007f39e32eeb07 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#36 0x00007f39e1063c7f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#37 0x00007f39e10ba118 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#38 0x00007f39e1060f00 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#39 0x00007f39e32ee5fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#40 0x00007f39e329bf3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#41 0x00007f39e32a4002 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#42 0x000055586492eafb in main ()
[Inferior 1 (process 6445) detached]

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

Reported using DrKonqi
Comment 1 Ben Bonacci 2023-03-06 10:56:36 UTC

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