Bug 444208

Summary: Crash after moving to next image
Product: [Applications] gwenview Reporter: marat.minshin
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 21.08.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description marat.minshin 2021-10-21 17:23:16 UTC
Application: gwenview (21.08.2)

Qt Version: 5.15.3
Frameworks Version: 5.87.0
Operating System: Linux 5.11.0-38-generic x86_64
Windowing System: X11
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.1 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:

I cheched some images and did some rotation of random images. Application crashed after selection a new image.

The crash does not seem to be reproducible.

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

[New LWP 17376]
[New LWP 17377]
[New LWP 17378]
[New LWP 17380]
[New LWP 17381]
[New LWP 17382]
[New LWP 17383]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f6e52758aff in __GI___poll (fds=0x7ffdb3e4cd78, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7f6e4c9c7c40 (LWP 17375))]

Thread 8 (Thread 0x7f6e38f78700 (LWP 17383)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c72f576a18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c72f5769c8, cond=0x55c72f5769f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c72f5769f0, mutex=0x55c72f5769c8) at pthread_cond_wait.c:647
#3  0x00007f6e3a949a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f6e3a94964b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f6e50a79609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6e52765293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f6e39779700 (LWP 17382)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c72f576a18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c72f5769c8, cond=0x55c72f5769f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c72f5769f0, mutex=0x55c72f5769c8) at pthread_cond_wait.c:647
#3  0x00007f6e3a949a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f6e3a94964b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f6e50a79609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6e52765293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f6e39f7a700 (LWP 17381)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c72f576a18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c72f5769c8, cond=0x55c72f5769f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c72f5769f0, mutex=0x55c72f5769c8) at pthread_cond_wait.c:647
#3  0x00007f6e3a949a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f6e3a94964b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f6e50a79609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6e52765293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f6e3a77b700 (LWP 17380)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c72f576a18) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c72f5769c8, cond=0x55c72f5769f0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c72f5769f0, mutex=0x55c72f5769c8) at pthread_cond_wait.c:647
#3  0x00007f6e3a949a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f6e3a94964b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f6e50a79609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6e52765293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f6e48d7c700 (LWP 17378)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55c72efc1680) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55c72efc1630, cond=0x55c72efc1658) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55c72efc1658, mutex=0x55c72efc1630) at pthread_cond_wait.c:647
#3  0x00007f6e52aeb59b in QWaitConditionPrivate::wait (deadline=..., this=0x55c72efc1630) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x55c72efaa560, mutex=mutex@entry=0x55c72efaa558, deadline=...) at thread/qwaitcondition_unix.cpp:225
#5  0x00007f6e54a79069 in Gwenview::ThumbnailGenerator::run (this=0x55c72efaa4f0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  0x00007f6e52ae542c in QThreadPrivate::start (arg=0x55c72efaa4f0) at thread/qthread_unix.cpp:329
#7  0x00007f6e50a79609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f6e52765293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f6e4a6dd700 (LWP 17377)):
#0  0x00007f6e52758aff in __GI___poll (fds=0x7f6e3c012f80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6e5016636e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6e501664a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6e52d265eb in QEventDispatcherGlib::processEvents (this=0x7f6e3c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6e52cca87b in QEventLoop::exec (this=this@entry=0x7f6e4a6dc930, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6e52ae4292 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6e52f87f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f6e52ae542c in QThreadPrivate::start (arg=0x7f6e5300bd80) at thread/qthread_unix.cpp:329
#8  0x00007f6e50a79609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f6e52765293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f6e4b8b5700 (LWP 17376)):
#0  0x00007f6e52758aff in __GI___poll (fds=0x7f6e4b8b4868, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6e500f5c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f6e500f790a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f6e4bfe4e88 in QXcbEventQueue::run (this=0x55c72ed6ee90) at qxcbeventqueue.cpp:228
#4  0x00007f6e52ae542c in QThreadPrivate::start (arg=0x55c72ed6ee90) at thread/qthread_unix.cpp:329
#5  0x00007f6e50a79609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f6e52765293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f6e4c9c7c40 (LWP 17375)):
[KCrash Handler]
#4  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:262
#5  0x00007f6e533e5be7 in memcpy (__len=<optimized out>, __src=0x7f6e2189ba90, __dest=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#6  QImage::copy (this=0x55c72f40b450, r=...) at image/qimage.cpp:1239
#7  0x00007f6e54a37c95 in Gwenview::RasterImageItem::paint (this=0x55c72f357d60, painter=0x7ffdb3e4ec20) at ./lib/documentview/rasterimageitem.cpp:106
#8  0x00007f6e53dcfeec in QGraphicsScenePrivate::draw (this=this@entry=0x55c72f03e230, item=item@entry=0x55c72f357d60, painter=painter@entry=0x7ffdb3e4ec20, viewTransform=viewTransform@entry=0x0, transformPtr=<optimized out>, exposedRegion=exposedRegion@entry=0x55c72f199500, widget=<optimized out>, opacity=opacity@entry=1, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:4981
#9  0x00007f6e53dd0db0 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x55c72f03e230, item=0x55c72f357d60, painter=painter@entry=0x7ffdb3e4ec20, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55c72f199500, widget=<optimized out>, widget@entry=0x55c72f0ec150, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#10 0x00007f6e53dcfd3b in QGraphicsScenePrivate::draw (this=this@entry=0x55c72f03e230, item=item@entry=0x55c72f6549b0, painter=painter@entry=0x7ffdb3e4ec20, viewTransform=viewTransform@entry=0x0, transformPtr=<optimized out>, exposedRegion=exposedRegion@entry=0x55c72f199500, widget=<optimized out>, opacity=opacity@entry=1, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:5013
#11 0x00007f6e53dd0db0 in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x55c72f03e230, item=0x55c72f6549b0, painter=painter@entry=0x7ffdb3e4ec20, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55c72f199500, widget=<optimized out>, widget@entry=0x55c72f0ec150, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4873
#12 0x00007f6e53dcfd3b in QGraphicsScenePrivate::draw (this=<optimized out>, item=<optimized out>, painter=<optimized out>, viewTransform=<optimized out>, transformPtr=<optimized out>, exposedRegion=0x55c72f199500, widget=<optimized out>, opacity=<optimized out>, effectTransform=<optimized out>, wasDirtyParentSceneTransform=<optimized out>, drawItem=<optimized out>) at graphicsview/qgraphicsscene.cpp:5013
#13 0x00007f6e53d93101 in QGraphicsItemEffectSourcePrivate::draw(QPainter*) () at graphicsview/qgraphicsitem.cpp:11328
#14 0x00007f6e53e3bf2a in QGraphicsEffectSource::draw (this=0x55c72f5d3e50, painter=0x7ffdb3e4ec20) at effects/qgraphicseffect_p.h:90
#15 0x00007f6e53e3c016 in QGraphicsEffect::drawSource (this=<optimized out>, painter=<optimized out>) at effects/qgraphicseffect.cpp:255
#16 0x00007f6e53e3c9bd in QGraphicsOpacityEffect::draw (this=0x55c72f3e5320, painter=0x7ffdb3e4ec20) at effects/qgraphicseffect.cpp:1199
#17 0x00007f6e53dd0c8c in QGraphicsScenePrivate::drawSubtreeRecursive (this=this@entry=0x55c72f03e230, item=0x55c72f810180, painter=painter@entry=0x7ffdb3e4ec20, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55c72f199500, widget=<optimized out>, widget@entry=0x55c72f0ec150, parentOpacity=parentOpacity@entry=1, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4867
#18 0x00007f6e53dd1302 in QGraphicsScenePrivate::drawItems (this=this@entry=0x55c72f03e230, painter=painter@entry=0x7ffdb3e4ec20, viewTransform=viewTransform@entry=0x0, exposedRegion=exposedRegion@entry=0x55c72f199500, widget=0x55c72f0ec150) at ../../include/QtCore/../../src/corelib/tools/qlist.h:570
#19 0x00007f6e53df5ae9 in QGraphicsView::paintEvent (this=0x55c72f0f4f20, event=<optimized out>) at ../../include/QtWidgets/../../src/widgets/graphicsview/qgraphicsscene.h:307
#20 0x00007f6e53ad0cf6 in QWidget::event (this=this@entry=0x55c72f0f4f20, event=event@entry=0x7ffdb3e4f1f0) at kernel/qwidget.cpp:8664
#21 0x00007f6e53b810b2 in QFrame::event (this=0x55c72f0f4f20, e=0x7ffdb3e4f1f0) at widgets/qframe.cpp:550
#22 0x00007f6e53df44d1 in QGraphicsView::viewportEvent (this=0x55c72f0f4f20, event=0x7ffdb3e4f1f0) at graphicsview/qgraphicsview.cpp:3014
#23 0x00007f6e52ccbae3 in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1190
#24 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55c72f0ec150, event=event@entry=0x7ffdb3e4f1f0) at kernel/qcoreapplication.cpp:1179
#25 0x00007f6e53a8ddb2 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c72f0ec150, e=0x7ffdb3e4f1f0) at kernel/qapplication.cpp:3626
#26 0x00007f6e53a96bb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156
#27 0x00007f6e52ccbd7a in QCoreApplication::notifyInternal2 (receiver=0x55c72f0ec150, event=0x7ffdb3e4f1f0) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#28 0x00007f6e53ac90aa in QWidgetPrivate::sendPaintEvent (this=0x55c72f0ec190, toBePainted=...) at kernel/qwidget.cpp:5467
#29 0x00007f6e53ac98d2 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) () at kernel/qwidget.cpp:5417
#30 0x00007f6e53aa0427 in QWidgetRepaintManager::paintAndFlush (this=this@entry=0x55c72f3d0380) at kernel/qwidgetrepaintmanager.cpp:1003
#31 0x00007f6e53aa0f44 in QWidgetRepaintManager::sync (this=0x55c72f3d0380) at kernel/qwidgetrepaintmanager.cpp:770
#32 0x00007f6e53aca775 in QWidgetPrivate::syncBackingStore (this=0x55c72ef12a20) at kernel/qwidget.cpp:1756
#33 0x00007f6e53ad16ec in QWidget::event (this=this@entry=0x55c72ef59e20, event=event@entry=0x55c72f1c6a30) at kernel/qwidget.cpp:8965
#34 0x00007f6e53be9ab8 in QMainWindow::event (this=this@entry=0x55c72ef59e20, event=event@entry=0x55c72f1c6a30) at widgets/qmainwindow.cpp:1341
#35 0x00007f6e542b4e43 in KMainWindow::event (this=this@entry=0x55c72ef59e20, ev=ev@entry=0x55c72f1c6a30) at ./src/kmainwindow.cpp:919
#36 0x00007f6e54304ceb in KXmlGuiWindow::event (this=0x55c72ef59e20, ev=0x55c72f1c6a30) at ./src/kxmlguiwindow.cpp:219
#37 0x00007f6e53a8ddc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c72ef59e20, e=0x55c72f1c6a30) at kernel/qapplication.cpp:3632
#38 0x00007f6e53a96bb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156
#39 0x00007f6e52ccbd7a in QCoreApplication::notifyInternal2 (receiver=0x55c72ef59e20, event=0x55c72f1c6a30) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#40 0x00007f6e52cce681 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x55c72ef59e20, event_type=77, data=0x55c72ed430d0) at kernel/qcoreapplication.cpp:1821
#41 0x00007f6e53dc1bab in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=<optimized out>) at ../../include/QtWidgets/5.15.3/QtWidgets/private/../../../../../src/widgets/graphicsview/qgraphicsview_p.h:191
#42 QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=0x55c72f199040) at ../../include/QtWidgets/5.15.3/QtWidgets/private/../../../../../src/widgets/graphicsview/qgraphicsview_p.h:186
#43 QGraphicsScenePrivate::_q_processDirtyItems (this=0x55c72f03e230) at graphicsview/qgraphicsscene.cpp:516
#44 0x00007f6e53dc78fd in QGraphicsScene::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at graphicsview/qgraphicsscene.h:307
#45 0x00007f6e52cf9919 in QObject::event (this=this@entry=0x55c72f0f5180, e=e@entry=0x55c72f807670) at kernel/qobject.cpp:1314
#46 0x00007f6e53dd5d53 in QGraphicsScene::event (this=0x55c72f0f5180, event=0x55c72f807670) at graphicsview/qgraphicsscene.cpp:3548
#47 0x00007f6e53a8ddc3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55c72f0f5180, e=0x55c72f807670) at kernel/qapplication.cpp:3632
#48 0x00007f6e53a96bb8 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3156
#49 0x00007f6e52ccbd7a in QCoreApplication::notifyInternal2 (receiver=0x55c72f0f5180, event=0x55c72f807670) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#50 0x00007f6e52cce681 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55c72ed430d0) at kernel/qcoreapplication.cpp:1821
#51 0x00007f6e52d26f77 in postEventSourceDispatch (s=0x55c72eefa340) at kernel/qeventdispatcher_glib.cpp:277
#52 0x00007f6e5016617d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f6e50166400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f6e501664a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f6e52d265d2 in QEventDispatcherGlib::processEvents (this=0x55c72ef11450, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#56 0x00007f6e52cca87b in QEventLoop::exec (this=this@entry=0x7ffdb3e502b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#57 0x00007f6e52cd2a34 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#58 0x000055c72e1e556d in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:202
[Inferior 1 (process 17375) detached]

Possible duplicates by query: bug 439697, bug 436894, bug 435660, bug 427333, bug 421299.

Reported using DrKonqi
Comment 1 Nicolas Fella 2022-02-12 21:52:11 UTC

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