Bug 398428

Summary: Crash upon file deletion
Product: [Applications] dolphin Reporter: ponchorat1968
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: elvis.angelaccio, juliendcruz, nate
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ponchorat1968 2018-09-09 14:30:25 UTC
Application: dolphin (16.04.3)

Qt Version: 5.6.1
Frameworks Version: 5.36.0
Operating System: Linux 4.15.0-33-generic x86_64
Distribution: Ubuntu 16.04.5 LTS

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

Moved a file (video) from one folder to another and there was a file of similar name, which after the file transfer, I attempted to delete, then the crash happened.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdab40848c0 (LWP 2150))]

Thread 6 (Thread 0x7fda88f32700 (LWP 2290)):
#0  0x00007fdaae574949 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=<optimized out>, __m1=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7fda88f31a98: 0x0, this=0x2784338) at /usr/include/c++/5/bits/atomic_base.h:752
#1  std::atomic<QMutexData*>::compare_exchange_strong (__m=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7fda88f31a98: 0x0, this=0x2784338) at /usr/include/c++/5/atomic:475
#2  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, _q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:158
#3  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, this=0x2784338) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:276
#4  QBasicMutex::fastTryLock (current=<synthetic pointer>, this=0x2784338) at thread/qmutex.h:82
#5  QMutex::lock (this=this@entry=0x2784338) at thread/qmutex.cpp:219
#6  0x00007fdaae7a59ff in QMutexLocker::QMutexLocker (m=0x2784338, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:128
#7  QThreadData::canWaitLocked (this=0x2784310) at ../../include/QtCore/5.6.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:246
#8  postEventSourcePrepare (s=0x7fda840012d0, timeout=0x7fda88f31b34) at kernel/qeventdispatcher_glib.cpp:253
#9  0x00007fdaa9e8c91d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fdaa9e8d2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fdaa9e8d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fdaae7a637b in QEventDispatcherGlib::processEvents (this=0x7fda840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007fdaae74effa in QEventLoop::exec (this=this@entry=0x7fda88f31d00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007fdaae5779e4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:500
#15 0x00007fdaae57c808 in QThreadPrivate::start (arg=0x2784240) at thread/qthread_unix.cpp:341
#16 0x00007fdaaaa196ba in start_thread (arg=0x7fda88f32700) at pthread_create.c:333
#17 0x00007fdab3a9b41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fda8c5bd700 (LWP 2246)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fda9622570b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007fda96225427 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007fdaaaa196ba in start_thread (arg=0x7fda8c5bd700) at pthread_create.c:333
#4  0x00007fdab3a9b41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fda9543e700 (LWP 2245)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fda9622570b in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007fda96225427 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007fdaaaa196ba in start_thread (arg=0x7fda9543e700) at pthread_create.c:333
#4  0x00007fdab3a9b41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fda97fff700 (LWP 2169)):
#0  0x00007fdab3a8f74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdaa9e8d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdaa9e8d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdaae7a637b in QEventDispatcherGlib::processEvents (this=0x7fda900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fdaae74effa in QEventLoop::exec (this=this@entry=0x7fda97ffecd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fdaae5779e4 in QThread::exec (this=this@entry=0x7fdab41e6d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#6  0x00007fdab4173515 in QDBusConnectionManager::run (this=0x7fdab41e6d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#7  0x00007fdaae57c808 in QThreadPrivate::start (arg=0x7fdab41e6d40 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#8  0x00007fdaaaa196ba in start_thread (arg=0x7fda97fff700) at pthread_create.c:333
#9  0x00007fdab3a9b41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fda9df48700 (LWP 2159)):
#0  0x00007fdab3a8f74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fdaa7e10c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fdaa7e128d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fdaa049ed29 in QXcbEventReader::run (this=0x232d660) at qxcbconnection.cpp:1325
#4  0x00007fdaae57c808 in QThreadPrivate::start (arg=0x232d660) at thread/qthread_unix.cpp:341
#5  0x00007fdaaaa196ba in start_thread (arg=0x7fda9df48700) at pthread_create.c:333
#6  0x00007fdab3a9b41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fdab40848c0 (LWP 2150)):
[KCrash Handler]
#6  0x00007fdab39c9428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fdab39cb02a in __GI_abort () at abort.c:89
#8  0x00007fdab3a0b7ea in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fdab3b24ed8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fdab3a16651 in malloc_printerr (ar_ptr=0x7ffd030ad170, ptr=0x69aa0d0, str=0x7fdab3b25308 "malloc(): smallbin double linked list corrupted", action=3) at malloc.c:5006
#10 _int_malloc (av=av@entry=0x7fdab3d58b20 <main_arena>, bytes=bytes@entry=24) at malloc.c:3386
#11 0x00007fdab3a18184 in __GI___libc_malloc (bytes=bytes@entry=24) at malloc.c:2913
#12 0x00007fdaae57daa2 in QArrayData::allocate (objectSize=objectSize@entry=1, alignment=alignment@entry=8, capacity=capacity@entry=0, options=options@entry=...) at tools/qarraydata.cpp:108
#13 0x00007fdaae584e24 in QTypedArrayData<char>::allocate (options=..., capacity=0) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:216
#14 QTypedArrayData<char>::fromRawData (options=..., n=12, data=0x7fdaae811692 "aboutToClose()") at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:229
#15 QByteArray::fromRawData (data=data@entry=0x7fdaae811692 "aboutToClose()", size=size@entry=12) at tools/qbytearray.cpp:4056
#16 0x00007fdaae759f49 in QMetaObjectPrivate::decodeMethodSignature (signature=signature@entry=0x7fdaae811692 "aboutToClose()", types=...) at kernel/qmetaobject.cpp:677
#17 0x00007fdaae783912 in QObject::connect (sender=sender@entry=0x7ffd030ad6f0, signal=0x7fdaae811692 "aboutToClose()", signal@entry=0x7fdaae811691 "2aboutToClose()", receiver=receiver@entry=0x5d007e8, method=method@entry=0x7fdaae811682 "1flushStream()", type=type@entry=Qt::AutoConnection) at kernel/qobject.cpp:2647
#18 0x00007fdaae69a385 in QDeviceClosedNotifier::setupDevice (device=0x7ffd030ad6f0, stream=0x7ffd030ad700, this=0x5d007e8) at ../../include/QtCore/5.6.1/QtCore/private/../../../../../src/corelib/io/qtextstream_p.h:67
#19 QTextStream::QTextStream (this=0x7ffd030ad700, device=0x7ffd030ad6f0) at io/qtextstream.cpp:1034
#20 0x00007fda80c04fa0 in ?? () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#21 0x00007fda80bff74c in ?? () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#22 0x00007fda80c1fe08 in Konsole::Session::updateSessionProcessInfo() () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#23 0x00007fda80c1fea7 in Konsole::Session::updateWorkingDirectory() () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#24 0x00007fda80c2047d in Konsole::Session::getDynamicTitle() () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#25 0x00007fda80c29c23 in Konsole::SessionController::snapshot() () from /usr/lib/x86_64-linux-gnu/libkonsoleprivate.so.16
#26 0x00007fdaae77dc24 in QtPrivate::QSlotObjectBase::call (a=0x7ffd030ada20, r=0x5511810, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#27 QMetaObject::activate (sender=sender@entry=0x563de70, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3715
#28 0x00007fdaae77e1b7 in QMetaObject::activate (sender=sender@entry=0x563de70, m=m@entry=0x7fdaae999720 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3595
#29 0x00007fdaae7f8e80 in QTimer::timeout (this=this@entry=0x563de70) at .moc/moc_qtimer.cpp:198
#30 0x00007fdaae78a0b8 in QTimer::timerEvent (this=0x563de70, e=<optimized out>) at kernel/qtimer.cpp:247
#31 0x00007fdaae77e6d3 in QObject::event (this=0x563de70, e=<optimized out>) at kernel/qobject.cpp:1278
#32 0x00007fdaaf086afc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x563de70, e=0x7ffd030add30) at kernel/qapplication.cpp:3804
#33 0x00007fdaaf08c036 in QApplication::notify (this=0x7ffd030ae0c0, receiver=0x563de70, e=0x7ffd030add30) at kernel/qapplication.cpp:3561
#34 0x00007fdaae7512a8 in QCoreApplication::notifyInternal2 (receiver=0x563de70, event=event@entry=0x7ffd030add30) at kernel/qcoreapplication.cpp:1015
#35 0x00007fdaae7a524e in QCoreApplication::sendEvent (event=0x7ffd030add30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:225
#36 QTimerInfoList::activateTimers (this=0x2359de0) at kernel/qtimerinfo_unix.cpp:637
#37 0x00007fdaae7a57b9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#38 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:223
#39 0x00007fdaa9e8d197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fdaa9e8d3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fdaa9e8d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fdaae7a635f in QEventDispatcherGlib::processEvents (this=0x235ffe0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#43 0x00007fdaae74effa in QEventLoop::exec (this=this@entry=0x7ffd030adf80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#44 0x00007fdaae7576bc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#45 0x00007fdab3dbdb89 in kdemain () from /usr/lib/x86_64-linux-gnu/libkdeinit5_dolphin.so
#46 0x00007fdab39b4830 in __libc_start_main (main=0x4006c0, argc=3, argv=0x7ffd030ae248, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd030ae238) at ../csu/libc-start.c:291
#47 0x00000000004006f9 in _start ()

Possible duplicates by query: bug 396825, bug 394640, bug 392350, bug 392299, bug 388683.

Reported using DrKonqi
Comment 1 Julien Dcruz 2018-09-13 14:29:27 UTC
Hi,
Did you overwrite the file(of similar name) or rename it ?

Can you please clarify 'there was a file of similar name, which after the file transfer, I attempted to delete' ?
Comment 2 Nate Graham 2018-09-13 16:38:02 UTC

*** This bug has been marked as a duplicate of bug 355540 ***
Comment 3 Nate Graham 2018-09-13 16:46:31 UTC
Oops, wrong bug, sorry.
Comment 4 Nate Graham 2018-09-13 16:54:31 UTC

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