Recent

Author Topic: PascalScript - Create objects from script  (Read 1369 times)

kapibara

  • Hero Member
  • *****
  • Posts: 656
PascalScript - Create objects from script
« on: January 14, 2017, 04:59:25 pm »
Is creating objects within a script supposed to work under Linux 64 ? I get a SIGSEG on all attempts to call a constructor of any class.

Two years ago I wrote a functional app using Lazarus 1.4 and Windows 7 64bit. If I recompile that code now with Laz 1.6.2 under Debian 64 the script crashes with SIGSEG when calling any constructor. If the objects are created within the main program it works to access and use them from the script though.

Installing the GITHub version didn't change the behaviour.

So why doesn't it work to call constructors anymore?
« Last Edit: January 14, 2017, 05:24:43 pm by kapibara »
Lazarus trunk / fpc 3.2.2 / Kubuntu 24.04 - 64 bit

 

TinyPortal © 2005-2018