Do you suspect a certain function or a class that could be the culprit? Because if indeed it is a bug in Wine, perhaps other projects that were ported to Wine had encountered this issue and maybe there is already a workaround or a fixed dll or something like that.