Bug 174580 - Dolphin crashes connecting via webdavs
Summary: Dolphin crashes connecting via webdavs
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 187020 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-07 23:34 UTC by Alex
Modified: 2009-05-14 00:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
does this untested patch for kdelibs/kioslave/http/http.cpp help? (1.12 KB, patch)
2009-01-16 14:51 UTC, David Faure
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2008-11-07 23:34:37 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

Dolphin crashes with SIGABRT connecting via webdavs protocol (immediately after logging into the site).
Dolphin 1.1, KDE 4.1.3, Kubuntu 8.10

Application: Dolphin (dolphin), signal SIGABRT
(no debugging symbols found)
...
[Thread debugging using libthread_db enabled]
[New Thread 0xb5eb16c0 (LWP 21529)]
[New Thread 0xb432ab90 (LWP 21530)]
(no debugging symbols found)
...
[KCrash handler]
#6  0xb7fce430 in __kernel_vsyscall ()
#7  0xb673f880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6741248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb751f795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb751f872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb751f915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7d75404 in ?? () from /usr/lib/libkio.so.5
#13 0xb7d7a734 in ?? () from /usr/lib/libkio.so.5
#14 0xb762ca60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb762d7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb77d8283 in KJob::result () from /usr/lib/libkdecore.so.5
#17 0xb77d8792 in KJob::emitResult () from /usr/lib/libkdecore.so.5
#18 0xb7d468c5 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.5
#19 0xb7d46a0e in KIO::ListJob::slotFinished () from /usr/lib/libkio.so.5
#20 0xb7d4bb53 in KIO::ListJob::qt_metacall () from /usr/lib/libkio.so.5
#21 0xb762ca60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb762d7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb7e0cf27 in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.5
#24 0xb7e10b97 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#25 0xb7e0d6a7 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#26 0xb7dfd6cd in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#27 0xb7e00113 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#28 0xb762ca60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb762d7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb7d0d8f7 in KIO::Connection::readyRead () from /usr/lib/libkio.so.5
#31 0xb7d0f9c9 in ?? () from /usr/lib/libkio.so.5
#32 0xb7d0fb56 in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#33 0xb7625bfb in QMetaCallEvent::placeMetaCall ()
   from /usr/lib/libQtCore.so.4
#34 0xb7627771 in QObject::event () from /usr/lib/libQtCore.so.4
#35 0xb6bb88ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#36 0xb6bc076e in QApplication::notify () from /usr/lib/libQtGui.so.4
#37 0xb7ae6b2d in KApplication::notify () from /usr/lib/libkdeui.so.5
#38 0xb7617e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#39 0xb7618ae5 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#40 0xb7618cdd in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#41 0xb764282f in ?? () from /usr/lib/libQtCore.so.4
#42 0xb626d6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb6270da3 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0xb6270f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb7642478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#46 0xb6c52ee5 in ?? () from /usr/lib/libQtGui.so.4
#47 0xb761652a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#48 0xb76166ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#49 0xb7618da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#50 0xb6bb8767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#51 0x0808519f in _start ()
#0  0xb7fce430 in __kernel_vsyscall ()
Comment 1 Dario Andres 2009-01-09 19:58:52 UTC
Can you still reproduce this bug? Thanks :)
Comment 2 Alex 2009-01-11 09:36:37 UTC
(In reply to comment #1)
> Can you still reproduce this bug? Thanks :)
> 

