Bug 459836 - segfault from rotating quickly
Summary: segfault from rotating quickly
Status: RESOLVED DUPLICATE of bug 439697
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 22.04.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-29 20:35 UTC by yogo.1212
Modified: 2022-10-21 19:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yogo.1212 2022-09-29 20:35:41 UTC
SUMMARY

while rotating a few pictures by 180ΒΊ, i noticed that gwenview crashes when pressing the button too quickly.


STEPS TO REPRODUCE
1. open a picture
2. quickly double-click rotate (or just spam)

OBSERVED RESULT
Segmentation fault (core dumped)

EXPECTED RESULT
rotation

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.55-1
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION

related to #306782?
this is with debuginfod.. :-(

```
#0  0x00007f206155afeb in ?? () from /usr/lib/libc.so.6
#1  0x00007f2062084a00 in QImage::copy(QRect const&) const () from /usr/lib/libQt5Gui.so.5
#2  0x00007f2063602da4 in ?? () from /usr/lib/libgwenviewlib.so.5
#3  0x00007f2062a6e1b2 in ?? () from /usr/lib/libQt5Widgets.so.5
#4  0x00007f2062a6ea37 in ?? () from /usr/lib/libQt5Widgets.so.5
#5  0x00007f2062a6df0a in ?? () from /usr/lib/libQt5Widgets.so.5
#6  0x00007f2062a6ea37 in ?? () from /usr/lib/libQt5Widgets.so.5
#7  0x00007f2062a6df0a in ?? () from /usr/lib/libQt5Widgets.so.5
#8  0x00007f2062a4566c in ?? () from /usr/lib/libQt5Widgets.so.5
#9  0x00007f2062ad370a in QGraphicsEffectSource::draw(QPainter*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f2062a6ee34 in ?? () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f2062a91c94 in QGraphicsView::paintEvent(QPaintEvent*) () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f20627793e4 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#13 0x00007f2062827813 in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f2061acd742 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007f2062742b2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f2061acdad8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#17 0x00007f206276d36b in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f206276e6c6 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f206276f0ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#20 0x00007f206276dc1b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f206276f0ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f206276dc1b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007f206276f0ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#24 0x00007f206276ef2c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f206276dc1b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007f206276f0ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#27 0x00007f206276ef2c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
--Type <RET> for more, q to quit, c to continue without paging--
#28 0x00007f206276dc1b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007f206276f0ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#30 0x00007f206276dc1b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#31 0x00007f206276f0ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#32 0x00007f206276dc1b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#33 0x00007f206276f0ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#34 0x00007f206276ef2c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#35 0x00007f206276ef2c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#36 0x00007f206276dc1b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#37 0x00007f206276f0ce in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#38 0x00007f206276dc1b in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /usr/lib/libQt5Widgets.so.5
#39 0x00007f206274ea2d in ?? () from /usr/lib/libQt5Widgets.so.5
#40 0x00007f20627790b4 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#41 0x00007f2062f6827e in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libKF5XmlGui.so.5
#42 0x00007f2062742b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#43 0x00007f2061acdad8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#44 0x00007f2061ace5e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#45 0x00007f2061b14548 in ?? () from /usr/lib/libQt5Core.so.5
#46 0x00007f205f42cc6b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0x00007f205f483001 in ?? () from /usr/lib/libglib-2.0.so.0
#48 0x00007f205f42a392 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0x00007f2061b1832c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#50 0x00007f2061ac627c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#51 0x00007f2061ad0da9 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#52 0x0000557778ed3967 in ?? ()
#53 0x00007f2061427290 in ?? () from /usr/lib/libc.so.6
#54 0x00007f206142734a in __libc_start_main () from /usr/lib/libc.so.6
#55 0x0000557778ed3f75 in ?? ()
```
Comment 1 yogo.1212 2022-09-29 20:41:00 UTC
coredump:
https://easyupload.io/sjszu5
Comment 2 Nate Graham 2022-10-21 19:47:24 UTC

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