http://bugs.winehq.org/show_bug.cgi?id=12057
--- Comment #5 from vitja vitja.makarov@gmail.com 2008-05-06 14:03:58 --- Created an attachment (id=12783) --> (http://bugs.winehq.org/attachment.cgi?id=12783) patch that solves the issue
After few hours of grepping and disassembling, I found that the bug is in ecvt, function that is ecvt(3). This patch replaces sprintf based ecvt with ecvt_r, which is thread safe but GNU extension, I'm not sure that ecvt under windo is thread safe. Btw this patch solves the problem completely for me.
If wine works on non-GNU system, that doesn't implement ecvt call, that is obsolete, we have to: 1) get it from GLIBC 2) use thread-unsafe ecvt,
current implementation doesn't work at all(
vitja.