Version: HEAD 040608 (using KDE KDE 3.2.1) Installed from: SuSE RPMs Compiler: gcc, cpp (GCC) 3.3.3 (SuSE Linux) OS: Linux Opening an *.ui file when there is another *.ui file beeing edited leads to heavy cpu load and harddisk noise. A few seconds later kdevelop closes. Unsaved changes get lost. No stack trace, no error messages.
Verified.
CVS commit by dagerbo: When there is already a kdevdesigner part loaded, the "old msghandler" is actually the same as the one of the current part due to it being a static function. Avoid recursively calling self and eventually crash, instead just let the error through to stderr CCMAIL: 83227-done@bugs.kde.org M +1 -1 outputwindow.cpp 1.2 --- kdevelop/kdevdesigner/designer/outputwindow.cpp #1.1:1.2 @@ -99,5 +99,5 @@ static void debugMessageOutput( QtMsgTyp if ( debugoutput && debugoutput->isVisible() ) debugoutput->append( s ); - else if ( OutputWindow::oldMsgHandler ) + else if ( OutputWindow::oldMsgHandler && OutputWindow::oldMsgHandler != debugMessageOutput ) (*OutputWindow::oldMsgHandler)( type, msg ); else