project Application hangs on second compile and run .... lazarus / 15-macOS - Mac OS X ---------------------------------------------------------------------- Donoss · 2012-04-23 09:26 Hi, I new to Lazarus so please bear with me! I'm running on OS X Lion.  I've created a simple form and when I compile and run all is OK, however the second time I try to run the form it hangs.  If I try to stop the running app it won't abort, the only option I have is to force quit Lazarus. Any pointers will be much appreciated. Many thanks Andy ---------------------------------------------------------------------- jwdietrich · 2012-05-13 11:45 It is necessary to isolate the problem. Do your observations also apply to the demo programs that come with Lazarus? ---------------------------------------------------------------------- Martin_fr · 2012-05-13 11:57 Which version of Lazarus and FPC do you use? 32 or 64 bit CPU? Run   gdb   on the command line, and see what version it reports. Afaik Apple still ships GDB 6.3.50. There are some known (and probably still some unknown) problems with that. Try to "Reset the debugger" (Menu "Run") between runs. Lazarus from the snapshot page (fixes 0.9.31) has an option under Tools > Options > Debugger, and can automatically do that. Also, if the issue is still present on the fixes branch, please supply the log, and debug output as described here: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debu g_session