source with "generic", it fails to compile after the first successfully
Original Reporter info from Mantis: Phoenix
-
Reporter name:
Original Reporter info from Mantis: Phoenix
- Reporter name:
Description:
This is the error message when it fails (64bit -o1):
Hint: (11030) Start of reading config file C:\lazarus\fpc\3.0.4\bin\x86_64-win64\fpc.cfg
Hint: (11031) End of reading config file C:\lazarus\fpc\3.0.4\bin\x86_64-win64\fpc.cfg
Free Pascal Compiler version 3.0.4 [2019/10/27] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Win64 for x64
(3104) Compiling project1.lpr
(3104) Compiling unit2.pas
(3104) Compiling unit3.pas
C:\Users\Phoenix\Desktop\test generic\unit3.pas(20,11) Hint: (5028) Local type "MyNode" is not used
Fatal: (1018) Compilation aborted
An unhandled exception occurred at $000000010003A13F:
EAccessViolation: Access violation<br/>
$000000010003A13F
$0000000100097E0C
$000000010012D95A
$0000000100023855
$000000010012DC22
$000000010017326A
$0000000100173BBB
$00000001001730FD
$000000010003D01A
$0000000100167CB7
$000000010016712B
$0000000100167A36
$0000000100167343
$0000000100167A36
$0000000100171DE1
$0000000100175EC2
$000000010003D064
Error: C:\lazarus\fpc\3.0.4\bin\x86_64-win64\ppcx64.exe returned an error exitcode
Steps to reproduce:
- open the lazarus project from the original folder
- from the menu: run -> compile
(result success: 167 lines compiled, 1.1 sec, 1693632 bytes code, 120100 bytes data)
- from the menu: run -> compile
(Fatal: Compilation aborted)
note: if I use "compile" it continues to fail always while if I use "build" the exe is created
Additional information:
I used: Laz. x86_64-win64-win32/win64 Date: 2019-12-12
I restarted the computer so that I had "clean" memory before doing the test
I have reduced the code to a minimum to reproduce it because the original source is huge. The only difference is that in the complete program the "build" also fails. The only way that allows me to be able to continue and avoid using TMySort inside TMyArray.
Thanks for your work!!
Mantis conversion info:
- Mantis ID: 36559
- OS: Windows Home 64bit
- OS Build: 10
- Build: Laz.2.0.6 SVN Rev.62129
- Platform: Intel i7-6700HQ RAM8GB
- Version: 3.0.4
- Monitored by: » Phoenix (Phoenix)