https://bugs.winehq.org/show_bug.cgi?id=49140
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Hi, Damjan.
Could you check if [1] from yesterday fixed it? Uninitialized value could as well trigger infinite loop there.
P.S. shaping part does not participate in font selection, it works with whatever data font provides.
[1] https://source.winehq.org/git/wine.git/commit/23543f20058d1655d3ad552474ce99...