Compiler crash, probably related to unit symbol checksum changes
Original Reporter info from Mantis: Adriaan van Os
-
Reporter name: Adriaan van Os
Original Reporter info from Mantis: Adriaan van Os
- Reporter name: Adriaan van Os
Description:
This is a compiler crash, probably related to unit symbol checksum changes, see PR 0012050 &LtPos;http://bugs.freepascal.org/view.php?id=12050>.
error: Compilation aborted
An unhandled exception occurred at $00128505 :
EAccessViolation : Access violation
$00128505
$0010722E
$00108507
$00108868
$00108B92
$00104CFD
$00107F0C
$000E3D21
$000F4835
$000F0CC9
$000E3D21
$000F4835
$00100414
$00101138
$000E3D21
$000F4835
$00100414
make: *** [compile_tool_compile] Error 217
When running ppc386 under GDB, I get
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00000000 in ?? ()
or
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000030
GEN_LOAD_RETURN_VALUE (LIST=0x59b9a60) at ncgutil.pas:1295
1295 if (ressym.refs>0) or (ressym.vardef.needs_inittable) then
This is with the latest FPC svn compiler, under Xcode 3.0 using a Makefile target. I am compiling on an Intel MacBookPro under Mac OS X 10.5.4.
I don't have a small testprogram that reproduces it, but I can send in the source code of the project that triggers the crash. Sory, I can send the source code by private email also (and on the condition that it stays confidential).
Additional information:
FPC trunk revision 11693.
Mantis conversion info:
- Mantis ID: 12058
- Version: 2.3.1
- Fixed in version: 2.6.0
- Fixed in revision: 14503 (#1743c6f1)