Bug 191567 - Crash when accessing properties of a directory in dolphin
Summary: Crash when accessing properties of a directory in dolphin
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_samba (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
: 175863 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-04 10:02 UTC by Ivo Anjo
Modified: 2009-06-01 04:57 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 Ivo Anjo 2009-05-04 10:02:47 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb65ae990 in raise () from /lib/libc.so.6
#8  0xb65b02c8 in abort () from /lib/libc.so.6
#9  0xb6896715 in qt_message_output (msgType=QtFatalMsg, buf=0x8434550 "ASSERT: \"i >= 0\" in file /stuff/kde/kdesvn/qt4/include/QtCore/qstring.h, line 871")
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/global/qglobal.cpp:2017
#10 0xb68967d8 in qFatal (msg=0xb69caf98 "ASSERT: \"%s\" in file %s, line %d") at /stuff/kde/kdesvn/source/qt-copy/src/corelib/global/qglobal.cpp:2216
#11 0xb6896896 in qt_assert (assertion=0xb36b7322 "i >= 0", file=0xb36b3ac0 "/stuff/kde/kdesvn/qt4/include/QtCore/qstring.h", line=871)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/global/qglobal.cpp:1786
#12 0xb3678e05 in QString::operator[] (this=0xbff6c8c8, i=-1) at /stuff/kde/kdesvn/qt4/include/QtCore/qstring.h:871
#13 0xb36a44d6 in NFSFile::load (this=0x842fe20) at /stuff/kde/kdesvn/source/kdenetwork/filesharing/advanced/nfs/nfsfile.cpp:132
#14 0xb3671ed8 in PropertiesPage::loadNFS (this=0x841d450) at /stuff/kde/kdesvn/source/kdenetwork/filesharing/advanced/propsdlgplugin/propertiespage.cpp:418
#15 0xb3671f9c in PropertiesPage::load (this=0x841d450) at /stuff/kde/kdesvn/source/kdenetwork/filesharing/advanced/propsdlgplugin/propertiespage.cpp:184
#16 0xb3672de6 in PropertiesPage (this=0x841d450, parent=0x8116980, items=@0xbff6ca48, enterUrl=false)
    at /stuff/kde/kdesvn/source/kdenetwork/filesharing/advanced/propsdlgplugin/propertiespage.cpp:156
#17 0xb366dab1 in PropsDlgSharePlugin (this=0x8116068, dlg=0x83f3d20) at /stuff/kde/kdesvn/source/kdenetwork/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp:93
#18 0xb366ecc1 in KDEPrivate::ConcreteFactory<PropsDlgSharePlugin, KPropertiesDialog>::create (parent=0x83f3d20, args=@0xbff6cb54)
    at /stuff/kde/kdesvn/kde/include/kgenericfactory.tcc:173
#19 0xb366ed87 in KGenericFactory<PropsDlgSharePlugin, KPropertiesDialog>::createObject (this=0x8429800, parent=0x83f3d20, className=0xb7f32bc0 "KPropertiesDialogPlugin", args=@0xbff6cb54)
    at /stuff/kde/kdesvn/kde/include/kgenericfactory.h:164
#20 0xb7479268 in KPluginFactory::create (this=0x8429800, iface=0xb7f32bc0 "KPropertiesDialogPlugin", parentWidget=0x0, parent=0x83f3d20, args=@0xbff6ccac, keyword=@0xbff6cbf8)
    at /stuff/kde/kdesvn/source/kdelibs/kdecore/util/kpluginfactory.cpp:176
#21 0xb7ed1b84 in KPluginFactory::create<KPropertiesDialogPlugin> (this=0x8429800, parentWidget=0x0, parent=0x83f3d20, keyword=@0xbff6cbf8, args=@0xbff6ccac)
    at /stuff/kde/kdesvn/source/kdelibs/kdecore/util/kpluginfactory.h:515
#22 0xb7ed2036 in KService::createInstance<KPropertiesDialogPlugin> (this=0x842a050, parentWidget=0x0, parent=0x83f3d20, args=@0xbff6ccac, error=0x0)
    at /stuff/kde/kdesvn/source/kdelibs/kdecore/services/kservice.h:518
#23 0xb7ed21bb in KService::createInstance<KPropertiesDialogPlugin> (this=0x842a050, parent=0x83f3d20, args=@0xbff6ccac, error=0x0)
    at /stuff/kde/kdesvn/source/kdelibs/kdecore/services/kservice.h:495
#24 0xb7ecc0d7 in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (this=0x83f8930) at /stuff/kde/kdesvn/source/kdelibs/kio/kfile/kpropertiesdialog.cpp:559
#25 0xb7ecc9ed in KPropertiesDialog::KPropertiesDialogPrivate::init (this=0x83f8930) at /stuff/kde/kdesvn/source/kdelibs/kio/kfile/kpropertiesdialog.cpp:351
#26 0xb7eccc98 in KPropertiesDialog (this=0x83f3d20, _items=@0xbff6cdb8, parent=0x8210378) at /stuff/kde/kdesvn/source/kdelibs/kio/kfile/kpropertiesdialog.cpp:250
#27 0xb7b9a3a4 in DolphinViewActionHandler::slotProperties (this=0x821dcf0) at /stuff/kde/kdesvn/source/kdebase/apps/dolphin/src/dolphinviewactionhandler.cpp:559
#28 0xb7b7be15 in DolphinViewActionHandler::qt_metacall (this=0x821dcf0, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0xbff6ceec)
    at /stuff/kde/kdesvn/build/kdebase/apps/dolphin/src/moc_dolphinviewactionhandler.cpp:142
#29 0xb69924f1 in QMetaObject::activate (sender=0x8274ee8, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x0)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qobject.cpp:3108
#30 0xb6992821 in QMetaObject::activate (sender=0x8274ee8, m=0xb724c108, from_local_signal_index=1, to_local_signal_index=2, argv=0xbff6ceec)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qobject.cpp:3205
#31 0xb6b6afa2 in QAction::triggered (this=0x8274ee8, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#32 0xb6b6c263 in QAction::activate (this=0x8274ee8, event=QAction::Trigger) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qaction.cpp:1160
#33 0xb6f7bcba in QMenuPrivate::activateCausedStack (this=0x83661e8, causedStack=@0xbff6cfc8, action=0x8274ee8, action_e=QAction::Trigger, self=true)
    at /stuff/kde/kdesvn/source/qt-copy/src/gui/widgets/qmenu.cpp:967
#34 0xb6f82279 in QMenuPrivate::activateAction (this=0x83661e8, action=0x8274ee8, action_e=QAction::Trigger, self=<value optimized out>)
    at /stuff/kde/kdesvn/source/qt-copy/src/gui/widgets/qmenu.cpp:1060
#35 0xb6f83076 in QMenu::mouseReleaseEvent (this=0x8167c78, e=0xbff6d6ec) at /stuff/kde/kdesvn/source/qt-copy/src/gui/widgets/qmenu.cpp:2254
#36 0xb77a4a48 in KMenu::mouseReleaseEvent (this=0x8167c78, e=0xbff6d6ec) at /stuff/kde/kdesvn/source/kdelibs/kdeui/widgets/kmenu.cpp:456
#37 0xb6bc43ca in QWidget::event (this=0x8167c78, event=0xbff6d6ec) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qwidget.cpp:7521
#38 0xb6f83b31 in QMenu::event (this=0x8167c78, e=0xbff6d6ec) at /stuff/kde/kdesvn/source/qt-copy/src/gui/widgets/qmenu.cpp:2353
#39 0xb6b70a9c in QApplicationPrivate::notify_helper (this=0x80ed328, receiver=0x8167c78, e=0xbff6d6ec) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qapplication.cpp:4057
#40 0xb6b79eac in QApplication::notify (this=0xbff7137c, receiver=0x8167c78, e=0xbff6d6ec) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qapplication.cpp:3759
#41 0xb76ccc09 in KApplication::notify (this=0xbff7137c, receiver=0x8167c78, event=0xbff6d6ec) at /stuff/kde/kdesvn/source/kdelibs/kdeui/kernel/kapplication.cpp:307
#42 0xb697fb82 in QCoreApplication::notifyInternal (this=0xbff7137c, receiver=0x8167c78, event=0xbff6d6ec)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606
#43 0xb6b78fc4 in QApplicationPrivate::sendMouseEvent (receiver=0x8167c78, event=0xbff6d6ec, alienWidget=0x0, nativeWidget=0x8167c78, buttonDown=0xb726a1e0, lastMouseReceiver=@0xb726a1e4)
    at ../../include/QtCore/../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:216
#44 0xb6bdba2d in QETWidget::translateMouseEvent (this=0x8167c78, event=0xbff6ec9c) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:4382
#45 0xb6bda345 in QApplication::x11ProcessEvent (this=0xbff7137c, event=0xbff6ec9c) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:3566
#46 0xb6c01ba2 in x11EventSourceDispatch (s=0x80ec670, callback=0, user_data=0x0) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#47 0xb61bf9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0xb61c3083 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0xb61c3241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0xb69a79a9 in QEventDispatcherGlib::processEvents (this=0x80c6e38, flags={i = -1074336168}) at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#51 0xb6c01396 in QGuiEventDispatcherGlib::processEvents (this=0x80c6e38, flags={i = -1074336120}) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#52 0xb697e29b in QEventLoop::processEvents (this=0xbff6eefc, flags={i = -1074336056}) at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#53 0xb697e47a in QEventLoop::exec (this=0xbff6eefc, flags={i = -1074335996}) at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#54 0xb6f839ba in QMenu::exec (this=0x8167c78, p=@0xbff6ef60, action=0x0) at /stuff/kde/kdesvn/source/qt-copy/src/gui/widgets/qmenu.cpp:1993
#55 0x08076ae9 in DolphinContextMenu::openItemContextMenu (this=0xbff6f014) at /stuff/kde/kdesvn/source/kdebase/apps/dolphin/src/dolphincontextmenu.cpp:239
#56 0x0807736d in DolphinContextMenu::open (this=0xbff6f014) at /stuff/kde/kdesvn/source/kdebase/apps/dolphin/src/dolphincontextmenu.cpp:105
#57 0x08070cc1 in DolphinViewContainer::openContextMenu (this=0x8209968, item=@0xbff6f198, url=@0x820a5bc, customActions=@0xbff6f2c8)
    at /stuff/kde/kdesvn/source/kdebase/apps/dolphin/src/dolphinviewcontainer.cpp:361
#58 0x08071ad4 in DolphinViewContainer::qt_metacall (this=0x8209968, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbff6f134)
    at /stuff/kde/kdesvn/build/kdebase/apps/dolphin/src/dolphinviewcontainer.moc:122
#59 0xb69924f1 in QMetaObject::activate (sender=0x8210378, from_signal_index=<value optimized out>, to_signal_index=44, argv=0x0)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qobject.cpp:3108
#60 0xb6992ab3 in QMetaObject::activate (sender=0x8210378, m=0xb7bcbee4, local_signal_index=17, argv=0xbff6f134)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qobject.cpp:3185
#61 0xb7b92c40 in DolphinView::requestContextMenu (this=0x8210378, _t1=@0xbff6f198, _t2=@0x820a5bc, _t3=@0xbff6f2c8)
    at /stuff/kde/kdesvn/build/kdebase/apps/dolphin/src/dolphinview.moc:353
#62 0xb7b94e30 in DolphinView::openContextMenu (this=0x8210378, pos=@0xbff6fb44, customActions=@0xbff6f2c8) at /stuff/kde/kdesvn/source/kdebase/apps/dolphin/src/dolphinview.cpp:974
#63 0xb7b97c4e in DolphinView::qt_metacall (this=0x8210378, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbff6f298)
    at /stuff/kde/kdesvn/build/kdebase/apps/dolphin/src/dolphinview.moc:212
#64 0xb69924f1 in QMetaObject::activate (sender=0x820a5b0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x0)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qobject.cpp:3108
#65 0xb6992ab3 in QMetaObject::activate (sender=0x820a5b0, m=0xb7bcb3fc, local_signal_index=2, argv=0xbff6f298)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qobject.cpp:3185
#66 0xb7b7c60a in DolphinController::requestContextMenu (this=0x820a5b0, _t1=@0xbff6fb44, _t2=
        {{p = {static shared_null = {ref = {_q_value = 12433}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0xbff6f2c8}, d = 0xbff6f2c8}})
    at /stuff/kde/kdesvn/build/kdebase/apps/dolphin/src/dolphincontroller.moc:150
#67 0xb7b7c6fb in DolphinController::triggerContextMenuRequest (this=0x820a5b0, pos=@0xbff6fb44, customActions=@0xbff6f2f8)
    at /stuff/kde/kdesvn/source/kdebase/apps/dolphin/src/dolphincontroller.cpp:81
#68 0xb7b84ae6 in DolphinIconsView::contextMenuEvent (this=0x82642f8, event=0xbff6fb34) at /stuff/kde/kdesvn/source/kdebase/apps/dolphin/src/dolphiniconsview.cpp:164
#69 0xb6bc4d42 in QWidget::event (this=0x82642f8, event=0xbff6fb34) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qwidget.cpp:7680
#70 0xb6f3e004 in QFrame::event (this=0x82642f8, e=0xbff6fb34) at /stuff/kde/kdesvn/source/qt-copy/src/gui/widgets/qframe.cpp:559
#71 0xb6fd0ee7 in QAbstractScrollArea::viewportEvent (this=0x82642f8, e=0x6) at /stuff/kde/kdesvn/source/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:962
#72 0xb707232f in QAbstractItemView::viewportEvent (this=0x82642f8, event=0xbff6fb34) at /stuff/kde/kdesvn/source/qt-copy/src/gui/itemviews/qabstractitemview.cpp:1471
#73 0xb6fd33d5 in QAbstractScrollAreaFilter::eventFilter (this=0x826b518, o=0x8240940, e=0xbff6fb34) at /stuff/kde/kdesvn/source/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:100
#74 0xb697ed60 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80ed328, receiver=0x8240940, event=0xbff6fb34)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:726
#75 0xb6b70a72 in QApplicationPrivate::notify_helper (this=0x80ed328, receiver=0x8240940, e=0xbff6fb34) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qapplication.cpp:4053
#76 0xb6b79add in QApplication::notify (this=0xbff7137c, receiver=0x8240940, e=0xbff6fb34) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qapplication.cpp:3846
#77 0xb76ccc09 in KApplication::notify (this=0xbff7137c, receiver=0x8240940, event=0xbff6fb34) at /stuff/kde/kdesvn/source/kdelibs/kdeui/kernel/kapplication.cpp:307
#78 0xb697fb82 in QCoreApplication::notifyInternal (this=0xbff7137c, receiver=0x8240940, event=0xbff6fb34)
    at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:606
#79 0xb6b7aabf in QCoreApplication::sendSpontaneousEvent (receiver=0x8240940, event=0x6) at ../../include/QtCore/../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:216
#80 0xb6bdbf81 in QETWidget::translateMouseEvent (this=0x81c6b98, event=0xbff710bc) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:4454
#81 0xb6bda345 in QApplication::x11ProcessEvent (this=0xbff7137c, event=0xbff710bc) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:3566
#82 0xb6c01ba2 in x11EventSourceDispatch (s=0x80ec670, callback=0, user_data=0x0) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:146
#83 0xb61bf9c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#84 0xb61c3083 in ?? () from /usr/lib/libglib-2.0.so.0
#85 0xb61c3241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#86 0xb69a79a9 in QEventDispatcherGlib::processEvents (this=0x80c6e38, flags={i = -1074326920}) at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#87 0xb6c01396 in QGuiEventDispatcherGlib::processEvents (this=0x80c6e38, flags={i = -1074326872}) at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#88 0xb697e29b in QEventLoop::processEvents (this=0xbff71310, flags={i = -1074326808}) at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#89 0xb697e47a in QEventLoop::exec (this=0xbff71310, flags={i = -1074326760}) at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qeventloop.cpp:196
#90 0xb6980721 in QCoreApplication::exec () at /stuff/kde/kdesvn/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#91 0xb6b70908 in QApplication::exec () at /stuff/kde/kdesvn/source/qt-copy/src/gui/kernel/qapplication.cpp:3526
#92 0x08078d99 in main (argc=1, argv=0xbff71534) at /stuff/kde/kdesvn/source/kdebase/apps/dolphin/src/main.cpp:94
Comment 1 Christoph Feck 2009-05-05 02:32:49 UTC
SVN commit 963625 by cfeck:

Do not access empty string

BUG: 191567


 M  +5 -5      nfsfile.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=963625
Comment 2 Christoph Feck 2009-05-05 02:50:30 UTC
SVN commit 963627 by cfeck:

Do not access empty string (backport r963625)

This crash will be fixed in KDE 4.2.4

CCBUG: 191567
CCMAIL: dirk@kde.org



 M  +5 -5      nfsfile.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=963627
Comment 3 Christoph Feck 2009-06-01 04:57:39 UTC
*** Bug 175863 has been marked as a duplicate of this bug. ***