Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-04

Lazarus Windows XP 32 - IDE hanging with CPU at 50%

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Brunner

FPC (Trunk) and Lazarus (Trunk) as of this am.

I'm debugging under XP (32bit) and I'm getting the same old hang I got under Linux a few weeks ago. When I run Lazarus.exe under gdb in command prompt I don't see any of the typical messages I did under Linux. I solved my linux problem by nuking all XML entries in the project file.

Further, I don't see any error messages but I suspect it's the CodeToolHelper object framework searching for an Include file that is present.

I am getting tired of killing the prompt, gdb, and restarting every 10
- 40 seconds here.

I built Lazarus with make clean debug. I see nothing in gdb. The IDE and all windows just goes white and unresponsive. CPU goes to 50%.

Any help would be greatly appreciated.

Reply by email

Paul Ishenin
to Andrew Brunner
Andrew Brunner wrote
I built Lazarus with make clean debug. I see nothing in gdb. The IDE and all windows just goes white and unresponsive. CPU goes to 50%. Any help would be greatly appreciated.

Please change \ide\include\ide.inc - uncomment there {$apptype console} directive.

Then rebuild IDE. You will see a console and probably some useful output there. Maybe some warning or error.

Best regards,
Paul Ishenin.

Reply by email

Andrew Brunner
to Paul Ishenin

Ok, (Thanks Paul),

uStorage.pas(799) Fatal: There were 2 errors compiling module, stopping ### TCodeToolManager.HandleException: "include file not found "RSRBuilder.inc"" at Line=16 Col=28 in "C:\Developer\Source\Libraries\uAppBuild.pas"

This is the EXACT same problem I had under Linux Ubuntu x64 10.04 daily. The ToolManager is throwing this error for my include and what ever happens next is infinite loop! This is a major pain here...

I browsed to the Inc file where the IDE had noticed the path was was not found in the Units (but was in the includes). I added the include file path to both includes and units and still crashes.

### TCodeToolManager.HandleException: "include file not found "RSRBuilder.inc"" at Line=16 Col=28 in "C:\Developer\Source\Libraries\uAppBuild.pas" [New thread 1180.0xc24]
[Switching to thread 1180.0xc24]
Quit (expect signal SIGINT when the program is resumed) (gdb) bt
#0 0x7c8106f9 in KERNEL32!CreateThread ()
from C:\WINDOWS\system32\kernel32.dll
Cannot access memory at address 0x124f914

Ok this is the first time I was able to get a trace on the issue. Someone wanna comment on where to look?

Paul Ishenin wrote 23 lines
16.04.2010 9:47, Andrew Brunner wrote: > I built Lazarus with make clean debug. ?I see nothing in gdb. ?The IDE > and all windows just goes white and unresponsive. ?CPU goes to 50%. > > Any help would be greatly appreciated. Please change \ide\include\ide.inc - uncomment there {$apptype console} directive. Then rebuild IDE. You will see a console and probably some useful output there. Maybe some warning or error. Best regards, Paul Ishenin. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email