Hi again, the crash on CTRL-F9 occurs in the same way as soon as I start lazarus using the old confguration directory. It's the one active when the error first happend. The files in ~/.lazarus/ are visibly OK, formally correct XML most of them.
Lacking time and need I did nothing but moving the configuration out of the way making anything work but running programs. Compiling works OK but when started hitting the button with the green arrowhead or typing F9 there is a debugger error popping up, see attached picture. Somthing is really fishy in the installation. What can I do now to find the cause of those errors? In the end I will erase anything and restore from backup, but I think searching the cause is a good idea. On Fr, 2016-01-29 at 21:10 +0100, Marc Santhoff wrote: > Hi, > > I really had some bad luck today. When starting Lazarus it worked > normally first. Then I created a new unit, saved it having an > appropriate name, typed in a class definition without any fields or > methods and Hit CTRL-F9. That was the moment when my computer freezed > for a while, say 30 seconds, and rebooted. > > Afterwards Lazarus' configuration was hosed, the open projects .lpi was > unreadable, .lpi.bak, .lpr and .lpr.bak were zero length. The file > system had a lot of errors. > > I think the crash could be triggered by the fact that I have a new, > freshly cleaned and compiled Lazarus 1.4.4 and fpc 3.0.0 because I had > to upgrade the compiler lastly for some reason. The projects object > files may be new or old, but some other dependencies will relatively > sure be old files from fpc 2.6.4. > > OK, shit happens, but I wished there would be less destruciton in work > files. It is possible to care for keeping files, I know since I had to > program a system prone to spontaneous reboots to keep files under any > circumstances and in the end it worked. > > I had sth. similar once when running the debugger quite often and having > to stop in the middle of the program for a source change. That made my > computer fail similarly, destroying files. > > Where in Lazarus sources are the spots handling file opening and saving > when hitting CTRL-F9? Or do I need to look at the compiler, too? > > And, maybe someone having enough knowledge can explain a bit aournd > these spot? > > TIA, > Marc > -- Marc Santhoff <[email protected]>
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
