Re: [fpc-devel] double free of internal temp string with fpc 3.2.0

2021-01-09 Thread Martin Frb via fpc-devel
On 08/01/2021 17:11, Martin Frb via fpc-devel wrote: I only tested with 3.2.0 so far. Maybe someone recalls if this is fixed or not. Also because it seems to happen only in very rare conditions, it may be that trunk does not cause it in this place even if the bug is not yet fixed. (as other c

Re: [fpc-devel] double free of internal temp string with fpc 3.2.0

2021-01-08 Thread baldzhang via fpc-devel
I have the same problem after upgrade to 3.2.0, 3.0.4 is all good. In my program, when free a TStringList that used in a thread, exception occurs in 80%~90% time. I try to finger out what happening and got fpc_ansistr_decr_ref calling FreeMem then got wrong memory. The program was x86-64 on Wind

[fpc-devel] double free of internal temp string with fpc 3.2.0

2021-01-08 Thread Martin Frb via fpc-devel
I only tested with 3.2.0 so far. Maybe someone recalls if this is fixed or not. Also because it seems to happen only in very rare conditions, it may be that trunk does not cause it in this place even if the bug is not yet fixed. (as other code changes could simply change the context enough to