http://bugs.winehq.org/show_bug.cgi?id=2282
Summary: IBM Translation Manager v.6.0.4 crashes while loading Product: Wine Version: CVS Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-loader AssignedTo: wine-bugs@winehq.org ReportedBy: phil@mail.ru
The program loads a DLL, and Wine starts importing this DLL's imports from kernel32.dll. It crashes on the first import in import_dll() function at dlls/ntdll/loader.c:453, which says:
thunk_list->u1.Function = (PDWORD)find_named_export( imp_mod, exports, exp_size, pe_name->Name, pe_name->Hint );
This causes an exception because thunk_list happens to be located in .rdata section of the DLL, which is readonly.
Currently I have hacked this around by making all PE sections read-write in map_image() in dlls/ntdll/virtual.c, and the program works.
If a Wine guru would like to fix it, I can give any support (e.g., ssh access to my computer with the program). If not - I will be using this hacked version of Wine.