Version: (using KDE 4.0.0) Installed from: Gentoo Packages Compiler: GCC 4.1.2 OS: Linux I tried to search for a file/folder in my '/'-directory. But when i click the 'OK'-button, in the directory selection window, KFind crashes on a SIGSEGV signal. I can reproduce this crash every time i try. Back trace: Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0x2ac86c544dd0 (LWP 3394)] [KCrash handler] #5 0x00002ac8664ecaca in KFileTreeView::selectedUrl () from /usr/kde/4.0/lib64/libkfile.so.4 #6 0x00002ac8664e69eb in KDirSelectDialog::accept () from /usr/kde/4.0/lib64/libkfile.so.4 #7 0x00002ac86508300a in KDialog::slotButtonClicked () from /usr/kde/4.0/lib64/libkdeui.so.5 #8 0x00002ac86508321e in KDialog::qt_metacall () from /usr/kde/4.0/lib64/libkdeui.so.5 #9 0x00002ac8664e7765 in KDirSelectDialog::qt_metacall () from /usr/kde/4.0/lib64/libkfile.so.4 #10 0x00002ac864635fe8 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4 #11 0x00002ac86463afbe in QSignalMapper::mapped () from /usr/lib64/qt4/libQtCore.so.4 #12 0x00002ac86463b60a in QSignalMapper::map () from /usr/lib64/qt4/libQtCore.so.4 #13 0x00002ac86463b8cc in QSignalMapper::qt_metacall () from /usr/lib64/qt4/libQtCore.so.4 #14 0x00002ac864635fe8 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4 #15 0x00002ac86a3f2997 in QAbstractButton::clicked () from /usr/lib64/qt4/libQtGui.so.4 #16 0x00002ac86a1dbb6b in QAbstractButtonPrivate::emitClicked () from /usr/lib64/qt4/libQtGui.so.4 #17 0x00002ac86a1dd5e5 in QAbstractButtonPrivate::click () from /usr/lib64/qt4/libQtGui.so.4 #18 0x00002ac86a1dd80d in QAbstractButton::mouseReleaseEvent () from /usr/lib64/qt4/libQtGui.so.4 #19 0x00002ac869f636b7 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4 #20 0x00002ac86a1dc7af in QAbstractButton::event () from /usr/lib64/qt4/libQtGui.so.4 #21 0x00002ac86a265827 in QPushButton::event () from /usr/lib64/qt4/libQtGui.so.4 #22 0x00002ac869f1f62b in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4 #23 0x00002ac869f21cfe in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4 #24 0x00002ac8650f22cb in KApplication::notify () from /usr/kde/4.0/lib64/libkdeui.so.5 #25 0x00002ac8646250f0 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4 #26 0x00002ac869f753ff in QETWidget::translateMouseEvent () from /usr/lib64/qt4/libQtGui.so.4 #27 0x00002ac869f74025 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4 #28 0x00002ac869f95ff5 in QEventDispatcherX11::processEvents () from /usr/lib64/qt4/libQtGui.so.4 #29 0x00002ac864624788 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4 #30 0x00002ac864624899 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4 #31 0x00002ac86a2ccb0b in QDialog::exec () from /usr/lib64/qt4/libQtGui.so.4 #32 0x00002ac8664e8410 in KDirSelectDialog::selectDirectory () from /usr/kde/4.0/lib64/libkfile.so.4 #33 0x00002ac86e6d7db8 in KFileModule::selectDirectory () from /usr/kde/4.0/lib64/kde4/libkfilemodule.so #34 0x00002ac86562d398 in KFileDialog::getExistingDirectory () from /usr/kde/4.0/lib64/libkio.so.5 #35 0x000000000041b376 in KfindTabWidget::getDirectory () #36 0x000000000041d35a in KfindTabWidget::qt_metacall () #37 0x00002ac864635fe8 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4 #38 0x00002ac86a3f2997 in QAbstractButton::clicked () from /usr/lib64/qt4/libQtGui.so.4 #39 0x00002ac86a1dbb6b in QAbstractButtonPrivate::emitClicked () from /usr/lib64/qt4/libQtGui.so.4 #40 0x00002ac86a1dd5e5 in QAbstractButtonPrivate::click () from /usr/lib64/qt4/libQtGui.so.4 #41 0x00002ac86a1dd80d in QAbstractButton::mouseReleaseEvent () from /usr/lib64/qt4/libQtGui.so.4 #42 0x00002ac869f636b7 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4 #43 0x00002ac86a1dc7af in QAbstractButton::event () from /usr/lib64/qt4/libQtGui.so.4 #44 0x00002ac86a265827 in QPushButton::event () from /usr/lib64/qt4/libQtGui.so.4 #45 0x00002ac869f1f62b in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4 #46 0x00002ac869f21cfe in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4 #47 0x00002ac8650f22cb in KApplication::notify () from /usr/kde/4.0/lib64/libkdeui.so.5 #48 0x00002ac8646250f0 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4 #49 0x00002ac869f753ff in QETWidget::translateMouseEvent () from /usr/lib64/qt4/libQtGui.so.4 #50 0x00002ac869f74025 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4 #51 0x00002ac869f95ff5 in QEventDispatcherX11::processEvents () from /usr/lib64/qt4/libQtGui.so.4 #52 0x00002ac864624788 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4 #53 0x00002ac864624899 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4 #54 0x00002ac86a2ccb0b in QDialog::exec () from /usr/lib64/qt4/libQtGui.so.4 #55 0x000000000041a455 in main () #56 0x00002ac86ad52b74 in __libc_start_main () from /lib64/libc.so.6 #57 0x00000000004139b9 in _start () #0 0x00002ac86adc77b0 in __nanosleep_nocancel () from /lib64/libc.so.6
I can reproduce this crash with svn trunk r815578. Backtrace follows: ================== Application: KFind (kfind), signal SIGABRT Using host libthread_db library "/lib64/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 47478209490272 (LWP 6615)] [KCrash handler] #5 0x00002b2e5fa61a55 in raise () from /lib64/libc.so.6 #6 0x00002b2e5fa631e0 in abort () from /lib64/libc.so.6 #7 0x00002b2e58e5a098 in qt_message_output (msgType=QtFatalMsg, buf=0x7fff51ec5dc0 "ASSERT: \"!isEmpty()\" in file /opt/qt-copy/include/QtCore/qlist.h, line 252") at global/qglobal.cpp:2058 #8 0x00002b2e58e5a1a7 in qFatal ( msg=0x2b2e58fa7cd8 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2260 #9 0x00002b2e58e5a5d9 in qt_assert (assertion=0x2b2e5aff39c4 "!isEmpty()", file=0x2b2e5aff39a0 "/opt/qt-copy/include/QtCore/qlist.h", line=252) at global/qglobal.cpp:1828 #10 0x00002b2e5afc8455 in QList<QModelIndex>::first (this=0x7fff51ec7f40) at /opt/qt-copy/include/QtCore/qlist.h:252 #11 0x00002b2e5afc80a0 in KFileTreeView::selectedUrl (this=0x798430) at /home/george/kde/src/KDE/kdelibs/kfile/kfiletreeview.cpp:122 #12 0x00002b2e5afc2379 in KDirSelectDialog::accept (this=0x7fff51ec9d90) at /home/george/kde/src/KDE/kdelibs/kfile/kdirselectdialog.cpp:359 #13 0x00002b2e59a5f53f in KDialog::slotButtonClicked (this=0x7fff51ec9d90, button=4) at /home/george/kde/src/KDE/kdelibs/kdeui/dialogs/kdialog.cpp:900 #14 0x00002b2e59a61b64 in KDialog::qt_metacall (this=0x7fff51ec9d90, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fff51ec81d0) at /home/george/kde/build/KDE/kdelibs/kdeui/kdialog.moc:181 #15 0x00002b2e5afc217b in KDirSelectDialog::qt_metacall (this=0x7fff51ec9d90, _c=QMetaObject::InvokeMetaMethod, _id=68, _a=0x7fff51ec81d0) at /home/george/kde/build/KDE/kdelibs/kfile/kdirselectdialog.moc:71 #16 0x00002b2e58f673ab in QMetaObject::activate (sender=0xa18228, from_signal_index=4, to_signal_index=4, argv=0x7fff51ec81d0) at kernel/qobject.cpp:3007 #17 0x00002b2e58f6780f in QMetaObject::activate (sender=0xa18228, m=0x2b2e592546a0, local_signal_index=0, argv=0x7fff51ec81d0) at kernel/qobject.cpp:3080 #18 0x00002b2e58f6dc2e in QSignalMapper::mapped (this=0xa18228, _t1=4) at .moc/debug-shared/moc_qsignalmapper.cpp:93 #19 0x00002b2e58f6dcd4 in QSignalMapper::map (this=0xa18228, sender=0xa2f2e0) at kernel/qsignalmapper.cpp:277 #20 0x00002b2e58f6ddad in QSignalMapper::map (this=0xa18228) at kernel/qsignalmapper.cpp:268 #21 0x00002b2e58f6df01 in QSignalMapper::qt_metacall (this=0xa18228, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff51ec83b0) at .moc/debug-shared/moc_qsignalmapper.cpp:80 #22 0x00002b2e58f673ab in QMetaObject::activate (sender=0xa2f2e0, from_signal_index=29, to_signal_index=30, argv=0x7fff51ec83b0) at kernel/qobject.cpp:3007 #23 0x00002b2e58f675bd in QMetaObject::activate (sender=0xa2f2e0, m=0x2b2e5f280820, from_local_signal_index=2, to_local_signal_index=3, argv=0x7fff51ec83b0) at kernel/qobject.cpp:3100 #24 0x00002b2e5ee60e97 in QAbstractButton::clicked (this=0xa2f2e0, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185 #25 0x00002b2e5ebd92cd in QAbstractButtonPrivate::emitClicked (this=0xa2e7f0) at widgets/qabstractbutton.cpp:543 #26 0x00002b2e5ebda39f in QAbstractButtonPrivate::click (this=0xa2e7f0) at widgets/qabstractbutton.cpp:536 #27 0x00002b2e5ebda602 in QAbstractButton::mouseReleaseEvent (this=0xa2f2e0, e=0x7fff51ec8eb0) at widgets/qabstractbutton.cpp:1112 #28 0x00002b2e5e8df2d0 in QWidget::event (this=0xa2f2e0, event=0x7fff51ec8eb0) at kernel/qwidget.cpp:6927 #29 0x00002b2e5ebd9277 in QAbstractButton::event (this=0xa2f2e0, e=0x7fff51ec8eb0) at widgets/qabstractbutton.cpp:1074 #30 0x00002b2e5ec7fa7b in QPushButton::event (this=0xa2f2e0, e=0x7fff51ec8eb0) at widgets/qpushbutton.cpp:658 #31 0x00002b2e5e885da7 in QApplicationPrivate::notify_helper (this=0x650270, receiver=0xa2f2e0, e=0x7fff51ec8eb0) at kernel/qapplication.cpp:3772 #32 0x00002b2e5e886999 in QApplication::notify (this=0x7fff51ecbb10, receiver=0xa2f2e0, e=0x7fff51ec8eb0) at kernel/qapplication.cpp:3501 #33 0x00002b2e59aeacaa in KApplication::notify (this=0x7fff51ecbb10, receiver=0xa2f2e0, event=0x7fff51ec8eb0) at /home/george/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #34 0x00002b2e58f52a26 in QCoreApplication::notifyInternal ( this=0x7fff51ecbb10, receiver=0xa2f2e0, event=0x7fff51ec8eb0) at kernel/qcoreapplication.cpp:583 #35 0x00002b2e5ab3efcb in QCoreApplication::sendSpontaneousEvent ( receiver=0xa2f2e0, event=0x7fff51ec8eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #36 0x00002b2e5e88a5ed in QApplicationPrivate::sendMouseEvent ( receiver=0xa2f2e0, event=0x7fff51ec8eb0, alienWidget=0xa2f2e0, nativeWidget=0x7fff51ec9d90, buttonDown=0x2b2e5f29aa28, lastMouseReceiver=@0x2b2e5f29aa30) at kernel/qapplication.cpp:2766 #37 0x00002b2e5e8fe253 in QETWidget::translateMouseEvent ( this=0x7fff51ec9d90, event=0x7fff51ec9960) at kernel/qapplication_x11.cpp:4133 #38 0x00002b2e5e8fbc59 in QApplication::x11ProcessEvent (this=0x7fff51ecbb10, event=0x7fff51ec9960) at kernel/qapplication_x11.cpp:3133 #39 0x00002b2e5e927327 in x11EventSourceDispatch (s=0x653a00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #40 0x00002b2e601c7e92 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #41 0x00002b2e601cb146 in Q3ListView::drawContentsOffset () at itemviews/q3listview.cpp:2782 #42 0x00002b2e601cb5df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #43 0x00002b2e58f80b8c in QEventDispatcherGlib::processEvents (this=0x64c9e0, flags=@0x7fff51ec9c00) at kernel/qeventdispatcher_glib.cpp:325 #44 0x00002b2e5e926b6f in QGuiEventDispatcherGlib::processEvents ( this=0x64c9e0, flags=@0x7fff51ec9c60) at kernel/qguieventdispatcher_glib.cpp:204 #45 0x00002b2e58f4fb54 in QEventLoop::processEvents (this=0x7fff51ec9d20, flags=@0x7fff51ec9cc0) at kernel/qeventloop.cpp:149 #46 0x00002b2e58f4fd50 in QEventLoop::exec (this=0x7fff51ec9d20, flags=@0x7fff51ec9d30) at kernel/qeventloop.cpp:196 #47 0x00002b2e5ecfdec6 in QDialog::exec (this=0x7fff51ec9d90) at dialogs/qdialog.cpp:453 #48 0x00002b2e5afc31f3 in KDirSelectDialog::selectDirectory ( startDir=@0x7fff51ec9eb0, localOnly=true, parent=0x737710, caption=@0x7fff51ec9ea0) at /home/george/kde/src/KDE/kdelibs/kfile/kdirselectdialog.cpp:386 #49 0x00002b2e65e55c52 in KFileModule::selectDirectory (this=0xa19a70, startDir=@0x7fff51ec9eb0, localOnly=true, parent=0x737710, caption=@0x7fff51ec9ea0) at /home/george/kde/src/KDE/kdelibs/kfile/kfilemodule.cpp:53 #50 0x00002b2e5a08f2f9 in KFileDialog::getExistingDirectory ( startDir=@0x7fff51ec9eb0, parent=0x737710, caption=@0x7fff51ec9ea0) at /home/george/kde/src/KDE/kdelibs/kio/kfile/kfiledialog.cpp:318 #51 0x000000000041b400 in KfindTabWidget::getDirectory (this=0x737710) at /home/george/kde/src/KDE/kdebase/apps/kfind/kftabdlg.cpp:774 #52 0x000000000041c4f0 in KfindTabWidget::qt_metacall (this=0x737710, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff51eca0a0) at /home/george/kde/build/KDE/kdebase/apps/kfind/kftabdlg.moc:76 #53 0x00002b2e58f673ab in QMetaObject::activate (sender=0x757e30, from_signal_index=29, to_signal_index=30, argv=0x7fff51eca0a0) at kernel/qobject.cpp:3007 #54 0x00002b2e58f675bd in QMetaObject::activate (sender=0x757e30, m=0x2b2e5f280820, from_local_signal_index=2, to_local_signal_index=3, argv=0x7fff51eca0a0) at kernel/qobject.cpp:3100 #55 0x00002b2e5ee60e97 in QAbstractButton::clicked (this=0x757e30, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185 #56 0x00002b2e5ebd92cd in QAbstractButtonPrivate::emitClicked (this=0x730550) at widgets/qabstractbutton.cpp:543 #57 0x00002b2e5ebda39f in QAbstractButtonPrivate::click (this=0x730550) at widgets/qabstractbutton.cpp:536 #58 0x00002b2e5ebda602 in QAbstractButton::mouseReleaseEvent (this=0x757e30, e=0x7fff51ecaba0) at widgets/qabstractbutton.cpp:1112 #59 0x00002b2e5e8df2d0 in QWidget::event (this=0x757e30, event=0x7fff51ecaba0) at kernel/qwidget.cpp:6927 #60 0x00002b2e5ebd9277 in QAbstractButton::event (this=0x757e30, e=0x7fff51ecaba0) at widgets/qabstractbutton.cpp:1074 #61 0x00002b2e5ec7fa7b in QPushButton::event (this=0x757e30, e=0x7fff51ecaba0) at widgets/qpushbutton.cpp:658 #62 0x00002b2e5e885da7 in QApplicationPrivate::notify_helper (this=0x650270, receiver=0x757e30, e=0x7fff51ecaba0) at kernel/qapplication.cpp:3772 #63 0x00002b2e5e886999 in QApplication::notify (this=0x7fff51ecbb10, receiver=0x757e30, e=0x7fff51ecaba0) at kernel/qapplication.cpp:3501 #64 0x00002b2e59aeacaa in KApplication::notify (this=0x7fff51ecbb10, receiver=0x757e30, event=0x7fff51ecaba0) at /home/george/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #65 0x00002b2e58f52a26 in QCoreApplication::notifyInternal ( this=0x7fff51ecbb10, receiver=0x757e30, event=0x7fff51ecaba0) at kernel/qcoreapplication.cpp:583 #66 0x00002b2e5ab3efcb in QCoreApplication::sendSpontaneousEvent ( receiver=0x757e30, event=0x7fff51ecaba0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #67 0x00002b2e5e88a5ed in QApplicationPrivate::sendMouseEvent ( receiver=0x757e30, event=0x7fff51ecaba0, alienWidget=0x757e30, nativeWidget=0x7fff51ecba90, buttonDown=0x2b2e5f29aa28, lastMouseReceiver=@0x2b2e5f29aa30) at kernel/qapplication.cpp:2766 #68 0x00002b2e5e8fe253 in QETWidget::translateMouseEvent ( this=0x7fff51ecba90, event=0x7fff51ecb650) at kernel/qapplication_x11.cpp:4133 #69 0x00002b2e5e8fbc59 in QApplication::x11ProcessEvent (this=0x7fff51ecbb10, event=0x7fff51ecb650) at kernel/qapplication_x11.cpp:3133 #70 0x00002b2e5e927327 in x11EventSourceDispatch (s=0x653a00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #71 0x00002b2e601c7e92 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #72 0x00002b2e601cb146 in Q3ListView::drawContentsOffset () at itemviews/q3listview.cpp:2782 #73 0x00002b2e601cb5df in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #74 0x00002b2e58f80b8c in QEventDispatcherGlib::processEvents (this=0x64c9e0, flags=@0x7fff51ecb8f0) at kernel/qeventdispatcher_glib.cpp:325 #75 0x00002b2e5e926b6f in QGuiEventDispatcherGlib::processEvents ( this=0x64c9e0, flags=@0x7fff51ecb950) at kernel/qguieventdispatcher_glib.cpp:204 #76 0x00002b2e58f4fb54 in QEventLoop::processEvents (this=0x7fff51ecba10, flags=@0x7fff51ecb9b0) at kernel/qeventloop.cpp:149 #77 0x00002b2e58f4fd50 in QEventLoop::exec (this=0x7fff51ecba10, flags=@0x7fff51ecba20) at kernel/qeventloop.cpp:196 #78 0x00002b2e5ecfdec6 in QDialog::exec (this=0x7fff51ecba90) at dialogs/qdialog.cpp:453 #79 0x000000000041a9b8 in main (argc=1, argv=0x7fff51ecc158) at /home/george/kde/src/KDE/kdebase/apps/kfind/main.cpp:56 #0 0x00002b2e5facb060 in nanosleep () from /lib64/libc.so.6
Here (KDE4.1.3 in ArchLinux x86_64): the "/" entry isn't in the directories list, so I can't select it to reproduce this bug. Also If I write "/" in the textbox at the bottom of the select directory dialog, and click OK, no crash occurs and "Look at" displays "/". Can anyone confirm this behaviour? Should this bug be closed ?
Yes this bug should be closed. I have verified on arch linux x86 with kdemod unstable (KDE 4.1.80). I can perform searches in "/", without any problems now.
*** Bug 173576 has been marked as a duplicate of this bug. ***
*** Bug 170391 has been marked as a duplicate of this bug. ***