Bug 408954

Summary: Gwenview chrashes sometimes after watching photos in DNG format
Product: [Applications] gwenview Reporter: Sebastian <bastistoll>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 19.04.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sebastian 2019-06-20 14:06:12 UTC
Application: gwenview (19.04.2)

Qt Version: 5.12.3
Frameworks Version: 5.59.0
Operating System: Linux 4.15.0-52-generic x86_64
Distribution: KDE neon User Edition 5.16

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

I opened self taken photos in DNG format. It crashes sometimes after viewing 6 photos or after even one

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa9c7e568c0 (LWP 5367))]

Thread 11 (Thread 0x7fa97b7fe700 (LWP 5377)):
#0  0x00007fa9bce109f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9de917ca0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d9de917c50, cond=0x55d9de917c78) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55d9de917c78, mutex=0x55d9de917c50) at pthread_cond_wait.c:655
#3  0x00007fa998f68e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007fa998f68b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fa9bce0a6db in start_thread (arg=0x7fa97b7fe700) at pthread_create.c:463
#6  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fa97bfff700 (LWP 5376)):
#0  0x00007fa9bce109f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9de622508) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d9de6224b8, cond=0x55d9de6224e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55d9de6224e0, mutex=0x55d9de6224b8) at pthread_cond_wait.c:655
#3  0x00007fa998f68e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007fa998f68b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fa9bce0a6db in start_thread (arg=0x7fa97bfff700) at pthread_create.c:463
#6  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fa990f16700 (LWP 5375)):
#0  0x00007fa9bce109f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9de622508) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d9de6224b8, cond=0x55d9de6224e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55d9de6224e0, mutex=0x55d9de6224b8) at pthread_cond_wait.c:655
#3  0x00007fa998f68e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007fa998f68b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fa9bce0a6db in start_thread (arg=0x7fa990f16700) at pthread_create.c:463
#6  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fa991717700 (LWP 5374)):
#0  0x00007fa9bce109f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9de621f8c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d9de621f38, cond=0x55d9de621f60) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55d9de621f60, mutex=0x55d9de621f38) at pthread_cond_wait.c:655
#3  0x00007fa998f68e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007fa998f68b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fa9bce0a6db in start_thread (arg=0x7fa991717700) at pthread_create.c:463
#6  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fa991f18700 (LWP 5373)):
#0  0x00007fa9bce109f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9de621f88) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d9de621f38, cond=0x55d9de621f60) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55d9de621f60, mutex=0x55d9de621f38) at pthread_cond_wait.c:655
#3  0x00007fa998f68e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007fa998f68b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fa9bce0a6db in start_thread (arg=0x7fa991f18700) at pthread_create.c:463
#6  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fa992719700 (LWP 5372)):
#0  0x00007fa9bce109f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9de621f8c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d9de621f38, cond=0x55d9de621f60) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55d9de621f60, mutex=0x55d9de621f38) at pthread_cond_wait.c:655
#3  0x00007fa998f68e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007fa998f68b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fa9bce0a6db in start_thread (arg=0x7fa992719700) at pthread_create.c:463
#6  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fa992f1a700 (LWP 5371)):
#0  0x00007fa9bce109f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9de48db78) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d9de48db28, cond=0x55d9de48db50) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55d9de48db50, mutex=0x55d9de48db28) at pthread_cond_wait.c:655
#3  0x00007fa998f68e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007fa998f68b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fa9bce0a6db in start_thread (arg=0x7fa992f1a700) at pthread_create.c:463
#6  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fa993e84700 (LWP 5370)):
#0  0x00007fa9bce109f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55d9de61ecbc) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55d9de61ec68, cond=0x55d9de61ec90) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55d9de61ec90, mutex=0x55d9de61ec68) at pthread_cond_wait.c:655
#3  0x00007fa998f68e6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#4  0x00007fa998f68b97 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#5  0x00007fa9bce0a6db in start_thread (arg=0x7fa993e84700) at pthread_create.c:463
#6  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa9a3fff700 (LWP 5369)):
#0  0x00007fa9bb34c394 in g_mutex_unlock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fa9bb30637d in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa9bb3065dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa9c35eadcb in QEventDispatcherGlib::processEvents (this=0x7fa99c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fa9c358c03a in QEventLoop::exec (this=this@entry=0x7fa9a3ffecb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fa9c33b34ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007fa9c1c37015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fa9c33b4c72 in QThreadPrivate::start (arg=0x7fa9c1eaed80) at thread/qthread_unix.cpp:361
#8  0x00007fa9bce0a6db in start_thread (arg=0x7fa9a3fff700) at pthread_create.c:463
#9  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa9ab5c8700 (LWP 5368)):
#0  0x00007fa9c2ca7bf9 in __GI___poll (fds=0x7fa9ab5c7be8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa9bb09d747 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa9bb09f36a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa9ae17d578 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa9c33b4c72 in QThreadPrivate::start (arg=0x55d9de2e9df0) at thread/qthread_unix.cpp:361
#5  0x00007fa9bce0a6db in start_thread (arg=0x7fa9ab5c8700) at pthread_create.c:463
#6  0x00007fa9c2cb488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa9c7e568c0 (LWP 5367)):
[KCrash Handler]
#6  0x00007fa9c138b0ad in Exiv2::ExifData::findKey(Exiv2::ExifKey const&) const () from /usr/lib/x86_64-linux-gnu/libexiv2.so.26
#7  0x00007fa9c13cf496 in Exiv2::Internal::PentaxMakerNote::printShutterCount(std::ostream&, Exiv2::Value const&, Exiv2::ExifData const*) () from /usr/lib/x86_64-linux-gnu/libexiv2.so.26
#8  0x00007fa9c1389957 in Exiv2::Exifdatum::write(std::ostream&, Exiv2::ExifData const*) const () from /usr/lib/x86_64-linux-gnu/libexiv2.so.26
#9  0x00007fa9c74f48bf in Exiv2::operator<< (md=..., os=...) at /usr/include/exiv2/metadatum.hpp:305
#10 Gwenview::ImageMetaInfoModelPrivate::fillExivGroup<Exiv2::ExifData, std::_List_const_iterator<Exiv2::Exifdatum> > (this=0x55d9deed1330, parent=..., group=group@entry=0x55d9deed5480, container=...) at ./lib/imagemetainfomodel.cpp:282
#11 0x00007fa9c74f01e1 in Gwenview::ImageMetaInfoModel::setExiv2Image (this=<optimized out>, image=0x7fa96d23dae0) at ./lib/imagemetainfomodel.cpp:442
#12 0x00007fa9c749dfbc in Gwenview::Document::setExiv2Image (this=0x55d9dece12c0, image=std::unique_ptr<Exiv2::Image> = {...}) at ./lib/document/document.cpp:397
#13 0x00007fa9c749cdd2 in Gwenview::AbstractDocumentImpl::setDocumentExiv2Image (this=this@entry=0x55d9deede010, image=std::unique_ptr<Exiv2::Image> = {...}) at ./lib/document/abstractdocumentimpl.cpp:83
#14 0x00007fa9c74adb21 in Gwenview::LoadingDocumentImpl::slotMetaInfoLoaded (this=0x55d9deede010) at ./lib/document/loadingdocumentimpl.cpp:492
#15 0x00007fa9c35bd98f in QtPrivate::QSlotObjectBase::call (a=0x7fffc49ffb00, r=0x55d9deede010, this=0x55d9deeddf60) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#16 QMetaObject::activate (sender=0x55d9deeea928, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3776
#17 0x00007fa9c33c0af3 in QFutureWatcherBase::event (this=<optimized out>, event=0x7fa96d240e60) at thread/qfuturewatcher.cpp:334
#18 0x00007fa9c4d7a65c in QApplicationPrivate::notify_helper (this=this@entry=0x55d9de2c3490, receiver=receiver@entry=0x55d9deeea928, e=e@entry=0x7fa96d240e60) at kernel/qapplication.cpp:3736
#19 0x00007fa9c4d81b90 in QApplication::notify (this=0x7fffc4a001a0, receiver=0x55d9deeea928, e=0x7fa96d240e60) at kernel/qapplication.cpp:3483
#20 0x00007fa9c358dd18 in QCoreApplication::notifyInternal2 (receiver=0x55d9deeea928, event=0x7fa96d240e60) at kernel/qcoreapplication.cpp:1060
#21 0x00007fa9c358deee in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7fa96d240e60) at kernel/qcoreapplication.cpp:1450
#22 0x00007fa9c35908d7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55d9de2b8f50) at kernel/qcoreapplication.cpp:1799
#23 0x00007fa9c3590e78 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1653
#24 0x00007fa9c35eb793 in postEventSourceDispatch (s=0x55d9de3268d0) at kernel/qeventdispatcher_glib.cpp:276
#25 0x00007fa9bb306317 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fa9bb306550 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fa9bb3065dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fa9c35eadaf in QEventDispatcherGlib::processEvents (this=0x55d9de335660, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007fa9c358c03a in QEventLoop::exec (this=this@entry=0x7fffc4a000a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#30 0x00007fa9c3595170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#31 0x000055d9dc7ea7d1 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:163

Possible duplicates by query: bug 408577, bug 404546, bug 403615, bug 400952.

Reported using DrKonqi
Comment 1 Nate Graham 2019-06-21 09:26:54 UTC

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