Why filling AA in shared library freezes execution?

Adam D. Ruppe destructionator at gmail.com
Wed Jan 27 16:38:07 UTC 2021


On Wednesday, 27 January 2021 at 15:25:17 UTC, H. S. Teoh wrote:
> I'm surprised this stuff hasn't been fixed yet, considering 
> Walter (mostly?) works on Windows. Has he never run into these 
> issues before?

It had a dconf talk spell it all out.

But it can be difficult to reproduce the nasty cases in a reduced 
test. Well, the exception catching ones are trivial to reproduce, 
it just plain doesn't work. But the GC and EH tables not lining 
up are harder to find. The EH table one rears its head once you 
fix the typeinfo problem that prevents the catch in the first 
place.

But then the GC one is just hard to trigger. Unless you're using 
dll plugins in my day job project. (but even there it only 
happens after like 100 iterations of stuff, just the day job 
scripts run hundreds of times a day so you see it regularly... 
just can't fix it...)


More information about the Digitalmars-d-learn mailing list