You are not logged in.
Pages: 1
Hello,
I am using Lazarus 2.0.3, (fixes 2.0) revision 61198, fpc 3.2.0-beta-r42099 (fixes 3.2), mORMot commit 1.18.5222 OS is Raspbian. Everything is updated and upgraded as of today.
I have a SIGSEGV in SynCommons.pas and remark says
// FPC compatibility: if you have a GPF here at startup, your 3.1 trunk
// revision seems older than June 2016
// -> enable HASDIRECTTYPEINFO conditional below $ifdef VER3_1 in Synopse.inc
// or in your project's options
One thing I would like to understand is my fpc version is 3.2 and newer than June 2016. So, why do I still get a segfault?
Also, I never enabled a conditional in my project's options. I very much appreciate menus to follow here.
Thanks & regards,
Ertan
Offline
Confirmed.
Reproduceable on ARM.
Not reproduceable on Windows.
Will look into it.
Offline
Would you mind trying this.
In SynFPCTypInfo, line 182.
Replace
Dec(PtrUInt(result),SizeOf(pointer));
with
Dec(PtrUInt(result),2*SizeOf(pointer));
Offline
That seemingly working at first glance. But, I need to do some more test as I still get SIGSEGV further in the application. It just doesn't stop in any code line.
Will report in here once I figure what else is going wrong.
Offline
Hi Ab,
I have created a pull with some changes for Linux ARM.
Please review !
Offline
Hi Ab,
Another small (but very necessary) ARM fix. See comment.
Offline
Pages: 1