http://bugs.winehq.org/show_bug.cgi?id=29899
--- Comment #10 from Dmitry Timoshkov dmitry@baikal.ru 2012-02-16 05:04:42 CST --- (In reply to comment #9)
Created attachment 38907 [details] Crash after applying proposed patch
Crash after applying patch
You are too fast :) The patch (or rather a prototype) was supposed to fix only your test case. What is missing is changing the section protection to read-write and back when applying relocations.