https://bugs.winehq.org/show_bug.cgi?id=55143
--- Comment #8 from Rafał Mużyło galtgendo@o2.pl --- At this point, I'd like to remind you of bug 53819, which, while referring to a different lib/function, basically is word-for-word equivalent.
That's why I suspect OOM/VMS problem.