[Bug 60543] New: Infinite loop on Find

Jon Smirl jonsmirl at yahoo.com
Mon Jun 30 18:25:09 UTC 2003


------- 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=60543     
           Summary: Infinite loop on Find
           Product: kdevelop
           Version: CVS
          Platform: RedHat RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: jonsmirl at yahoo.com


Version:           CVS (using KDE KDE 3.1)
Installed from:    RedHat RPMs

I entered a find string in the dialog and infinite looped. As far as I could tell there was nothing unusual about my search. Just a fixed string of alpha characters.

I broke into the loop with the debugger, but I didn't have source for all the libs on the machine. It looked like KoFind was looping calling QString:find.

[New Thread 1096311936 (LWP 4291)]
[New Thread 1116949808 (LWP 4306)]
0x41025941 in QString::find(QString const&, int, bool) const () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#0  0x41025941 in QString::find(QString const&, int, bool) const () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#1  0x41e909bd in KoFind::find(QString const&, QString const&, int, long, int*) () from /opt/kde3/lib/kde3/libqeditorpart.so
#2  0x41e90843 in KoFind::find(QString const&, QRect const&) () from /opt/kde3/lib/kde3/libqeditorpart.so
#3  0x41eab0c5 in QEditorView::process(QString const&) () from /opt/kde3/lib/kde3/libqeditorpart.so
#4  0x41eaa999 in QEditorView::find_real(QTextParagraph*, int, QTextParagraph*, int) () from /opt/kde3/lib/kde3/libqeditorpart.so
#5  0x41eaa635 in QEditorView::proceed() () from /opt/kde3/lib/kde3/libqeditorpart.so
#6  0x41eaae02 in QEditorView::doFind() () from /opt/kde3/lib/kde3/libqeditorpart.so
#7  0x41eac86c in QEditorView::qt_invoke(int, QUObject*) () from /opt/kde3/lib/kde3/libqeditorpart.so
#8  0x40da90c9 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#9  0x40da8f6d in QObject::activate_signal(int) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#10 0x407d7c7b in KAction::activated() () from /usr/lib/libkdeui.so.4
#11 0x407c910f in KAction::slotActivated() () from /usr/lib/libkdeui.so.4
#12 0x407d7e81 in KAction::qt_invoke(int, QUObject*) () from /usr/lib/libkdeui.so.4
#13 0x40da90c9 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#14 0x40da8f6d in QObject::activate_signal(int) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#15 0x40a103eb in KAccelPrivate::menuItemActivated() () from /usr/lib/libkdecore.so.4
#16 0x40a0ec21 in KAccelPrivate::eventFilter(QObject*, QEvent*) () from /usr/lib/libkdecore.so.4
#17 0x40da6dee in QObject::activate_filters(QEvent*) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#18 0x40da6d11 in QObject::event(QEvent*) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#19 0x40ddcf8c in QWidget::event(QEvent*) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#20 0x40e83ae2 in QMainWindow::event(QEvent*) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#21 0x40d4af24 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#22 0x40d4aab7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#23 0x409a91e9 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdecore.so.4
#24 0x40a0dc51 in KAccelEventHandler::x11Event(_XEvent*) () from /usr/lib/libkdecore.so.4
#25 0x409ae15f in KApplication::x11EventFilter(_XEvent*) () from /usr/lib/libkdecore.so.4
#26 0x40ce5458 in qt_set_x11_event_filter(int (*)(_XEvent*)) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#27 0x40cee76e in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#28 0x40d03bda in QEventLoop::processEvents(unsigned) () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#29 0x40d5ecf6 in QEventLoop::enterLoop() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#30 0x40d5eb98 in QEventLoop::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#31 0x40d4b151 in QApplication::exec() () from /usr/lib/qt-3.1/lib/libqt-mt.so.3
#32 0x0806cfd3 in main ()
#33 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6




More information about the KDevelop-devel mailing list