Version: 5.2.0.1 AND 5.2.0.2 x32 Protable
OS version: WinXP SP3
Error reported:
I encountered a problem when using Portable x32 version 5.2.0.1 AND 5.2.0.2 that is
when i save a program using class, the computer just hang but the txt file did update
(actually im new to C++ and i just wrote 1 program including class so far)
other programs(simple assignment, Calculating factorial) doesnt have this problem
Strangely I didnt have this problem on the other computer!
Please let me know if you need further information
Sorry for my poor english
Stack trace:
The program just hanged, didnt show anything, btw how can I get this information for you
Steps needed to reproduce the problem:
Save a program that uses class
Thanks in advance!
Diff:
All I can say at the moment is that I did encounter this hanging problem before, if really sporadically. However, I can't recall using classes though in the file saves that were affected.
Also, are you sure that 5.2.0.0 isn't affected?
Strangely, just that single file will make the Dev-C++ hang there....
I have tried to open that particular program(.cpp) on another computer, it works fine, no hanging while saving
I didnt try 5.2.0.0, the first version I use is 5.2.0.1
Are you sure your hard drive isn't to blame? Might it be possible that it's reallocating sectors, resulting in huge latencies?
It might be a wild guess, but in all cases I experienced this the file to be saved was located on an old drive with broken sectors. Also, the CPU is doing nothing while it hangs, probably waiting for the HDD to finish its job. Nothing is telling me some piece of code is failing. No exceptions. Nu huge CPU usage. Nothing.
I will run a test by HD Tune Pro to see if my hard drive is really corrupted or not
CPU usage is 100% while saving(as I refer to task manager)
I will keep you update
After a error scan by HD Tune Pro, it indicates that no error occurs.
chkdsk doesn't show any bad sector too.
Alright, time to get working on this, because more people are reporting this problem.
First off, can I have that file you were talking about?
Also, does this problem still exist when using Dev-C++ 5.2.0.3 or 5.3 RC1?
ok here is the file...
That particular computer that I have problem on is not on my hand right now
so I cant test Dev-C++ 5.2.0.3 or 5.3 RC1
Here is my thoughts. Sorry if i make anything wrong
I believe its hardware problem?
Since there wasnt any problem while I complie the file on another machine(its a C2D).
That computer is using a socket-775 Celeron CPU
Think its about the CPU cause its pretty old and not support as much instruction set as the new CPUs
Again, Sorry if i guess anything wrong
Hope it helps!
Hi, I have a similar problem: When I use
class someclass : public motherclass{...}
I get the same crash when trying to save the file, maybe when doing the parsing?
It does not happen with
class someclass{...}
(sorry if this is not the correct place to post this)
By the way I am using 5.3.0.2.
An update:
If I deactivate (uncheck) tools->editor->class browsing->enable class browser,
no problem occurs.
I've been testing a fix for this problem since 5.3.0.0, and I think I've found the cause. Can you test this patch for me?
Great! At least in my case and my tests, the patch seems to work properly.
Sorry for very very late reply,cuz i just get back on the comp. that have the problem.
The problem is now gone with 5.3.0.3!
I can save and complie without any problem
THANKS SO MUCH!!!!!
Last edit: Charles 2012-11-24