[fpc-devel] r45217 breaks Lazarus compile

C Western l at c-m-w.me.uk
Sun May 3 22:51:01 CEST 2020


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.

Colin



More information about the fpc-devel mailing list