[Bug 158821] New: fish:// triggers a kdirlister assert

Albert Astals Cid tsdgeos at terra.es
Wed Mar 5 20:53:56 CET 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=158821         
           Summary: fish:// triggers a kdirlister assert
           Product: kdelibs
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdelibs-bugs kde org
        ReportedBy: tsdgeos terra es


Version:            (using Devel)
Installed from:    Compiled sources

How to reproduce:
 * Open kwrite
 * Press open toolbar icon
 * put fish://localhost on the top lineedit
 * Put your information
 * Crash

The assert is the Q_ASSERT(dit != directoryData.end()); one on KDirListerCache::forgetDirs

On the moment of the assert urlStr contains "fish://myuser:mypassword%0A localhost/" (%0A seems a bit weird there to my uninformed eyes) and directoryData is empty.

The backtrace is
#0  KDirListerCache::forgetDirs (this=0xc14ac0, lister=0xc14100, _url= 0xbfe160, notify=false) at /home/kdesvn/kdelibs/kio/kio/kdirlister.cpp:442
#1  0x00002abb8284c548 in KDirListerCache::forgetDirs (this=0xc14ac0, lister=0xc14100) at /home/kdesvn/kdelibs/kio/kio/kdirlister.cpp:420
#2  0x00002abb8284e4d2 in KDirListerCache::listDir (this=0xc14ac0, lister=0xc14100, _u= 0x7fff28c25380, _keep=false, _reload=false)
    at /home/kdesvn/kdelibs/kio/kio/kdirlister.cpp:121
#3  0x00002abb82850554 in KDirLister::openUrl (this=0xc14100, _url= 0x7fff28c25380, _flags= 0x7fff28c25330)
    at /home/kdesvn/kdelibs/kio/kio/kdirlister.cpp:1730
#4  0x00002abb8cdb426e in KDirOperator::Private::openUrl (this=0xc13f50, url= 0x7fff28c25380, flags= 0x7fff28c25460)
    at /home/kdesvn/kdelibs/kfile/kdiroperator.cpp:953
#5  0x00002abb8cdb9560 in KDirOperator::setUrl (this=0xc13c50, _newurl= 0x7fff28c25680, clearforward=true)
    at /home/kdesvn/kdelibs/kfile/kdiroperator.cpp:936
#6  0x00002abb8cdc969e in KFileWidget::setUrl (this=0xbcce60, url= 0x7fff28c25680, clearforward=true) at /home/kdesvn/kdelibs/kfile/kfilewidget.cpp:1121
#7  0x00002abb8cdc8ed9 in KFileWidgetPrivate::_k_enterUrl (this=0xbcca10, url= 0x7fff28c25680) at /home/kdesvn/kdelibs/kfile/kfilewidget.cpp:1162
#8  0x00002abb8cdcf84e in KFileWidget::qt_metacall (this=0xbcce60, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff28c255f0)
    at /home/kdesvn/build-cmake/kdelibs/kfile/kfilewidget.moc:117
#9  0x00002abb8418060b in QMetaObject::activate (sender=0xbe6020, from_signal_index=<value optimized out>, to_signal_index=28, argv=0x0)
    at kernel/qobject.cpp:2995
#10 0x00002abb8cde9e73 in KUrlNavigator::urlChanged (this=0xbe6020, _t1= 0x7fff28c25680) at /home/kdesvn/build-cmake/kdelibs/kfile/kurlnavigator.moc:135
#11 0x00002abb8cdecdde in KUrlNavigator::setUrl (this=0xbe6020, url= 0x7fff28c25d20) at /home/kdesvn/kdelibs/kfile/kurlnavigator.cpp:1063
#12 0x00002abb8cdcc447 in KFileWidgetPrivate::_k_urlEntered (this=0xbcca10, url= 0x7fff28c25d20) at /home/kdesvn/kdelibs/kfile/kfilewidget.cpp:1142
#13 0x00002abb8cdcf82e in KFileWidget::qt_metacall (this=0xbcce60, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff28c25900)
    at /home/kdesvn/build-cmake/kdelibs/kfile/kfilewidget.moc:116
#14 0x00002abb8418060b in QMetaObject::activate (sender=0xc13c50, from_signal_index=<value optimized out>, to_signal_index=27, argv=0x0)
    at kernel/qobject.cpp:2995
#15 0x00002abb8cdb0511 in KDirOperator::urlEntered (this=0xc13c50, _t1= 0x7fff28c25d20) at /home/kdesvn/build-cmake/kdelibs/kfile/kdiroperator.moc:243
#16 0x00002abb8cdb5863 in KDirOperator::Private::_k_slotRedirected (this=0xc13f50, newURL= 0x7fff28c25d20)
    at /home/kdesvn/kdelibs/kfile/kdiroperator.cpp:1036
#17 0x00002abb8cdb8f5f in KDirOperator::qt_metacall (this=0xc13c50, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0x7fff28c25a60)
    at /home/kdesvn/build-cmake/kdelibs/kfile/kdiroperator.moc:220
