Why filling AA in shared library freezes execution?

Vitalii yvitaliy1980 at yandex.ru
Sat Jan 30 19:52:09 UTC 2021


On Friday, 29 January 2021 at 01:23:20 UTC, Siemargl wrote:
> On Friday, 29 January 2021 at 00:45:12 UTC, Siemargl wrote:
>
>>> Then i modify program, just removing DLL, copying TestFun() 
>>> in main module and it runs.
>>> Same compiler -m64 target.
>>
>> Ups. Sorry, I just forget copy test_dll.dll inside VM :-)
>>
>> So, program runs in Win7, but hangs after printing i:64511
>
> I downgrade DMD to 2.090.1 + MSVC2013 libs and problem 
> disappears.
>
> But 2.092 + MSVC2013 libs also hangs. Not every time, but
.
Thank you, Siemargl! It's just the same behaviour that I got.
The same number 64511. If you change double[int] to double[],
the number would be around ~520.000, if int[] then ~1.000.000.
I make conclusion that there is something concerning memory limit 
of 4 Mb.


More information about the Digitalmars-d-learn mailing list