Bug 468763

Summary: Crashes after rotating and cropping, and then saving to overwrite
Product: [Applications] gwenview Reporter: Sam Wilson <sam>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 22.08.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sam Wilson 2023-04-21 13:31:54 UTC
Application: gwenview (22.08.2)

Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.19.0-40-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.10
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
If I rotate right, and then crop, and then save, it almost invariably crashes shortly after (but not 100% immediately).

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:598
#5  0x00007fd4ad790757 in QImage::copy(QRect const&) const () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#6  0x00007fd4af4e9fea in ?? () from /lib/x86_64-linux-gnu/libgwenviewlib.so.5
#7  0x00007fd4ae2b6261 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fd4ae2b6aba in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fd4ae2b5fb3 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fd4ae2b6aba in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fd4ae2b5fb3 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007fd4ae279fd4 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007fd4ae321d38 in QGraphicsEffectSource::draw(QPainter*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007fd4ae2b6eb3 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007fd4ae2b74e2 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007fd4ae2dbbb7 in QGraphicsView::paintEvent(QPaintEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007fd4adfaeb48 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007fd4ae05b552 in QFrame::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fd4ad2baba3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fd4adf6bf22 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007fd4ad2bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fd4adfa6dc9 in QWidgetPrivate::sendPaintEvent(QRegion const&) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007fd4adfa7681 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007fd4adf7d379 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fd4adfaee08 in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fd4aec76dcd in KXmlGuiWindow::event(QEvent*) () from /lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#27 0x00007fd4adf6bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007fd4ad2bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fd4ad2bdeb1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007fd4ae2a8ad3 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007fd4ad2e7b30 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007fd4adf6bf32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007fd4ad2bae38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fd4ad2bdeb1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fd4ad315427 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fd4aaf21569 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fd4aaf763c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fd4aaf1ed20 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fd4ad314aea in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007fd4ad2b97cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fd4ad2c1c2a in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00005653fb884e5b in ?? ()
#43 0x00007fd4ac823510 in __libc_start_call_main (main=main@entry=0x5653fb884860, argc=argc@entry=2, argv=argv@entry=0x7fffe6d9cc58) at ../sysdeps/nptl/libc_start_call_main.h:58
#44 0x00007fd4ac8235c9 in __libc_start_main_impl (main=0x5653fb884860, argc=2, argv=0x7fffe6d9cc58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe6d9cc48) at ../csu/libc-start.c:381
#45 0x00005653fb885635 in ?? ()
[Inferior 1 (process 14766) detached]

The reporter indicates this bug may be a duplicate of or related to bug 466628, bug 468273.

Reported using DrKonqi
Comment 1 Nate Graham 2023-04-21 19:56:51 UTC

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