Why filling AA in shared library freezes execution?

Siemargl inqnone at gmail.com
Sat Feb 6 15:21:17 UTC 2021


On Saturday, 6 February 2021 at 10:44:08 UTC, Siemargl wrote:
> On Saturday, 30 January 2021 at 20:32:36 UTC, Siemargl wrote:
>> No, this is a deadlock in memory manager.
>>
>> To find roots of problem, needed a debug version of druntime, 
>> but i were unsuccesfull to compile it.
>
> I make debug vesion of druntime and catch nicer stacktrace. 
> Maybe this can help somebody knowing GC internals
....

So it seems, that disabling parallel GC, solves problem.

I add in BOTH dll and main module and cant reproduce freeze 
anymore

extern(C) __gshared string[] rt_options = [ "gcopt=parallel:0" ];


More information about the Digitalmars-d-learn mailing list