
Bug in FixInsight_2015.11upd5 Command Line
The following Bug was introduced in upd4 or upd5. upd3 works fine. Today I finally found time to check what happens. Only command line, the IDE integration is not affected.
Consider the following simple program:
program MyProg; uses MyModule; // MyModule in 'MyModule.pas'; begin end.
Running the command line on the above file is ok and produces the following log:
20.01.2016 12:28:49 Command line tool started 20.01.2016 12:28:49 GetProjectFileList 20.01.2016 12:28:49 ReadFileToBuffer: MyProg.dpr 20.01.2016 12:28:49 Size: 88 20.01.2016 12:28:49 Encoding: 1252 (ANSI - Lateinisch I) 20.01.2016 12:28:49 AllocateBuffer[Addr: 2776F30, Size: 178] 20.01.2016 12:28:49 FreeBuffer[Addr: 2776F30] 20.01.2016 12:28:49 MyModule.pas 20.01.2016 12:28:49 20.01.2016 12:28:49 Run analysis 20.01.2016 12:28:49 Looking at MyModule.pas 20.01.2016 12:28:49 Skipping... 20.01.2016 12:28:49 Parser errors not found 20.01.2016 12:28:49 ExitCode = 0
If you comment out the first "mymodule" line and remove the comment from the second, the command line fails and produces the follwing log:
20.01.2016 12:29:12 Command line tool started
20.01.2016 12:29:12 GetProjectFileList
20.01.2016 12:29:12 ReadFileToBuffer: MyProg.dpr
20.01.2016 12:29:12 Size: 88
20.01.2016 12:29:12 Encoding: 1252 (ANSI - Lateinisch I)
20.01.2016 12:29:12 AllocateBuffer[Addr: 2666F30, Size: 178]
20.01.2016 12:29:12 FreeBuffer[Addr: 2666F30]
20.01.2016 12:29:12 Parser Error: Invalid pointer operation
20.01.2016 12:29:12 Failed to parse MyProg.dpr
20.01.2016 12:29:12 ExitCode = 2
It doesn't matter, if MyModule.pas exists or not. The crash obviously occured on a well hung project of ours, where all files exist.
Answer

Boo, why did userecho destroy my markup and why can't I edit my own issue?
The last working version for me was upd2. I haven't checked upd3 or upd4.
Here's the program again:
program MyProg; uses MyModule; // MyModule in 'MyModule.pas'; begin end.

Hi Lübbe, this issue is fixed in upd6 which is available to download from the website. That was an accidental regression after parser refactoring. But good news is that now it works faster :)

Thanks for the quick reply Roman,
on the Website's download section it's not obvious what the current release is. You have to hover over the download button to see that it is update 6 right now. Could you please place this information near the download button or in the last paragraph of the "what's new" section?
I really didn't notice that there was a newer version than upd5 available. Otherwise I would have just installed the latest version and probably not written this report... :)
Customer support service by UserEcho
Hi Lübbe, this issue is fixed in upd6 which is available to download from the website. That was an accidental regression after parser refactoring. But good news is that now it works faster :)