Bug 164197 - Fish dies unexpectedly when missing username
Summary: Fish dies unexpectedly when missing username
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: fish (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jörg Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-16 09:25 UTC by Pascal d'Hermilly
Modified: 2008-11-29 14:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal d'Hermilly 2008-06-16 09:25:32 UTC
Version:            (using KDE 4.0.80)
Installed from:    Ubuntu Packages
OS:                Linux

Fish dies unexpectedly in dolphin if your username isn't the same on the local machine as on the remote machine. It asks you what the username/password is, and then it dies. 
You have to explicitly type username@host before it works.
Comment 1 Rui G. 2008-08-28 16:18:38 UTC
Confirmed in dolphin and in Konqueror it just serves an unexpected error. Kde 4.1.1 @ Opensuse 11.0 .

The bug could be very similar to bug 155591 but I wouldn't say it's a duplicate.
Comment 2 Pascal d'Hermilly 2008-09-09 01:33:28 UTC
When reconfirming this bug, dolphin chrashed entirely instead of just reporting a failure. So this is a chrash-bug now. I don't know how to change it.
Comment 3 Rui G. 2008-09-09 09:56:51 UTC
Could you paste your backtrace? I can get a backtrace in Kubuntu 8.04.1 after doing "sudo apt-get install kde4libs-dbg" .

Here is one I got, although I think my first one without all the debug symbols was slightly different.

Application: Dolphin (dolphin), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb5ef7720 (LWP 7738)]
[KCrash handler]
#6  0xb7f02410 in __kernel_vsyscall ()
#7  0xb6752085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6753a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7557367 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbff876bc "ASSERT failure in QList<T>::operator[]: \"index out of range\", file /usr/include/qt4/QtCore/qlist.h, line 401")
    at global/qglobal.cpp:2061
#10 0xb7557458 in qFatal (
    msg=0xb769e468 "ASSERT failure in %s: \"%s\", file %s, line %d")
    at global/qglobal.cpp:2263
#11 0xb75574bc in qt_assert_x (where=0xb7e33b06 "QList<T>::operator[]", 
    what=0xb7e33af3 "index out of range", 
    file=0xb7e33ac4 "/usr/include/qt4/QtCore/qlist.h", line=401)
    at global/qglobal.cpp:1839
#12 0xb7d2845a in QList<KUrl>::operator[] (this=0x82bc52c, i=-1)
    at /usr/include/qt4/QtCore/qlist.h:401
#13 0xb7d196fd in KDirLister::Private::redirect (this=0x82bc528, 
    oldUrl=@0xbff89918, newUrl=@0xbff89928)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/kdirlister.cpp:2409
#14 0xb7d1cd8b in KDirListerCache::slotRedirection (this=0x8262fb0, 
    j=0x83e6d20, url=@0x84c52e0)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/kdirlister.cpp:1092
#15 0xb7d236f1 in KDirListerCache::qt_metacall (this=0x8262fb0, 
    _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbff89ab8)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-i486-linux-gnu/kio/kdirlister_p.moc:99
#16 0xb765ff79 in QMetaObject::activate (sender=0x83e6d20, 
    from_signal_index=41, to_signal_index=41, argv=0xbff89ab8)
    at kernel/qobject.cpp:3016
#17 0xb7660642 in QMetaObject::activate (sender=0x83e6d20, m=0xb7e61a00, 
    local_signal_index=1, argv=0xbff89ab8) at kernel/qobject.cpp:3086
#18 0xb7cf8289 in KIO::ListJob::redirection (this=0x83e6d20, _t1=0x83e6d20, 
    _t2=@0x84c52e0)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-i486-linux-gnu/kio/jobclasses.moc:770
#19 0xb7cf9347 in KIO::ListJobPrivate::slotRedirection (this=0x84c5270, 
    url=@0xbff89d18)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/job.cpp:2372
#20 0xb7d016d4 in KIO::ListJob::qt_metacall (this=0x83e6d20, 
    _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbff89c4c)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-i486-linux-gnu/kio/jobclasses.moc:751
#21 0xb765ff79 in QMetaObject::activate (sender=0x827eab0, 
    from_signal_index=19, to_signal_index=19, argv=0xbff89c4c)
    at kernel/qobject.cpp:3016
#22 0xb7660642 in QMetaObject::activate (sender=0x827eab0, m=0xb7e643e4, 
    local_signal_index=15, argv=0xbff89c4c) at kernel/qobject.cpp:3086
#23 0xb7d9da53 in KIO::SlaveInterface::redirection (this=0x827eab0, 
    _t1=@0xbff89d18)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-i486-linux-gnu/kio/slaveinterface.moc:236
#24 0xb7d9fb03 in KIO::SlaveInterface::dispatch (this=0x827eab0, _cmd=20, 
    rawdata=@0xbff89da4)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/slaveinterface.cpp:278