#18 0x00002abb8418060b in QMetaObject::activate (sender=0xc14100, from_signal_index=<value optimized out>, to_signal_index=9, argv=0x0)
    at kernel/qobject.cpp:2995
#19 0x00002abb8284415b in KDirLister::redirection (this=0xc14100, _t1= 0x7fff28c25d20) at /home/kdesvn/build-cmake/kdelibs/kio/kdirlister.moc:226
#20 0x00002abb828444fb in KDirLister::Private::redirect (this=0xc14960, oldUrl= 0x7fff28c25d40, newUrl= 0x7fff28c25d20)
    at /home/kdesvn/kdelibs/kio/kio/kdirlister.cpp:2399
#21 0x00002abb8284760b in KDirListerCache::slotRedirection (this=0xc14ac0, j=0xdd2130, url= 0xdecd20) at /home/kdesvn/kdelibs/kio/kio/kdirlister.cpp:1078
#22 0x00002abb8284e0e4 in KDirListerCache::qt_metacall (this=0xc14ac0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff28c260d0)
    at /home/kdesvn/build-cmake/kdelibs/kio/kdirlister_p.moc:99
#23 0x00002abb8418060b in QMetaObject::activate (sender=0xdd2130, from_signal_index=<value optimized out>, to_signal_index=41, argv=0x0)
    at kernel/qobject.cpp:2995
#24 0x00002abb82824041 in KIO::ListJob::redirection (this=0xdd2130, _t1=0xdd2130, _t2= 0xdecd20)
    at /home/kdesvn/build-cmake/kdelibs/kio/jobclasses.moc:770
#25 0x00002abb828252bb in KIO::ListJobPrivate::slotRedirection (this=0xdecc50, url= 0x7fff28c26430) at /home/kdesvn/kdelibs/kio/kio/job.cpp:2337
#26 0x00002abb8282cdfb in KIO::ListJob::qt_metacall (this=0xdd2130, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff28c26330)
    at /home/kdesvn/build-cmake/kdelibs/kio/jobclasses.moc:751
#27 0x00002abb8418060b in QMetaObject::activate (sender=0xd4ec00, from_signal_index=<value optimized out>, to_signal_index=19, argv=0x0)
    at kernel/qobject.cpp:2995
#28 0x00002abb828c602b in KIO::SlaveInterface::redirection (this=0xd4ec00, _t1= 0x7fff28c26430)
    at /home/kdesvn/build-cmake/kdelibs/kio/slaveinterface.moc:236
#29 0x00002abb828c81ae in KIO::SlaveInterface::dispatch (this=0xd4ec00, _cmd=20, rawdata= 0x7fff28c265a0)
    at /home/kdesvn/kdelibs/kio/kio/slaveinterface.cpp:279
#30 0x00002abb828c87ce in KIO::SlaveInterface::dispatch (this=0xd4ec00) at /home/kdesvn/kdelibs/kio/kio/slaveinterface.cpp:90
#31 0x00002abb828bc67b in KIO::Slave::gotInput (this=0xd4ec00) at /home/kdesvn/kdelibs/kio/kio/slave.cpp:319
#32 0x00002abb828bd859 in KIO::Slave::qt_metacall (this=0xd4ec00, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff28c26700)
    at /home/kdesvn/build-cmake/kdelibs/kio/slave.moc:75
#33 0x00002abb8418060b in QMetaObject::activate (sender=0xd78110, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0)
    at kernel/qobject.cpp:2995
#34 0x00002abb82802672 in KIO::Connection::readyRead (this=0xd78110) at /home/kdesvn/build-cmake/kdelibs/kio/connection.moc:84
#35 0x00002abb82803542 in KIO::ConnectionPrivate::dequeue (this=0xb3cd00) at /home/kdesvn/kdelibs/kio/kio/connection.cpp:82
#36 0x00002abb828043d4 in KIO::Connection::qt_metacall (this=0xd78110, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xd58f30)
    at /home/kdesvn/build-cmake/kdelibs/kio/connection.moc:72
#37 0x00002abb8417c282 in QObject::event (this=0xd78110, e=0xdeacd0) at kernel/qobject.cpp:1131
#38 0x00002abb86fc295f in QApplicationPrivate::notify_helper (this=0x61f730, receiver=0xd78110, e=0xdeacd0) at kernel/qapplication.cpp:3735
#39 0x00002abb86fc757e in QApplication::notify (this=0x7fff28c28700, receiver=0xd78110, e=0xdeacd0) at kernel/qapplication.cpp:3702
#40 0x00002abb82dff46c in KApplication::notify (this=0x7fff28c28700, receiver=0xd78110, event=0xdeacd0)
    at /home/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#41 0x00002abb8416c9e9 in QCoreApplication::notifyInternal (this=0x7fff28c28700, receiver=0xd78110, event=0xdeacd0) at kernel/qcoreapplication.cpp:586
