free(): double free detected in tcache 2
Johan
j at j.nl
Mon Aug 23 22:34:58 UTC 2021
On Monday, 23 August 2021 at 15:59:04 UTC, workman wrote:
> On Friday, 13 August 2021 at 11:01:00 UTC, Johan wrote:
>> On Friday, 13 August 2021 at 05:58:34 UTC, workman wrote:
>>> [...]
>>
>> Can you check how often _d_dso_registry is called after
>> __run_exit_handlers ?
>
> not sure how to do this.
(not really sure if this will really help figure out the problem,
but...)
You can break on it (probably smth like "break _d_dso_registry"),
then continue when execution is stopped at the start of the
function (probably "c"), and count how often the breakpoint is
triggered (keep "c"), before the program exits.
-Johan
More information about the digitalmars-d-ldc
mailing list