[fpc-pascal] Access Violation on second compile with FPC Text IDE

Vojtěch Čihák vojtech.cihak at atlas.cz
Thu Nov 12 22:21:02 CET 2020

look at this bugreport. I reported it as a Lazarus issue but now it looks like FPC trunk issue.
Vojtech aka Blaazen
> Od: "C Western via fpc-pascal" <fpc-pascal at lists.freepascal.org>
> Komu: fpc-pascal at lists.freepascal.org
> Datum: 12.11.2020 09:30
> Předmět: Re: [fpc-pascal] Access Violation on second compile with FPC Text IDE
On 11/11/2020 22:26, James Richters via fpc-pascal wrote:
 > I'm suddenly getting an access violation when compiling after a file changed with the FPC text IDE:
 > Recompiling because of I:\Programming\Gcode\Mill\pastep.pas
 > sysinit.pp(0) Error: Compilation raised exception internally
 > Error: Compiler exited
 > Error: Access violation
 > I haven't changed anything as far as FPC goes, and I'm using the same procedure I always have.. I make my edits in notepad++ then go to the text IDE and compile it.. it detects which files changed and re-compiles those.. it normally works fine, but now I am always getting this.  I restart the text IDE and compile it and run it and it's fine.. no problems, I make even a minor change, and try to re-compile it and bam I get this access violation error.  Does anyone know what this error actually means or how to track it down?
Is this with a recent trunk? I have started seeing this recently; an 
 interface change in one unit causes a crash when compiling another unit. 
 The workaround is to force recompilation of everything, which I do by 
 deleting all the compiled files for the program. It is tricky to report 
 as a bug, as it is intermittent, and I have only seen it on a large program.
 fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
 https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal <https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20201112/60570817/attachment.htm>

More information about the fpc-pascal mailing list