Recent

Author Topic: Run error on binary compiled on Catalina after update to fpc trunk  (Read 284 times)

esvignolo

  • Full Member
  • ***
  • Posts: 149
  • Using FPC in Windows, Linux, Macos
Hi, I had the IDE and the compilation running after updating to Catalina. 5 days ago update with FPCUPDELUXE 1.6.2z and compile everything again with the trunk of fpc and lazarus.
Now the binaries that i generate do not run, if i run them from the console I have this error:

Abort trap: 6

Any ideas?

Thanks!

Thaddy

  • Hero Member
  • *****
  • Posts: 9183
Re: Run error on binary compiled on Catalina after update to fpc trunk
« Reply #1 on: October 23, 2019, 06:09:07 pm »
It means there are errors in your code: trap 6 is usually a memory access violation. I do not have that error on Catalina
Your code is possibly wrong.

Show us a small example that reproduces it.
Trunk does not mean anything without a revision number, by the way... So add that too.
« Last Edit: October 23, 2019, 06:20:31 pm by Thaddy »
also related to equus asinus.

esvignolo

  • Full Member
  • ***
  • Posts: 149
  • Using FPC in Windows, Linux, Macos
Re: Run error on binary compiled on Catalina after update to fpc trunk
« Reply #2 on: October 24, 2019, 02:55:47 pm »
Thanks Thaddy! I complete the information:

Actual and not working the app complied by:

Lazarus actual r62111
FPC Repository Root: https://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 43304
Node Kind: directory
Schedule: normal
Last Changed Author: mattias
Last Changed Rev: 43304
Last Changed Date: 2019-10-22 14:11:34 -0300 (Tue, 22 Oct 2019)

Working and compiled the same app by:

Lazarus Working r61826
Relative URL: ^/trunk
Repository Root: https://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 42949
Node Kind: directory
Schedule: normal
Last Changed Author: karoly
Last Changed Rev: 42949
Last Changed Date: 2019-09-08 10:55:19 -0300 (Sun, 08 Sep 2019)