Lazarus
Programming => General => Topic started by: incendio on June 17, 2019, 06:14:55 am
-
Hi guys,
I am not sure if this is the right forum to post my message. Please move it to the right one if this is not the right place.
Here is the problem.
On Multithread programming, a called to TSQLConnector.Open while in Step Over Mode (F8 pressed) will raised an error
The file build/glibc-otsel5/glibc-2.27/elf/dl-error-skeleton.c was not found.
Without Step Over, app runs fine. Have tried with IBX component, raised the same error.
Without Multithread, this called in Step Over mode runs fine.
I am not sure, but in MultiThread, on project file there is a use of cthreads, may be this is the caused of the problem.
I tried this on Lazarus 2.0.2, in Linux Mint 19.1, and a connection to Firebird database.
-
I'm more surprised, that it worked in single-thread.
The single-stepping onto the open-command of any TSQLConnection has always thrown that error to me.
I "solved" it (read: workaround) by setting a breakpoint directly after the open-command, and the line before the open-command i hit "run"
-
Are you using Lazarus 2.0.2?
Last time I checked, on single thread, it worked fine
The code are very simple
TSQLConn.Open;
Showmessage('ok');
-
Yeah, LAZ202/FPC304