Lazarus
Programming => Operating Systems => Linux => Topic started by: DimTim on May 12, 2022, 06:17:53 am
-
In trunk version, when cthreads unit is used in a console Linux program, on the program termination an error message is shown, no matter whether threading was used or not; it's enough to include "cthreads" in uses clause:
free(): invalid pointer
Aborted
In stable version 2.2 all works OK.
Linux code was cross-compiled from Windows, tested on WSL and Raspberry Pi.
-
I can't reproduce this on Ubuntu 18.03/x86-64.
-
Is cthreads the first unit included in your console application?