Version: unknown (using KDE 3.1.4) Installed from: (testing/unstable) Compiler: gcc version 3.3.2 20030908 (Debian prerelease) OS: Linux (i686) release 2.4.22-1-k7 Using packages from people.debian.org/~njordan : kdevelop_2.999-0cvs20031006_i386.deb step 1: make sure you are using the qteditor embedded text editor. step 2: open the file kdevelopcrashcode.cpp (can be found at http://users.pandora.be/sphinxmetal/kdevelopcrashcode.cpp) step 3: set the cursor within the function openDocument step 4: choose reformat source from the edit menu step 5: crash, looks like an infinite loop strange things: put the cursor at the beginning of the document and it works, as a matter of fact, put it outside the openDocument function and it works!
Created attachment 2727 [details] source file which crashes the source formatter
Works fine here (using qt3.2.2, KDEcvs and kdevelop-cvs) Which qt Version do you use? Can you provide a backtrace?
Subject: Re: qteditor source formatter crash i now tried those packages kdevelop3-data_3.0-00cvs20031021_all.deb kdevelop3-plugins_3.0-00cvs20031021_i386.deb kdevelop3_3.0-00cvs20031021_i386.deb but the same happens! My version information: $ kdevelop3 --version Qt: 3.2.1 KDE: 3.1.4 KDevelop: 3.0.0a7 A backtrace I don't know how to do this, I don't get the crash dialog, the app just hangs, it just doesn't respond anymore, I can't click on anything, which to me indicates it is in some infinite loop thing or so. this is what "top" gives me: 3733 tom 20 4 104m 33m 20m R 95.4 6.6 4:22.78 kdevelop3 you see it is busy doing something, it uses 95% of cpu... greetz Tom,
Again you do not specify you QT version.... Please do!
Sorry... I read the last comment unbelively fast and I missed your qt version :)
I have this error, too, with another c++-Source-Code.There seems to be an infinite loop. The tip, to put the cursor to the beginning og the document works. I use KDE-Develop Version 3.1.2 (KDE 3.3.2 Level "a" , unofficial build of SUSE ) Application Integrated Development Environment Operating System Linux (i686) release 2.4.21-99-athlon Compiler gcc version 3.3.1 (SuSE Linux)
Created attachment 14887 [details] source code that causes freeze I have this problem, too. The attached code freezes when the cursor is inside the class and above the private part. Suse 10.0 kdevelop 3.3.1 kde 3.5.1 Level "a" qt 3.3.5-28
QEditor has been removed for KDevelop 4 and none of these bugs will be fixed between now and then.