http://bugs.winehq.org/show_bug.cgi?id=11222
Summary: When trying to embed a manifest file, mt.exe crashes in kernel32 Product: Wine Version: 0.9.46. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: n.tessore@gmail.com
This bug occurs when trying to cross-compile with the Microsoft Visual Studio Express Edition using wine.
Compilation works flawlessly. However, when embedding the manifest file using
mt.exe -nologo -manifest "myprog.manifest" -outputresource:myprog.exe;1
wine crashes.
The output is:
wine: Unhandled page fault on read access to 0xcd98b404 at address 0x7b88037a (thread 002f), starting debugger... Unhandled exception: page fault on read access to 0xcd98b404 in 32-bit code (0x7b88037a).
[...]
Backtrace: =>1 0x7b88037a EndUpdateResourceW+0x3fa(hUpdate=0x1325da, fDiscard=0x0) [/build/buildd/wine-0.9.46/dlls/kernel32/resource.c:1035] in kernel32 (0x0033f8e8) 2 0x01051db0 in mt (+0x51db0) (0x0033f8f8) 3 0x01052945 in mt (+0x52945) (0x0033f944) 4 0x0102ff68 in mt (+0x2ff68) (0x0033f994) 5 0x01028c48 in mt (+0x28c48) (0x0033fe7c) 6 0x01028f48 in mt (+0x28f48) (0x0033fe8c) 7 0x0103c2a8 in mt (+0x3c2a8) (0x0033ff08) 8 0x7b874c7e start_process+0xee(arg=0x0) [/build/buildd/wine-0.9.46/dlls/kernel32/process.c:839] in kernel32 (0x0033ffe8) 9 0xb7ddd9d7 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000) 0x7b88037a EndUpdateResourceW+0x3fa [/build/buildd/wine-0.9.46/dlls/kernel32/resource.c:1035] in kernel32: movl 0x4(%edx),%ecx