[Lazarus] Major flaw with trunk and unit cases

Martin lazarus at mfriebe.de
Sat Nov 5 18:28:43 CET 2011

On 05/11/2011 17:19, David Emerson wrote:
> On Fri 4 Nov 2011, Andrew Brunner wrote:
>> Updated to todays Lazarus from svn/trunk and started work... Only to
>> have my entire project build folder nuked by DoOpenEditorFile fixing
>> case routine...
>> /Developer/Source/Linux/64 was transformed into a binary file and
>> wiped out all sub folders.  I had to rm 64 and restore  :-(
> This has happened to me several times. When it does, I find that lazarus creates
> a folder called "backups" and moves my entire project directory over there.
> I am using the following version (via Graeme's git repo): git-svn-id:
> http://svn.freepascal.org/svn/lazarus/trunk@32710
> 4005530d-fff6-0310-9dd1-cebe43e6787f
> I've observed it occurring when I am debugging an error, and I click on the call
> stack to access a file for which I don't have the source unit. Then the source
> editor shows ... I don't remember, maybe it's a binary, or assembler, or
> something-- I can't recall. Anyway, the style is wrong: the source editor is
> not using my fonts and colors. Then it crashes and my source folder is replaced
> by a binary, and the source folder moved to the backups folder (thank God for
> that!)
the backup is only created, if specified so in your option.

The callstack had a known issue with lines where the callstack does not 
know the source (shows an address and "??"). That part is fixed.

If it happens in other ways involving the callstack, then please provide 
more info

More information about the Lazarus mailing list