https://bugs.winehq.org/show_bug.cgi?id=50257
--- Comment #14 from Gen Otsuji otsugen0000@gmail.com --- Hi, Thank you for testing on Linux. I'm sorry . the code on Linux also segfaults. But why does wine-6.0-rc4 on FreeBSD stuck? And why does wine-6.0-rc4 on Linux go well? I don't know.
I tested env LD_DEBUG=1.
My assumption is that, wine-6.0-rc4 is using malloc. and into the internal of malloc in heap.c, RtlAllocateHeap in ntdll/heap.c, TRACE => wine_dbg_log => vnsprintf. In vnsprintf,the malloc function is executed and it is recursion of malloc. so this malloc should be in libc.
Thank you all.