#42 0x00002abb8416d96e in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x601cd0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 0x00002abb87047ab0 in QEventDispatcherX11::processEvents (this=0x61bcb0, flags= 0x7fff28c27040)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 0x00002abb8416bbb8 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:146
#45 0x00002abb8416bcfa in QEventLoop::exec (this=0x7fff28c270c0, flags= 0x7fff28c270e0) at kernel/qeventloop.cpp:197
#46 0x00002abb873b8c2b in QDialog::exec (this=0x7fff28c27170) at dialogs/qdialog.cpp:453
#47 0x00002abb828f603c in KEncodingFileDialog::getOpenUrlsAndEncoding (encoding= 0x83b5e8, startDir= 0x7fff28c27290, filter= 0x7fff28c27280,
    parent=0x6eb3a0, caption= 0x7fff28c27270) at /home/kdesvn/kdelibs/kio/kfile/kencodingfiledialog.cpp:162
#48 0x00002abb820aca19 in KWrite::slotOpen (this=0x6eb3a0) at /home/kdesvn/kdebase/apps/kwrite/kwritemain.cpp:270
#49 0x00002abb820acb8b in KWrite::qt_metacall (this=0x6eb3a0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff28c273e0)
    at /home/kdesvn/build-cmake/kdebase/apps/kwrite/kwritemain.moc:104
#50 0x00002abb8418060b in QMetaObject::activate (sender=0x990370, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x0)
    at kernel/qobject.cpp:2995
#51 0x00002abb86fbc317 in QAction::triggered (this=0xc14ac0, _t1=false) at .moc/release-shared/moc_qaction.cpp:216
#52 0x00002abb86fbcea0 in QAction::activate (this=0x990370, event=<value optimized out>) at kernel/qaction.cpp:1129
#53 0x00002abb872b2234 in QAbstractButtonPrivate::click (this=0xb5f170) at widgets/qabstractbutton.cpp:529
#54 0x00002abb872b24ad in QAbstractButton::mouseReleaseEvent (this=0xb41d70, e=0x7fff28c27ba0) at widgets/qabstractbutton.cpp:1116
#55 0x00002abb873744fa in QToolButton::mouseReleaseEvent (this=0xc14ac0, e=0xc14100) at widgets/qtoolbutton.cpp:675
#56 0x00002abb8700f925 in QWidget::event (this=0xb41d70, event=0x7fff28c27ba0) at kernel/qwidget.cpp:6850
#57 0x00002abb872b10bf in QAbstractButton::event (this=0xb41d70, e=0xc14100) at widgets/qabstractbutton.cpp:1078
#58 0x00002abb87374259 in QToolButton::event (this=0xc14ac0, e=0xc14100) at widgets/qtoolbutton.cpp:1105
#59 0x00002abb86fc295f in QApplicationPrivate::notify_helper (this=0x61f730, receiver=0xb41d70, e=0x7fff28c27ba0) at kernel/qapplication.cpp:3735
#60 0x00002abb86fc7a6e in QApplication::notify (this=<value optimized out>, receiver=0xb41d70, e=0x7fff28c27ba0) at kernel/qapplication.cpp:3464
#61 0x00002abb82dff46c in KApplication::notify (this=0x7fff28c28700, receiver=0xb41d70, event=0x7fff28c27ba0)
    at /home/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#62 0x00002abb8416c9e9 in QCoreApplication::notifyInternal (this=0x7fff28c28700, receiver=0xb41d70, event=0x7fff28c27ba0)
    at kernel/qcoreapplication.cpp:586
#63 0x00002abb86fc5491 in QApplicationPrivate::sendMouseEvent (receiver=0xb41d70, event=0x7fff28c27ba0, alienWidget=0xb41d70, nativeWidget=0x6eb3a0,
    buttonDown=<value optimized out>, lastMouseReceiver= 0x2abb87923dc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#64 0x00002abb8702472b in QETWidget::translateMouseEvent (this=0x6eb3a0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4092
#65 0x00002abb87023679 in QApplication::x11ProcessEvent (this=0x75, event=0x7fff28c28410) at kernel/qapplication_x11.cpp:3214
#66 0x00002abb87047ba7 in QEventDispatcherX11::processEvents (this=0x61bcb0, flags= 0x7fff28c285e0) at kernel/qeventdispatcher_x11.cpp:134
#67 0x00002abb8416bbb8 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:146
#68 0x00002abb8416bcfa in QEventLoop::exec (this=0x7fff28c28650, flags= 0x7fff28c28660) at kernel/qeventloop.cpp:197
#69 0x00002abb8416dd1e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:838
#70 0x00002abb820ac647 in kdemain (argc=1, argv=0x7fff28c29428) at /home/kdesvn/kdebase/apps/kwrite/kwritemain.cpp:784
#71 0x0000000000400923 in main (argc=1, argv=0x7fff28c29428) at /home/kdesvn/build-cmake/kdebase/apps/kwrite/kwrite_dummy.cpp:3


More information about the Kdelibs-bugs mailing list