Bug 411219

Summary: Gwenview crashing when loading 'next' image after moveing (F8) one.
Product: [Applications] gwenview Reporter: Harrie Baken <harriebaken>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: a.samirh78
Priority: NOR Keywords: drkonqi
Version: 18.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Harrie Baken 2019-08-23 20:37:00 UTC
Application: gwenview (18.12.3)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.13-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:
Loading new image after moving one.
openSUSE Leap 15.1, KDE 4.14.38

The crash can be reproduced sometimes.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbc5dacc240 (LWP 14929))]

Thread 8 (Thread 0x7fbc25195700 (LWP 14954)):
#0  0x00007fbc58961c98 in read () from /lib64/libc.so.6
#1  0x00007fbc4bbc9701 in pa_read () from /usr/lib64/pulseaudio/libpulsecommon-11.1.so
#2  0x00007fbc502d7e0e in pa_mainloop_prepare () from /usr/lib64/libpulse.so.0
#3  0x00007fbc502d8880 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007fbc502d8940 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007fbc502e67a9 in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007fbc4bbf8428 in ?? () from /usr/lib64/pulseaudio/libpulsecommon-11.1.so
#7  0x00007fbc52b52569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fbc589709ef in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fbc27068700 (LWP 14937)):
#0  0x00007fbc52b588ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbc31356b6b in ?? () from /usr/lib64/dri/swrast_dri.so
#2  0x00007fbc313569e7 in ?? () from /usr/lib64/dri/swrast_dri.so
#3  0x00007fbc52b52569 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbc589709ef in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fbc1f068700 (LWP 14936)):
#0  0x00007fbc52b588ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbc31356b6b in ?? () from /usr/lib64/dri/swrast_dri.so
#2  0x00007fbc313569e7 in ?? () from /usr/lib64/dri/swrast_dri.so
#3  0x00007fbc52b52569 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbc589709ef in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fbc27869700 (LWP 14935)):
#0  0x00007fbc52b588ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbc31356b6b in ?? () from /usr/lib64/dri/swrast_dri.so
#2  0x00007fbc313569e7 in ?? () from /usr/lib64/dri/swrast_dri.so
#3  0x00007fbc52b52569 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbc589709ef in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fbc2806a700 (LWP 14934)):
#0  0x00007fbc52b588ad in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbc31356b6b in ?? () from /usr/lib64/dri/swrast_dri.so
#2  0x00007fbc313569e7 in ?? () from /usr/lib64/dri/swrast_dri.so
#3  0x00007fbc52b52569 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fbc589709ef in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fbc40b4d700 (LWP 14931)):
#0  0x00007fbc51259ff4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fbc51213d6b in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fbc51214230 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fbc512142bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fbc592ab96b in QEventDispatcherGlib::processEvents (this=0x7fbc34000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fbc5925090a in QEventLoop::exec (this=this@entry=0x7fbc40b4cc00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fbc5906edaa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#7  0x00007fbc579239e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007fbc59073ced in QThreadPrivate::start (arg=0x7fbc57b96d60) at thread/qthread_unix.cpp:368
#9  0x00007fbc52b52569 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fbc589709ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fbc43f18700 (LWP 14930)):
#0  0x00007fbc5896619b in poll () from /lib64/libc.so.6
#1  0x00007fbc50faa307 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fbc50fabf3a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fbc46a9e939 in QXcbEventReader::run (this=0x56169a75e410) at qxcbconnection.cpp:1334
#4  0x00007fbc59073ced in QThreadPrivate::start (arg=0x56169a75e410) at thread/qthread_unix.cpp:368
#5  0x00007fbc52b52569 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbc589709ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fbc5dacc240 (LWP 14929)):
[KCrash Handler]
#6  0x00007fbc5c2cb066 in std::__atomic_base<int>::operator-- (this=0x21) at /usr/include/c++/7/bits/atomic_base.h:304
#7  QAtomicOps<int>::deref<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:271
#8  QBasicAtomicInteger<int>::deref (this=0x21) at /usr/include/qt5/QtCore/qbasicatomic.h:114
#9  QSharedDataPointer<KFileItemPrivate>::~QSharedDataPointer (this=0x56169b07c9d8, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qshareddata.h:89
#10 KFileItem::~KFileItem (this=0x56169b07c9d8, __in_chrg=<optimized out>) at /usr/src/debug/kio-5.55.0-lp151.3.3.1.x86_64/src/core/kfileitem.h:47
#11 0x00007fbc5c388965 in QList<KFileItem>::node_destruct (this=0x56169b8d49c0, n=<optimized out>) at /usr/include/qt5/QtCore/qlist.h:452
#12 QList<KFileItem>::erase (this=0x56169b8d49c0, it=...) at /usr/include/qt5/QtCore/qlist.h:536
#13 0x00007fbc5c388e7a in KCoreDirListerCache::reinsert (this=this@entry=0x7fbc5c5eb360 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, item=..., oldUrl=...) at /usr/src/debug/kio-5.55.0-lp151.3.3.1.x86_64/src/core/kcoredirlister_p.h:309
#14 0x00007fbc5c37e2fd in KCoreDirListerCache::processPendingUpdates (this=0x7fbc5c5eb360 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>) at /usr/src/debug/kio-5.55.0-lp151.3.3.1.x86_64/src/core/kcoredirlister.cpp:2014
#15 0x00007fbc5928164f in QtPrivate::QSlotObjectBase::call (a=0x7ffe0a550af0, r=0x7fbc5c5eb360 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder>, this=0x56169a82f710) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#16 QMetaObject::activate (sender=sender@entry=0x7fbc5c5eb3e0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe0a550af0) at kernel/qobject.cpp:3750
#17 0x00007fbc59281c07 in QMetaObject::activate (sender=sender@entry=0x7fbc5c5eb3e0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, m=m@entry=0x7fbc5970de80 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe0a550af0) at kernel/qobject.cpp:3629
#18 0x00007fbc5928e087 in QTimer::timeout (this=this@entry=0x7fbc5c5eb3e0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, _t1=...) at .moc/moc_qtimer.cpp:200
#19 0x00007fbc5928e3e8 in QTimer::timerEvent (this=0x7fbc5c5eb3e0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, e=<optimized out>) at kernel/qtimer.cpp:255
#20 0x00007fbc5928205b in QObject::event (this=0x7fbc5c5eb3e0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, e=<optimized out>) at kernel/qobject.cpp:1269
#21 0x00007fbc5a9eb3dc in QApplicationPrivate::notify_helper (this=this@entry=0x56169a73ae70, receiver=receiver@entry=0x7fbc5c5eb3e0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, e=e@entry=0x7ffe0a550df0) at kernel/qapplication.cpp:3723
#22 0x00007fbc5a9f2ca4 in QApplication::notify (this=0x7ffe0a551140, receiver=0x7fbc5c5eb3e0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, e=0x7ffe0a550df0) at kernel/qapplication.cpp:3482
#23 0x00007fbc592528d8 in QCoreApplication::notifyInternal2 (receiver=0x7fbc5c5eb3e0 <(anonymous namespace)::Q_QGS_kDirListerCache::innerFunction()::holder+128>, event=event@entry=0x7ffe0a550df0) at kernel/qcoreapplication.cpp:1024
#24 0x00007fbc592aadee in QCoreApplication::sendEvent (event=0x7ffe0a550df0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#25 QTimerInfoList::activateTimers (this=0x56169a7a7280) at kernel/qtimerinfo_unix.cpp:643
#26 0x00007fbc592ab5b1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#27 0x00007fbc51213e87 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fbc51214230 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fbc512142bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fbc592ab94f in QEventDispatcherGlib::processEvents (this=0x56169a7b5240, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007fbc5925090a in QEventLoop::exec (this=this@entry=0x7ffe0a551040, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#32 0x00007fbc592599b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#33 0x0000561699e38d01 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/gwenview5-18.12.3-lp151.2.1.x86_64/app/main.cpp:163
[Inferior 1 (process 14929) detached]

Reported using DrKonqi
Comment 1 Ahmad Samir 2019-09-14 18:45:33 UTC

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