[Bug 2282] New: IBM Translation Manager v.6.0.4 crashes while loading

Wine Bugs wine-bugs at winehq.org
Sun Jun 13 09:21:32 CDT 2004


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 at winehq.org
        ReportedBy: phil at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list