FPC trunk compiler raises EAccessViolation when compiling generics.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
See summary, attached log file and Additional Information for more info.
Excerpt from attached log:
---
Free Pascal Compiler version 2.7.1-r28884 [2014/10/20] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
(1001) Compiler OS: Linux for i386
(1002) Target OS: Linux for i386
(3104) Compiling adv_tiopf.pas
(3104) Compiling ./src/adv_tiopf_database_manager.pas
/mnt/uusi_ohjelmointi/32-bit/kielet/pascal/free_pascal/lazarus/projects/research/source 00/tiopf advanced components 00/component/advanced tiopf/./src/adv_tiopf_database_manager.pas(3,2) (2032) Handling switch "$MODE"
/mnt/uusi_ohjelmointi/32-bit/kielet/pascal/free_pascal/lazarus/projects/research/source 00/tiopf advanced components 00/component/advanced tiopf/./src/adv_tiopf_database_manager.pas(3,16) (2032) Handling switch "$H+"
(3104) Compiling ./src/adv_tiopf_database_manager.pas
/mnt/uusi_ohjelmointi/32-bit/kielet/pascal/free_pascal/lazarus/projects/research/source 00/tiopf advanced components 00/component/advanced tiopf/./src/adv_tiopf_database_manager.pas(3,2) (2032) Handling switch "$MODE"
/mnt/uusi_ohjelmointi/32-bit/kielet/pascal/free_pascal/lazarus/projects/research/source 00/tiopf advanced components 00/component/advanced tiopf/./src/adv_tiopf_database_manager.pas(3,16) (2032) Handling switch "$H+"
Fatal: (1018) CAn unhandled exception occurred at $080C1F20:
EAccessViolation: Access violation<br/>
$080C1F20 line 1530 of symdef.pas
$080F100C line 1325 of pgenutil.pas
$080EF9D4 line 791 of pgenutil.pas
$080EEBA1 line 382 of pgenutil.pas
$08167632 line 478 of ptype.pas
$08179249 line 544 of pdecobj.pas
$0817B22D line 1471 of pdecobj.pas
$081690B0 line 1732 of ptype.pas
$0816BC96 line 638 of pdecl.pas
$0816C863 line 876 of pdecl.pas
$0817FB43 line 2297 of psub.pas
$081E6306 line 880 of pmodules.pas
ompilation aborted
$081CFC58 line 368 of parser.pas
$081DD4A5 line 1734 of fppu.pas
$081DCB65 line 1439 of fppu.pas
$081DD244 line 1679 of fppu.pas
$081E5610 line 485 of pmodules.pas
Error: /mnt/source/free_pascal_and_lazarus/fpc/i386/trunk/binary/fpc_trunk/bin/i386-linux/ppc386 returned an error exitcode
---
Additional information:
Linux arch-server 3.16.4-1-ARCH #1 SMP PREEMPT Mon Oct 6 08:22:27 CEST 2014 x86_64 GNU/Linux
32-bit chroot.
GTK version 2.24.24
Lazarus 1.3 r46622 FPC 2.7.1 r28884 i386-linux-gtk 2
Lazarus was built with these options: -gw2 -godwarfsets -gl -O- -OoNO -Xs- -Si- -vb -dDBG_WITH_DEBUGGER_DEBUG
FPC was built with these options:
OPT=-gw2 -godwarfsets -gl -O- -OoNO -Xs- -Si- -vb
COMPILER_OPTIONS=-gw2 -godwarfsets -gl -O- -OoNO -Xs- -Si- -vb
INSTALL_PREFIX=/mnt/source/free_pascal_and_lazarus/fpc/i386/trunk/binary/fpc_trunk
UPXPROG=echo
IDE=1
REVSTR=28884
FPC=fpc
OS_TARGET=linux
CPU_TARGET=i386
Mantis conversion info:
- Mantis ID: 26922
- Fixed in version: 3.0.0
- Fixed in revision: 29172 (#fa1bc075)