It's still the same problem in KDE 4.2b2 (4.1.85), Dolphin 1.1.80
Comment 3 David Faure 2009-01-13 23:45:25 UTC
I don't have access to a webdavs site to test this, unfortunately.
Do you have the debug output from dolphin (e.g. from ~/.xsession-errors)?
Comment 4 Alex 2009-01-14 06:20:19 UTC
(In reply to comment #3)
> I don't have access to a webdavs site to test this, unfortunately.
> Do you have the debug output from dolphin (e.g. from ~/.xsession-errors)?
> 

The following appears in .xsession-errors on crashing:

kdeinit4: preparing to launch 
ASSERT: "!name.isEmpty()" in file /build/buildd/kde4libs-4.1.85/kio/kio/kdirlister.cpp, line 1507
QObject: Do not delete object, 'unnamed', during its event handler!
KCrash: Application 'dolphin' crashing...
kdeinit4: preparing to launch /usr/lib/kde4/libexec/drkonqi

I noticed the same with Konqueror also, so its likely a general KIO problem.
Comment 5 Alex 2009-01-14 06:29:04 UTC
Oops, it looks like the same problem with plain (insecured) webdav also:

Application: Dolphin (dolphin), signal SIGABRT
[Current thread is 0 (LWP 8115)]

Thread 3 (Thread 0xb42a6b90 (LWP 8116)):
#0  0xb80ba430 in __kernel_vsyscall ()
#1  0xb6567c01 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb699a150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb68ca6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb62f450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb656f7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb0c4eb90 (LWP 8138)):
#0  0xb80ba430 in __kernel_vsyscall ()
#1  0xb62f83a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb657da44 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb68cb6cc in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb68c0886 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb68ca6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb62f450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb656f7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5ef06c0 (LWP 8115)):
[KCrash Handler]
#6  0xb80ba430 in __kernel_vsyscall ()
#7  0xb64b9880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb64bb248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb68c2795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb68c2872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb68c2915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7ee7d48 in ?? () from /usr/lib/libkio.so.5
#13 0xb7ef6583 in ?? () from /usr/lib/libkio.so.5
#14 0xb69cfa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb69d07e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb7ebb3d9 in KIO::ListJob::entries () from /usr/lib/libkio.so.5
#17 0xb7ec51b3 in ?? () from /usr/lib/libkio.so.5
#18 0xb7ec5350 in KIO::ListJob::qt_metacall () from /usr/lib/libkio.so.5
#19 0xb69cfa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb69d07e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb7f8dc33 in KIO::SlaveInterface::listEntries () from /usr/lib/libkio.so.5
#22 0xb7f919f9 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#23 0xb7f8e1c7 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#24 0xb7f7f5bd in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#25 0xb7f80733 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#26 0xb69cfa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb69d07e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb7e89dc7 in KIO::Connection::readyRead () from /usr/lib/libkio.so.5
#29 0xb7e8be99 in ?? () from /usr/lib/libkio.so.5
#30 0xb7e8c026 in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#31 0xb69c8bfb in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#32 0xb69ca771 in QObject::event () from /usr/lib/libQtCore.so.4
#33 0xb6bdd8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#34 0xb6be572e in QApplication::notify () from /usr/lib/libQtGui.so.4
#35 0xb785bd3d in KApplication::notify () from /usr/lib/libkdeui.so.5
#36 0xb69bae61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#37 0xb69bbae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#38 0xb69bbcdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#39 0xb69e582f in ?? () from /usr/lib/libQtCore.so.4
#40 0xb61f86f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0xb61fbda3 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb61fbf61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0xb69e5478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#44 0xb6c77ea5 in ?? () from /usr/lib/libQtGui.so.4
#45 0xb69b952a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#46 0xb69b96ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#47 0xb69bbda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#48 0xb6bdd767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#49 0x08086a3f in _start ()

./xsession-errors:

ASSERT: "!name.isEmpty()" in file /build/buildd/kde4libs-4.1.85/kio/kio/kdirlister.cpp, line 1016
QObject: Do not delete object, 'unnamed', during its event handler!
KCrash: Application 'dolphin' crashing...
Comment 6 David Faure 2009-01-16 14:43:40 UTC
OK, clear enough, empty UDS_NAME.

Which URL are you opening? [does it contain a filename, or does it end with a '/']
Comment 7 David Faure 2009-01-16 14:51:03 UTC
Created attachment 30320 [details]
does this untested patch for kdelibs/kioslave/http/http.cpp help?
Comment 8 Alex 2009-01-17 00:48:25 UTC
(In reply to comment #6)
> OK, clear enough, empty UDS_NAME.
> 
> Which URL are you opening? [does it contain a filename, or does it end with a
> '/']
> 

No filename, just "webdavs://hostname:2078/". If the trailing slash is omitted, Dolphin adds it automatically.

When I add a name of existing subdirectory, I can see a list of files flashed for a moment before Dolphin crashes again.
Comment 9 Alex 2009-01-17 00:54:11 UTC
(In reply to comment #7)
> Created an attachment (id=30320) [details]
> does this untested patch for kdelibs/kioslave/http/http.cpp help?
> 
Sorry, cannot test it as I use binary Kubuntu packages.
Comment 10 David Faure 2009-03-13 16:44:52 UTC
*** Bug 187020 has been marked as a duplicate of this bug. ***
Comment 11 David Faure 2009-03-13 17:00:14 UTC
SVN commit 939030 by dfaure:

Attempt at fixing webdav listing (empty name asserts in kdirlister)
The reporters using webdav can't test patches, so I might as well commit and they'll test in the next release...
CCBUG: 174580


 M  +6 -8      http.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=939030
Comment 12 Alex 2009-04-12 06:45:40 UTC
Fixed after upgrading to KDE 4.2.2

Many thanks!
Comment 13 Dario Andres 2009-04-12 15:34:29 UTC
@David: should this be marked as fixed now ? Thanks
Comment 14 David Faure 2009-05-14 00:42:37 UTC
Seems so.