Compiler crashes on a generic record with an anonymous record field.
Original Reporter info from Mantis: avk @avk959
-
Reporter name: avk
Original Reporter info from Mantis: avk @avk959
- Reporter name: avk
Description:
The compiler crashes on "EAccessViolation: Access violation" exception when generic record type contains an anonymous record field:
Hint: (11030) Start of reading config file .../fpc/bin/x86_64-linux/fpc.cfg
Hint: (11031) End of reading config file .../fpc/bin/x86_64-linux/fpc.cfg
An unhandled exception occurred at $00000000004DF059:
EAccessViolation: Access violation
$00000000004DF059
Free Pascal Compiler version 3.3.1-r43687 [2019/12/15] for x86_64
Copyright (c) 1993-2019 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling test.lpr
.../test.lpr(42,4) Error: (1026) Compilation raised exception internally
Fatal: (1018) Compilation aborted
Error: .../fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
An example reproducing the error is attached.
Mantis conversion info:
- Mantis ID: 36446
- OS: Windows, Linux
- OS Build: w7, Ubuntu18.04
- Build: 43687
- Platform: x86, x86_64
- Version: 3.3.1
- Monitored by: » creaothceann (creaothceann)