Bug 324805

Summary: Dolphin crashes when dragging files to ftp server
Product: [Unmaintained] kio Reporter: Jan Essert <netz>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adawit, frank78ac
Priority: NOR Keywords: drkonqi
Version: 4.11.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jan Essert 2013-09-11 19:34:43 UTC
Application: dolphin (4.11.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.5
Operating System: Linux 3.11.0-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
dolphin sometimes crashes when copying files via drag-and-drop to an ftp server.
A file seems to be copied partially.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f12947a7780 (LWP 7415))]

Thread 2 (Thread 0x7f127a553700 (LWP 7416)):
#0  0x00007f129408ad5d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f128ba6ea5f in read (__nbytes=16, __buf=0x7f127a552c60, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x1096ac0) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gwakeup.c:212
#3  0x00007f128ba3046c in g_main_context_check (context=context@entry=0x7f12740009a0, max_priority=2147483647, fds=fds@entry=0x7f1274002bb0, n_fds=n_fds@entry=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3502
#4  0x00007f128ba308a5 in g_main_context_iterate (context=context@entry=0x7f12740009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3698
#5  0x00007f128ba30a34 in g_main_context_iteration (context=0x7f12740009a0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3762
#6  0x00007f128fed5466 in QEventDispatcherGlib::processEvents (this=0x7f12740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x00007f128fea5caf in QEventLoop::processEvents (this=this@entry=0x7f127a552e40, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f128fea5f38 in QEventLoop::exec (this=this@entry=0x7f127a552e40, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f128fda94b0 in QThread::exec (this=this@entry=0x12f0e10) at thread/qthread.cpp:536
#10 0x00007f128fe879ff in QInotifyFileSystemWatcherEngine::run (this=0x12f0e10) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x00007f128fdabc3c in QThreadPrivate::start (arg=0x12f0e10) at thread/qthread_unix.cpp:338
#12 0x00007f128e451f3b in start_thread (arg=0x7f127a553700) at pthread_create.c:308
#13 0x00007f129409950d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f12947a7780 (LWP 7415)):
[KCrash Handler]
#6  detach (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:139
#7  begin (this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:267
#8  KDirListerCache::slotUpdateResult (this=0x12f9b20, j=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kio/kio/kdirlister.cpp:1748
#9  0x00007f128febc84f in QMetaObject::activate (sender=sender@entry=0x1805920, m=m@entry=0x7f12906d14c0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffbfc46200) at kernel/qobject.cpp:3547
#10 0x00007f1290344482 in KJob::result (this=this@entry=0x1805920, _t1=_t1@entry=0x1805920) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1_build/kdecore/kjob.moc:207
#11 0x00007f12903444c0 in KJob::emitResult (this=this@entry=0x1805920) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kdecore/jobs/kjob.cpp:318
#12 0x00007f1291d3f492 in KIO::SimpleJob::slotFinished (this=this@entry=0x1805920) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kio/kio/job.cpp:496
#13 0x00007f1291d3f60b in KIO::ListJob::slotFinished (this=0x1805920) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kio/kio/job.cpp:2716
#14 0x00007f128febc84f in QMetaObject::activate (sender=sender@entry=0x1705110, m=m@entry=0x7f12920e0500 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#15 0x00007f1291dd9933 in KIO::SlaveInterface::finished (this=this@entry=0x1705110) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1_build/kio/slaveinterface.moc:184
#16 0x00007f1291ddae31 in KIO::SlaveInterface::dispatch (this=0x1705110, _cmd=104, rawdata=...) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kio/kio/slaveinterface.cpp:176
#17 0x00007f1291dd875a in KIO::SlaveInterface::dispatch (this=0x1705110) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kio/kio/slaveinterface.cpp:92
#18 0x00007f1291dcccfe in KIO::Slave::gotInput (this=0x1705110) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kio/kio/slave.cpp:344
#19 0x00007f128febc84f in QMetaObject::activate (sender=0x11c0f30, m=m@entry=0x7f12920d9a20 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#20 0x00007f1291d0ad70 in KIO::Connection::readyRead (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1_build/kio/connection.moc:105
#21 0x00007f1291d0b262 in dequeue (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kio/kio/connection.cpp:82
#22 KIO::ConnectionPrivate::dequeue (this=0x178e330) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kio/kio/connection.cpp:71
#23 0x00007f128fec08fe in QObject::event (this=0x11c0f30, e=<optimized out>) at kernel/qobject.cpp:1194
#24 0x00007f12908c6d2c in QApplicationPrivate::notify_helper (this=this@entry=0x10c4850, receiver=receiver@entry=0x11c0f30, e=e@entry=0x177a920) at kernel/qapplication.cpp:4562
#25 0x00007f12908c969b in QApplication::notify (this=this@entry=0x7fffbfc47330, receiver=receiver@entry=0x11c0f30, e=e@entry=0x177a920) at kernel/qapplication.cpp:4423
#26 0x00007f12915d3746 in KApplication::notify (this=0x7fffbfc47330, receiver=0x11c0f30, event=0x177a920) at /var/tmp/portage/kde-base/kdelibs-4.11.1/work/kdelibs-4.11.1/kdeui/kernel/kapplication.cpp:311
#27 0x00007f128fea6ffe in QCoreApplication::notifyInternal (this=0x7fffbfc47330, receiver=receiver@entry=0x11c0f30, event=event@entry=0x177a920) at kernel/qcoreapplication.cpp:949
#28 0x00007f128feaa611 in sendEvent (event=0x177a920, receiver=0x11c0f30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1099180) at kernel/qcoreapplication.cpp:1573
#30 0x00007f128feaa943 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#31 0x00007f128fed52b3 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=s@entry=0x10c49e0) at kernel/qeventdispatcher_glib.cpp:280
#33 0x00007f128ba30635 in g_main_dispatch (context=0x10c4060) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3054
#34 g_main_context_dispatch (context=context@entry=0x10c4060) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3630
#35 0x00007f128ba30978 in g_main_context_iterate (context=context@entry=0x10c4060, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3701
#36 0x00007f128ba30a34 in g_main_context_iteration (context=0x10c4060, may_block=1) at /var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gmain.c:3762
#37 0x00007f128fed5446 in QEventDispatcherGlib::processEvents (this=0x10c10f0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#38 0x00007f1290966c0e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f128fea5caf in QEventLoop::processEvents (this=this@entry=0x7fffbfc471f0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f128fea5f38 in QEventLoop::exec (this=this@entry=0x7fffbfc471f0, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f128feab178 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#42 0x00007f12908c569c in QApplication::exec () at kernel/qapplication.cpp:3823
#43 0x00007f12943a8c34 in kdemain (argc=1, argv=0x7fffbfc47468) at /var/tmp/portage/kde-base/dolphin-4.11.1/work/dolphin-4.11.1/dolphin/src/main.cpp:93
#44 0x00007f1293fcfbf5 in __libc_start_main (main=0x4007a0 <main(int, char**)>, argc=1, ubp_av=0x7fffbfc47468, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbfc47458) at libc-start.c:258
#45 0x00000000004007d1 in _start ()

Possible duplicates by query: bug 319953, bug 316339, bug 316103, bug 308958, bug 308304.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2013-09-12 03:52:38 UTC
Thanks for the bug report! It crashes in the KIO library. There are quite a few other reports with a similar backtrace, but I'm not sure if they are all due to the same bug in the code (they are all about different protocols). Moreover, your backtrace looks quite good, so I'll leave the report open for people with more knowledge of these things.

One thing that you could do to help would be to obtain a Valgrind log of the crash, see

http://community.kde.org/Dolphin/FAQ/Crashes

Thanks for your help.
Comment 2 Dawit Alemayehu 2013-09-28 13:35:17 UTC

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