[fpc-devel] r45217 breaks Lazarus compile
pascaldragon at googlemail.com
Sun May 3 23:13:00 CEST 2020
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
>> 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.)
> 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...
More information about the fpc-devel