https://bugs.winehq.org/show_bug.cgi?id=46366 Piotr Caban <piotr.caban(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban(a)gmail.com --- Comment #1 from Piotr Caban <piotr.caban(a)gmail.com> --- _initterm is supposed to call __cdecl functions that are responsible for preserving ESI register. That's why it should not need to save/restore it. It looks like native is also not doing it taking it account that it crashes when it's used as well. You should probably check what functions are called by _initterm, maybe e.g. one of them is implemented in wine and needs to be fixed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.