#25 0xb7da041d in KIO::SlaveInterface::dispatch (this=0x827eab0)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/slaveinterface.cpp:90
#26 0xb7d92fd7 in KIO::Slave::gotInput (this=0x827eab0)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/slave.cpp:319
#27 0xb7d943ad in KIO::Slave::qt_metacall (this=0x827eab0, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff89eb8)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-i486-linux-gnu/kio/slave.moc:75
#28 0xb765ff79 in QMetaObject::activate (sender=0x8456e60, 
    from_signal_index=4, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:3016
#29 0xb7660642 in QMetaObject::activate (sender=0x8456e60, m=0xb7e61040, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3086
#30 0xb7ccf7c7 in KIO::Connection::readyRead (this=0x8456e60)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-i486-linux-gnu/kio/connection.moc:84
#31 0xb7cd0638 in KIO::ConnectionPrivate::dequeue (this=0x84c55d8)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/kio/kio/connection.cpp:82
#32 0xb7cd147e in KIO::Connection::qt_metacall (this=0x8456e60, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x84bc958)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/obj-i486-linux-gnu/kio/connection.moc:72
#33 0xb76598ab in QMetaCallEvent::placeMetaCall (this=0x8445898, 
    object=0x8456e60) at kernel/qobject.cpp:535
#34 0xb765ac31 in QObject::event (this=0x8456e60, e=0x8445898)
    at kernel/qobject.cpp:1140
#35 0xb6bc9f9c in QApplicationPrivate::notify_helper (this=0x80b9360, 
    receiver=0x8456e60, e=0x8445898) at kernel/qapplication.cpp:3800
#36 0xb6bcebf9 in QApplication::notify (this=0xbff8a6cc, receiver=0x8456e60, 
    e=0x8445898) at kernel/qapplication.cpp:3392
#37 0xb7ad71c3 in KApplication::notify (this=0xbff8a6cc, receiver=0x8456e60, 
    event=0x8445898)
    at /build/buildd/kde4libs-4.1.1+really4.1.1/kdeui/kernel/kapplication.cpp:311
#38 0xb764b0b9 in QCoreApplication::notifyInternal (this=0xbff8a6cc, 
    receiver=0x8456e60, event=0x8445898) at kernel/qcoreapplication.cpp:591
#39 0xb764c469 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x80a46b0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 0xb764c68d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1095
#41 0xb767662f in postEventSourceDispatch (s=0x80bb340)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#42 0xb6297dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb629b193 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0xb629b74e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb76769f8 in QEventDispatcherGlib::processEvents (this=0x80b9418, 
    flags=@0xbff8a5b8) at kernel/qeventdispatcher_glib.cpp:325
#46 0xb6c5da25 in QGuiEventDispatcherGlib::processEvents (this=0x80b9418, 
    flags=@0xbff8a5e8) at kernel/qguieventdispatcher_glib.cpp:204
#47 0xb764a33d in QEventLoop::processEvents (this=0xbff8a660, 
    flags=@0xbff8a624) at kernel/qeventloop.cpp:149
#48 0xb764a4cd in QEventLoop::exec (this=0xbff8a660, flags=@0xbff8a668)
    at kernel/qeventloop.cpp:200
#49 0xb764c74d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#50 0xb6bc9897 in QApplication::exec () at kernel/qapplication.cpp:3330
#51 0x08080a59 in ?? ()
#52 0xb673d450 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#53 0x080619b1 in _start ()
#0  0xb7f02410 in __kernel_vsyscall ()
Comment 4 Pascal d'Hermilly 2008-09-10 16:11:10 UTC
I installed a similar package(kdelibs-dbg) in Kubuntu 8.10, But I don't get any backtrace at all. Do I have to give dolphin an extra command?
Comment 5 Rui G. 2008-09-10 16:30:24 UTC
It's possible gdb is needed, try to install gdb. Also, I don't know if in kubuntu 8.10 the packages changed names, but in 8.04 kdelibs-dbg belongs to kde3 , while it's kde4libs-dbg that is required to get backtraces in kde4.

You don't need extra commands, it's just a matter of packages in this case.

Also, I seem to be hitting this bug in different ways. If I try to connect to fish://server at first, it asks for username and password, and if I get it right, says protocol died unexpectedly. Then it asks again, I get the password right, it connects fine to the server and 1 minute later I try again and it crashes, even with wrong password. It seems it only handles one call per user per server until it timeouts on the other end (could be another bug). 
Comment 6 Pascal d'Hermilly 2008-11-29 14:08:44 UTC
It seems to work on KDE 4.1.3
Comment 7 Rui G. 2008-11-29 14:31:39 UTC
It works fine for me in recent opensuse KDE unstable packages, so just confirming that in fact it was fixed.