Bug 442909

Summary: Gwenview crashes when deleting several pictures
Product: [Applications] gwenview Reporter: marsu1
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 21.08.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description marsu1 2021-09-24 19:01:23 UTC
Application: gwenview (21.08.1)

Qt Version: 5.15.3
Frameworks Version: 5.86.0
Operating System: Linux 5.11.0-34-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: KDE neon User Edition 5.22

-- Information about the crash:
I was deleting several pictures in a row, suddenly Gwenview crashed.
Gwenview ist abgestürzt als ich einige Fotos hintereinander gelöscht habe.

The reporter is unsure if this crash is reproducible.

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

[New LWP 96980]
[New LWP 96983]
[New LWP 96984]
[New LWP 96985]
[New LWP 96986]
[New LWP 102885]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f91f12deaff in __GI___poll (fds=0x7fffafeca138, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f91eb558c40 (LWP 96978))]

Thread 7 (Thread 0x7f91e3dab700 (LWP 102885)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d435ef4360) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d435ef4310, cond=0x55d435ef4338) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d435ef4338, mutex=0x55d435ef4310) at pthread_cond_wait.c:638
#3  0x00007f91f167159b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f91f35f10b9 in Gwenview::ThumbnailGenerator::run (this=0x55d435987910) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#5  0x00007f91f166b42c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f91ef60a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f91f12eb293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f91c77fe700 (LWP 96986)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d4356bf7d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d4356bf788, cond=0x55d4356bf7b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d4356bf7b0, mutex=0x55d4356bf788) at pthread_cond_wait.c:638
#3  0x00007f91e1991a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f91e199164b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f91ef60a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f91f12eb293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f91cffff700 (LWP 96985)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d4356bf7d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d4356bf788, cond=0x55d4356bf7b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d4356bf7b0, mutex=0x55d4356bf788) at pthread_cond_wait.c:638
#3  0x00007f91e1991a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f91e199164b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f91ef60a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f91f12eb293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f91e0e23700 (LWP 96984)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d4356bf7d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d4356bf788, cond=0x55d4356bf7b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d4356bf7b0, mutex=0x55d4356bf788) at pthread_cond_wait.c:638
#3  0x00007f91e1991a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f91e199164b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f91ef60a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f91f12eb293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f91e1624700 (LWP 96983)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d4356bf7d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55d4356bf788, cond=0x55d4356bf7b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55d4356bf7b0, mutex=0x55d4356bf788) at pthread_cond_wait.c:638
#3  0x00007f91e1991a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f91e199164b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f91ef60a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007f91f12eb293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f91e9723700 (LWP 96980)):
#0  0x00007f91eecf5350 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f91eecf682b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91eecf729b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f91eecf74a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f91f18ac5eb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f91f185087b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f91f166a292 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f91f1b0df4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f91f166b42c in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f91ef60a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f91f12eb293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f91eb558c40 (LWP 96978)):
[KCrash Handler]
#4  Gwenview::Document::setExiv2Image (this=0x0, image=std::unique_ptr<class Exiv2::Image> = {...}) at ./lib/document/document.cpp:394
#5  0x00007f91f3587ac6 in Gwenview::AbstractDocumentImpl::setDocumentExiv2Image (this=this@entry=0x55d435f1c4b0, image=std::unique_ptr<class Exiv2::Image> = {...}) at /usr/include/c++/9/bits/move.h:74
#6  0x00007f91f359334b in Gwenview::LoadingDocumentImpl::slotMetaInfoLoaded (this=0x55d435f1c4b0) at /usr/include/c++/9/bits/move.h:74
#7  0x00007f91f1888d9e in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f91f1675975 in QFutureWatcherBase::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f91f2612dc3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f91f261bbb8 in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f91f1851d7a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f91f1854681 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f91f18acf77 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f91eecf717d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f91eecf7400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f91eecf74a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f91f18ac5d2 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f91f185087b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f91f1858a34 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x000055d4342ba56d in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:202
[Inferior 1 (process 96978) detached]

Possible duplicates by query: bug 441121, bug 430063, bug 429819, bug 410274, bug 408954.

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-09-17 22:40:16 UTC

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