Version: (using KDE 4.0.0) Installed from: Ubuntu Packages OS: Linux Trying to browse samba shares using KDE4.0.0, both Konqueror and Dolphin crash when entering the following url : smb:/ The error reported is that the application caused signal 6 (SIGABRT). Backtrace is : (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) (... lots of no debugging symbols stuff ...) 0xffffe410 in __kernel_vsyscall () [Current thread is 0 (process 7432)] Thread 1 (Thread -1237767568 (LWP 7432)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb7d79e96 in nanosleep () from /lib/tls/i686/cmov/libc.so.6 #2 0xb7d79ca7 in sleep () from /lib/tls/i686/cmov/libc.so.6 #3 0xb78464c0 in ?? () from /usr/lib/kde4/lib/libkdeui.so.5 #4 0x00000001 in ?? () #5 0x00000000 in ?? () #0 0xffffe410 in __kernel_vsyscall () When I try to browse "network" and then "Samba shares" using the icons available in dolphin/konqueror, I get this error : "could not connect to host for smb://smb-network/" I have the samba shares displayed when I try to browse a host when entering something like this (using host netbios names): smb:/my-smb-host I am asked for a user and password which look to never be taken into account when I enter this kind of (valid) address : smb://192.168.1.2 --> this goes on asking user/pass forever. I I hit cancel and then try to reenter this url, I'm not asked for password and no connection attempt is made - the browser remains empty. Looks like samba shares discovery and authentication is almost broken... Regards
I can reproduce this with a current SVN build. The (more verbose) backtrace that I get when crashing konqueror by accessing smb:/ is: Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb6364a10 (LWP 13373)] [KCrash handler] #6 0xffffe410 in __kernel_vsyscall () #7 0xb65861f1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #8 0xb65879b8 in *__GI_abort () at abort.c:88 #9 0xb7192265 in qt_message_output (msgType=QtFatalMsg, buf=0xbfbd714c "ASSERT: \"result.second\" in file /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirmodel.cpp, line 304") at global/qglobal.cpp:2160 #10 0xb719232a in qFatal (msg=0xb729987c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2392 #11 0xb7192555 in qt_assert (assertion=0xb7d7ee8c "result.second", file=0xb7d7eb70 "/var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirmodel.cpp", line=304) at global/qglobal.cpp:1917 #12 0xb7c63f49 in KDirModelPrivate::_k_slotNewItems (this=0x8559840, items=@0x8511b90) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirmodel.cpp:304 #13 0xb7c646d0 in KDirModel::qt_metacall (this=0x85627b0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfbd97bc) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/kdirmodel.moc:75 #14 0xb72781f4 in QMetaObject::activate (sender=0x84c0450, from_signal_index=13, to_signal_index=13, argv=<value optimized out>) at kernel/qobject.cpp:3081 #15 0xb7278d94 in QMetaObject::activate (sender=0x84c0450, m=0xb7d9d3bc, local_signal_index=9, argv=0xbfbd97bc) at kernel/qobject.cpp:3140 #16 0xb7c4c264 in KDirLister::newItems (this=0x84c0450, _t1=@0x8511b90) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/kdirlister.moc:252 #17 0xb7c4c88a in KDirLister::Private::emitItems (this=0x84bf800) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirlister.cpp:2184 #18 0xb7c5153f in KDirListerCache::slotEntries (this=0x84bf8d8, job=0x83140e0, entries=@0xbfbda500) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirlister.cpp:961 #19 0xb7c56fd4 in KDirListerCache::qt_metacall (this=0x84bf8d8, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfbd9e28) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/kdirlister_p.moc:96 #20 0xb72781f4 in QMetaObject::activate (sender=0x83140e0, from_signal_index=40, to_signal_index=40, argv=<value optimized out>) at kernel/qobject.cpp:3081 #21 0xb7278d94 in QMetaObject::activate (sender=0x83140e0, m=0xb7d9c720, local_signal_index=0, argv=0xbfbd9e28) at kernel/qobject.cpp:3140 #22 0xb7c29d87 in KIO::ListJob::entries (this=0x83140e0, _t1=0x83140e0, _t2=@0xbfbda500) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/jobclasses.moc:762 #23 0xb7c33456 in KIO::ListJobPrivate::slotListEntries (this=0x84e2a08, list=@0xbfbda500) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/job.cpp:2283 #24 0xb7c3375b in KIO::ListJob::qt_metacall (this=0x83140e0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfbda3dc) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/jobclasses.moc:749 #25 0xb72781f4 in QMetaObject::activate (sender=0x8511aa0, from_signal_index=10, to_signal_index=10, argv=<value optimized out>) at kernel/qobject.cpp:3081 #26 0xb7278d94 in QMetaObject::activate (sender=0x8511aa0, m=0xb7d9f024, local_signal_index=6, argv=0xbfbda3dc) at kernel/qobject.cpp:3140 #27 0xb7cd6684 in KIO::SlaveInterface::listEntries (this=0x8511aa0, _t1=@0xbfbda500) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/slaveinterface.moc:174 #28 0xb7cd83cf in KIO::SlaveInterface::dispatch (this=0x8511aa0, _cmd=106, rawdata=@0xbfbda574) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/slaveinterface.cpp:196 #29 0xb7cd8f56 in KIO::SlaveInterface::dispatch (this=0x8511aa0) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/slaveinterface.cpp:90 #30 0xb7ccb627 in KIO::Slave::gotInput (this=0x8511aa0) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/slave.cpp:318 #31 0xb7cccb7d in KIO::Slave::qt_metacall (this=0x8511aa0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfbdaa94) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/slave.moc:74 #32 0xb72781f4 in QMetaObject::activate (sender=0x8519bc0, from_signal_index=4, to_signal_index=4, argv=<value optimized out>) at kernel/qobject.cpp:3081 #33 0xb7278d94 in QMetaObject::activate (sender=0x8519bc0, m=0xb7d9bf20, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3140 #34 0xb7c06953 in KIO::Connection::readyRead (this=0x8519bc0) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/connection.moc:83 #35 0xb7c077d6 in KIO::ConnectionPrivate::dequeue (this=0x80856b8) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/connection.cpp:82 #36 0xb7c08585 in KIO::Connection::qt_metacall (this=0x8519bc0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8129600) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/connection.moc:71 #37 0xb72732f9 in QMetaCallEvent::placeMetaCall (this=0x85141d0, object=0x8519bc0) at kernel/qobject.cpp:536 #38 0xb7276017 in QObject::event (this=0x8519bc0, e=0x343d) at kernel/qobject.cpp:1122 #39 0xb6905e8a in QApplicationPrivate::notify_helper (this=0x8058898, receiver=0x8519bc0, e=0x85141d0) at kernel/qapplication.cpp:3556 #40 0xb690777a in QApplication::notify (this=0xbfbdb3d8, receiver=0x8519bc0, e=0x85141d0) at kernel/qapplication.cpp:3115 #41 0xb7841fb3 in KApplication::notify (this=0xbfbdb3d8, receiver=0x8519bc0, event=0x85141d0) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:314 #42 0xb7264d7b in QCoreApplication::notifyInternal (this=0xbfbdb3d8, receiver=0x8519bc0, event=0x85141d0) at kernel/qcoreapplication.cpp:530 #43 0xb726621a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x804ce50) at kernel/qcoreapplication.h:200 #44 0xb726656d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1001 #45 0xb698faee in QEventDispatcherX11::processEvents (this=0x8058780, flags=@0xbfbdb194) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:205 #46 0xb7264191 in QEventLoop::processEvents (this=0xbfbdb200, flags=@0xbfbdb1c8) at kernel/qeventloop.cpp:140 #47 0xb726429a in QEventLoop::exec (this=0xbfbdb200, flags=@0xbfbdb208) at kernel/qeventloop.cpp:186 #48 0xb7266626 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:759 #49 0xb6905487 in QApplication::exec () at kernel/qapplication.cpp:3053 #50 0xb7ed639f in kdemain (argc=2, argv=0xbfbdb6d4) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/src/konqmain.cpp:218 #51 0x080487e2 in main (argc=) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase_build/apps/konqueror/src/konqueror_dummy.cpp:3 #52 0xb6572fdc in __libc_start_main (main=0x80487c0 <main>, argc=2, ubp_av=0xbfbdb6d4, init=0x8048810 <__libc_csu_init>, fini=0x8048800 <__libc_csu_fini>, rtld_fini=0xb7ef9100 <_dl_fini>, stack_end=0xbfbdb6cc) at libc-start.c:229 #53 0x08048731 in _start () #0 0xffffe410 in __kernel_vsyscall () The (apparently similar) backtrace for the dolphin crash is: Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb63086d0 (LWP 13402)] [New Thread 0xb4d71b90 (LWP 13403)] [KCrash handler] #6 0xffffe410 in __kernel_vsyscall () #7 0xb655b1f1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #8 0xb655c9b8 in *__GI_abort () at abort.c:88 #9 0xb7e04265 in qt_message_output (msgType=QtFatalMsg, buf=0xbfd7accc "ASSERT: \"result.second\" in file /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirmodel.cpp, line 304") at global/qglobal.cpp:2160 #10 0xb7e0432a in qFatal (msg=0xb7f0b87c "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2392 #11 0xb7e04555 in qt_assert (assertion=0xb7890e8c "result.second", file=0xb7890b70 "/var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirmodel.cpp", line=304) at global/qglobal.cpp:1917 #12 0xb7775f49 in KDirModelPrivate::_k_slotNewItems (this=0x81b3080, items=@0x8296220) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirmodel.cpp:304 #13 0xb77766d0 in KDirModel::qt_metacall (this=0x81b30a0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfd7d33c) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/kdirmodel.moc:75 #14 0xb7eea1f4 in QMetaObject::activate (sender=0x81d02e0, from_signal_index=13, to_signal_index=13, argv=<value optimized out>) at kernel/qobject.cpp:3081 #15 0xb7eead94 in QMetaObject::activate (sender=0x81d02e0, m=0x8095f40, local_signal_index=9, argv=0xbfd7d33c) at kernel/qobject.cpp:3140 #16 0xb775e264 in KDirLister::newItems (this=0x81d02e0, _t1=@0x8296220) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/kdirlister.moc:252 #17 0xb775e88a in KDirLister::Private::emitItems (this=0x81bd1e8) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirlister.cpp:2184 #18 0xb776353f in KDirListerCache::slotEntries (this=0x81ae010, job=0x83083b0, entries=@0xbfd7e080) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/kdirlister.cpp:961 #19 0xb7768fd4 in KDirListerCache::qt_metacall (this=0x81ae010, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfd7d9a8) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/kdirlister_p.moc:96 #20 0xb7eea1f4 in QMetaObject::activate (sender=0x83083b0, from_signal_index=40, to_signal_index=40, argv=<value optimized out>) at kernel/qobject.cpp:3081 #21 0xb7eead94 in QMetaObject::activate (sender=0x83083b0, m=0xb78ae720, local_signal_index=0, argv=0xbfd7d9a8) at kernel/qobject.cpp:3140 #22 0xb773bd87 in KIO::ListJob::entries (this=0x83083b0, _t1=0x83083b0, _t2=@0xbfd7e080) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/jobclasses.moc:762 #23 0xb7745456 in KIO::ListJobPrivate::slotListEntries (this=0x82d6048, list=@0xbfd7e080) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/job.cpp:2283 #24 0xb774575b in KIO::ListJob::qt_metacall (this=0x83083b0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfd7df5c) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/jobclasses.moc:749 #25 0xb7eea1f4 in QMetaObject::activate (sender=0x83139a8, from_signal_index=10, to_signal_index=10, argv=<value optimized out>) at kernel/qobject.cpp:3081 #26 0xb7eead94 in QMetaObject::activate (sender=0x83139a8, m=0xb78b1024, local_signal_index=6, argv=0xbfd7df5c) at kernel/qobject.cpp:3140 #27 0xb77e8684 in KIO::SlaveInterface::listEntries (this=0x83139a8, _t1=@0xbfd7e080) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/slaveinterface.moc:174 #28 0xb77ea3cf in KIO::SlaveInterface::dispatch (this=0x83139a8, _cmd=106, rawdata=@0xbfd7e0f4) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/slaveinterface.cpp:196 #29 0xb77eaf56 in KIO::SlaveInterface::dispatch (this=0x83139a8) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/slaveinterface.cpp:90 #30 0xb77dd627 in KIO::Slave::gotInput (this=0x83139a8) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/slave.cpp:318 #31 0xb77deb7d in KIO::Slave::qt_metacall (this=0x83139a8, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd7e614) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/slave.moc:74 #32 0xb7eea1f4 in QMetaObject::activate (sender=0x83141a0, from_signal_index=4, to_signal_index=4, argv=<value optimized out>) at kernel/qobject.cpp:3081 #33 0xb7eead94 in QMetaObject::activate (sender=0x83141a0, m=0xb78adf20, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3140 #34 0xb7718953 in KIO::Connection::readyRead (this=0x83141a0) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/connection.moc:83 #35 0xb77197d6 in KIO::ConnectionPrivate::dequeue (this=0x82e49d8) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kio/kio/connection.cpp:82 #36 0xb771a585 in KIO::Connection::qt_metacall (this=0x83141a0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x81bebe8) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs_build/kio/connection.moc:71 #37 0xb7ee52f9 in QMetaCallEvent::placeMetaCall (this=0x8321158, object=0x83141a0) at kernel/qobject.cpp:536 #38 0xb7ee8017 in QObject::event (this=0x83141a0, e=0x345a) at kernel/qobject.cpp:1122 #39 0xb6abee8a in QApplicationPrivate::notify_helper (this=0x80a7e90, receiver=0x83141a0, e=0x8321158) at kernel/qapplication.cpp:3556 #40 0xb6ac077a in QApplication::notify (this=0xbfd7edec, receiver=0x83141a0, e=0x8321158) at kernel/qapplication.cpp:3115 #41 0xb7a5cfb3 in KApplication::notify (this=0xbfd7edec, receiver=0x83141a0, event=0x8321158) at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdeui/kernel/kapplication.cpp:314 #42 0xb7ed6d7b in QCoreApplication::notifyInternal (this=0xbfd7edec, receiver=0x83141a0, event=0x8321158) at kernel/qcoreapplication.cpp:530 #43 0xb7ed821a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8098e50) at kernel/qcoreapplication.h:200 #44 0xb7ed856d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1001 #45 0xb6b48aee in QEventDispatcherX11::processEvents (this=0x80a6fa0, flags=@0xbfd7ed14) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:205 #46 0xb7ed6191 in QEventLoop::processEvents (this=0xbfd7ed80, flags=@0xbfd7ed48) at kernel/qeventloop.cpp:140 #47 0xb7ed629a in QEventLoop::exec (this=0xbfd7ed80, flags=@0xbfd7ed88) at kernel/qeventloop.cpp:186 #48 0xb7ed8626 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:759 #49 0xb6abe487 in QApplication::exec () at kernel/qapplication.cpp:3053 #50 0x0807dbe2 in main (argc=1, argv=0xbfd7efa4) at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/dolphin/src/main.cpp:95 #51 0xb6547fdc in __libc_start_main (main=0x807cc70 <main>, argc=1, ubp_av=0xbfd7efa4, init=0x808b660 <__libc_csu_init>, fini=0x808b650 <__libc_csu_fini>, rtld_fini=0xb7f9a100 <_dl_fini>, stack_end=0xbfd7ef9c) at libc-start.c:229 #52 0x0805d9d1 in _start () #0 0xffffe410 in __kernel_vsyscall ()
I can confirm this too, using openSUSE kde 4.0.1 packages.
Another way to reproduce this crash for me is to type man:program, (e.g.: "man:paperconf") into the dolphin address bar (kdelibs r772899). However, if I type "man:paperconf" into the konqueror addressbar, everything works as expected.
*** Bug 157934 has been marked as a duplicate of this bug. ***
Confirmed on Gentoo, KDE 4.0.3
Confirmed on openSUSE 10.3, KDE 4.0.4
Same for Kubuntu 8.04, KDE 4.0.3
can confirm in opensuse 11.0rc1 konqueror 4.0.4
Confirmed on Fedora 9, KDE 4.0.5
*** Bug 164925 has been marked as a duplicate of this bug. ***
I think Albert fixed kio_smb in trunk for kde-4.1?
Yeah, I just tried browsing my lan using kde4daily, and it seems to be working fine, no crashes, and both computers show up fine. I would say it's fixed.
Yeah, smb:/ was crashing due to the UDS_URL/UDS_TARGET_URL thing. It was fixed on r783762