Am 03.05.2020 um 22:51 schrieb C Western:
On 03/05/2020 20:59, C Western wrote:
On 02/05/2020 10:36, C Western wrote:
Compiling Lazarus trunk with the latest fpc:
components/ideintf/propedits.pp(6019,28) Fatal: Internal error
200709171
Colin
Seems now to be fixed in a recent update. However my program now
crashes on exit in CSetThreadDebugNameA. (Why is this called on exit?
I don't think I create any threads on exit. This is Linux x86_64.)
Colin
To answer my own question, it seems that pthread_setname_np, and thus
CSetThreadDebugNameA must not be called with a null string.
I have added protections against empty strings in r45237, though I would
be quite curious what already called TThread.NameThreadForDebugging
considering it was implemented only recently...
Regards,
Sven
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel