Bug 269353

Summary: Crash when dropping files on the breadcrumb bar
Product: [Applications] dolphin Reporter: Todd <toddrme2178>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: crash CC: frank78ac
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Todd 2011-03-25 00:59:20 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.37.1-1.2-default x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

The crash happens when dragging and dropping a file with file name conflicts on the drop-down menu from the breadcrumb bar.  It only seems to happen when there are duplicates present in the destination directory.  It also doesn't seem to happen the first time I drop a file it, although it often happens the second time. 

A test case:

1. Create a folder
2. Enter that folder
3. Create 4 blank text files: 
test 1.txt
test 2.txt
test 3.txt
test 4.txt

5. Create two folders:
test 1
test 2

6. Highlight all the text file, drag them to the "test 1" folder, and click "copy here".  Do the same for the "test 2" folder.

7. Enter the "test 2" folder

8. Select all the file, drag them to the breadcrumb bar, then drop them on the "test 1" entry in the popup.  Select "copy here".  When you get a file conflict warning, select "apply to all" then "rename".  

If it doesn't crash, immediately copy the files.  It should crash if you keep trying, always in less than 10 tries for me.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb318906760 (LWP 14220))]

Thread 2 (Thread 0x7fb2ff5c7700 (LWP 14221)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff3a30e7a1 in ?? ()
#2  0x00007fb3131262b3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007fb3175468d2 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007fb317609c4d in QTimerInfoList::updateCurrentTime (this=0x981960) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007fb317609fc5 in QTimerInfoList::timerWait (this=0x981960, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007fb317608a8c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fb2ff5c6b8c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fb317608b35 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007fb312e75087 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#10 0x00007fb312e75fa9 in ?? () from /lib64/libglib-2.0.so.0
#11 0x00007fb312e76650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#12 0x00007fb317609286 in QEventDispatcherGlib::processEvents (this=0x83a4e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007fb3175dd8d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fb3175ddae5 in QEventLoop::exec (this=0x7fb2ff5c6d20, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007fb3174f27a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#16 0x00007fb3175bf008 in QInotifyFileSystemWatcherEngine::run (this=0x864870) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007fb3174f5095 in QThreadPrivate::start (arg=0x864870) at thread/qthread_unix.cpp:320
#18 0x00007fb30aa20373 in ?? () from /usr/lib64/libGL.so.1
#19 0x00007fb317264a3f in start_thread () from /lib64/libpthread.so.0
#20 0x00007fb31601c67d in clone () from /lib64/libc.so.6
#21 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb318906760 (LWP 14220)):
[KCrash Handler]
#6  deref (this=0x1165798, other=...) at ../../src/corelib/arch/qatomic_x86_64.h:133
#7  QString::operator= (this=0x1165798, other=...) at tools/qstring.cpp:1358
#8  0x00007fb314417ed2 in QDBusError::operator= (this=0x1165788, other=...) at qdbuserror.cpp:301
#9  0x00007fb314432334 in QDBusAbstractInterface::callWithArgumentList (this=0x9031c0, mode=<value optimized out>, method=<value optimized out>, args=...) at qdbusabstractinterface.cpp:446
#10 0x00007fb318361ca8 in setInfoMessage (this=<value optimized out>, job=0x686290, title=<value optimized out>, field1=..., field2=...) at /usr/src/debug/kdelibs-4.6.1/build/kdeui/jobviewifacev2.h:64
#11 KUiServerJobTracker::description (this=<value optimized out>, job=0x686290, title=<value optimized out>, field1=..., field2=...) at /usr/src/debug/kdelibs-4.6.1/kdeui/jobs/kuiserverjobtracker.cpp:205
#12 0x00007fb3182fef8f in KUiServerJobTracker::qt_metacall (this=0xc85990, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff3a223400) at /usr/src/debug/kdelibs-4.6.1/build/kdeui/kuiserverjobtracker.moc:94
#13 0x00007fb3175f2a5f in QMetaObject::activate (sender=0x686290, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff3a223400) at kernel/qobject.cpp:3278
#14 0x00007fb3179d35f1 in KJob::description (this=<value optimized out>, _t1=0x686290, _t2=<value optimized out>, _t3=<value optimized out>, _t4=<value optimized out>) at /usr/src/debug/kdelibs-4.6.1/build/kdecore/kjob.moc:201
#15 0x00007fb310a3f4fa in KIO::JobPrivate::emitMoving (job=0x686290, src=<value optimized out>, dest=<value optimized out>) at /usr/src/debug/kdelibs-4.6.1/kio/kio/job.cpp:158
#16 0x00007fb310a3fb06 in KIO::CopyJobPrivate::slotReport (this=0x127c300) at /usr/src/debug/kdelibs-4.6.1/kio/kio/copyjob.cpp:517
#17 0x00007fb310b27545 in KIO::CopyJob::qt_metacall (this=0x686290, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3a223620) at /usr/src/debug/kdelibs-4.6.1/build/kio/copyjob.moc:126
#18 0x00007fb3175f2a5f in QMetaObject::activate (sender=0x1235580, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#19 0x00007fb3175f20a9 in QObject::event (this=0x1235580, e=<value optimized out>) at kernel/qobject.cpp:1181
#20 0x00007fb316789144 in QApplicationPrivate::notify_helper (this=0x723d00, receiver=0x1235580, e=0x7fff3a223dc0) at kernel/qapplication.cpp:4462
#21 0x00007fb3167916fa in QApplication::notify (this=<value optimized out>, receiver=0x1235580, e=0x7fff3a223dc0) at kernel/qapplication.cpp:4341
#22 0x00007fb318283d46 in KApplication::notify (this=0x7fff3a224190, receiver=0x1235580, event=0x7fff3a223dc0) at /usr/src/debug/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#23 0x00007fb3175de47c in QCoreApplication::notifyInternal (this=0x7fff3a224190, receiver=0x1235580, event=0x7fff3a223dc0) at kernel/qcoreapplication.cpp:731
#24 0x00007fb31760bdf8 in sendEvent (this=0x727820) at kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x727820) at kernel/qeventdispatcher_unix.cpp:619
#26 0x00007fb317608b54 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#27 0x00007fb312e75bd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00007fb312e763b0 in ?? () from /lib64/libglib-2.0.so.0
#29 0x00007fb312e76650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x00007fb31760922f in QEventDispatcherGlib::processEvents (this=0x7234d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007fb31682ebae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x00007fb3175dd8d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x00007fb3175ddae5 in QEventLoop::exec (this=0x7fff3a2240d0, flags=...) at kernel/qeventloop.cpp:201
#34 0x00007fb3175e1f2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#35 0x00007fb3062d6f95 in kdemain (argc=5, argv=0x6f4380) at /usr/src/debug/kdebase-4.6.1/dolphin/src/main.cpp:98
#36 0x00000000004075c9 in launch (argc=5, _name=0x6ff498 "/usr/bin/dolphin", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x6ff4ef "da-vinci.artbox;1301008755;885277;5284_TIME77055107") at /usr/src/debug/kdelibs-4.6.1/kinit/kinit.cpp:734
#37 0x00000000004080bd in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.6.1/kinit/kinit.cpp:1226
#38 0x000000000040885a in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.6.1/kinit/kinit.cpp:1419
#39 0x00000000004094b0 in main (argc=4, argv=0x7fff3a2257a8, envp=0x7fff3a2257d0) at /usr/src/debug/kdelibs-4.6.1/kinit/kinit.cpp:1907

This bug may be a duplicate of or related to bug 238086.

Possible duplicates by query: bug 263060, bug 261949, bug 255113, bug 252893, bug 243619.

Reported using DrKonqi
Comment 1 Dawit Alemayehu 2011-11-04 07:55:29 UTC

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