#1 2019-09-20 14:18:45

ertank
Member
Registered: 2016-03-16
Posts: 168

Exception on Raspberry Pi 4 - SynCommons.pas

Hello,

I am using Lazarus 2.0.5, revision 61904M, fpc 3.2.0-beta revision 43036 on Raspberry Pi 4.

Today I installed everything on a fresh new system using fpcupdeluxe. Then I started testing my projects compilation for any missing components I may have forgotten. After compiling one of my projects, I tried to run it and I get an exception. Call stack is as following:

#0 GETENUMNAME(0xaee828, 6) at ../fpcupdeluxe/ccr/mORMot/SynCommons.pas:21101
#1 TOTEXT(OSARCH) at ../fpcupdeluxe/ccr/mORMot/SynCommons.pas:26054
#2 SETLINUXDISTRIB(0xf65238 'Raspbian GNU/Linux 10 (bu'...) at ../fpcupdeluxe/ccr/mORMot/SynCommons.pas:26242
#3 RETRIEVESYSTEMINFO at ../fpcupdeluxe/ccr/mORMot/SynCommons.pas:26320
#4 SYNCOMMONS_$$_init$ at :62578
#5 fpc_initializeunits at :0
#6 main at counter.lpr:20

It is GetEnumName() function in SynCommons.pas. This is commit version 1.18.5362 I am using.

Wondering if there is anything that I can do.

Thanks & regards,
Ertan

Offline

#2 2019-09-20 19:31:13

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Exception on Raspberry Pi 4 - SynCommons.pas

I sadly don't have any way of validating for ARM.

Could you retry with the latest mORMot version from today, and using Lazarus and FPC SVN revision documented:

Documentation wrote:

Download the latest release of the tool from https://github.com/LongDirtyAnimAlf/fpc … e/releases
Unpack it in a dedicated folder, and run its executable.
Click on the "Setup +" button, and enter the following revision numbers:

FPC trunk SVN 40491;
Lazarus trunk SVN 59757.

See https://synopse.info/files/html/Synopse … l#TITL_203

Offline

#3 2019-09-21 06:17:31

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: Exception on Raspberry Pi 4 - SynCommons.pas

I can confirm the ARM issues ... its all about alignment.
Will look into the problems if my times allows for it.

Offline

#4 2019-09-22 14:29:49

ertank
Member
Registered: 2016-03-16
Posts: 168

Re: Exception on Raspberry Pi 4 - SynCommons.pas

I suspect there is kind of a link with below fixed problem
https://synopse.info/forum/viewtopic.php?id=5015

Offline

Board footer

Powered by FluxBB