[fpc-pascal] FP.exe error in x86_64-Win64
James Richters
james at productionautomation.net
Fri Aug 9 03:15:59 CEST 2019
I tried using fpcupdeluxe to compile x86_64-win64 - Trunk, I was then able to compile 64bit programs with the text IDE. I guess the problem was already fixed at some point.
James
From: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> On Behalf Of Jean SUZINEAU
Sent: Wednesday, August 7, 2019 7:00 PM
To: fpc-pascal at lists.freepascal.org
Subject: Re: [fpc-pascal] FP.exe error in x86_64-Win64
Hello, I reproduced the problem.
I run fpcupdeluxe x86_64-win64-win32, this is the log of what I've done:
button Setup+, Options Override, FPC options -gw, then click OK, then click FPC Only
After recompilation by fpcupdeluxe:
Open cmd, cd to fpcupdeluxe\fpc\bin\x86_64-win64
gdb.exe fp.exe
set new-console
run
Open a program and try to compile it.
Screenshot of gdb:
(gdb) set win32 new-console on
No symbol "win32" in current context.
(gdb) set new-console on
(gdb) run
Starting program: E:\fpcupdeluxe\fpc\bin\x86_64-win64/fp.exe
[New Thread 24056.0x4d64]
[New Thread 24056.0x12c0]
[New Thread 24056.0x632c]
[New Thread 24056.0x6344]
[New Thread 24056.0x59c]
[New Thread 24056.0x3ca8]
Program received signal SIGSEGV, Segmentation fault.
fpc_shortstr_to_shortstr (RES=..., highRES=255, SSTR=Cannot access memory at address 0x3e2110
) at ../inc/generic.inc:867
867 slen:=length(sstr);
(gdb) bt
#0 fpc_shortstr_to_shortstr (RES=..., highRES=255, SSTR=Cannot access memory at address 0x3e2110
) at ../inc/generic.inc:867
#1 0x00000000006dfc10 in ?? ()
#2 0x0000000000000000 in ?? ()
(gdb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190808/119973e9/attachment.html>
More information about the fpc-pascal
mailing list