https://sourceware.org/bugzilla/show_bug.cgi?id=17184
Bug ID: 17184 Summary: windres: Subtle incompatibility with Windows 8/8.1 Product: binutils Version: 2.24 Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: mity at morous dot org When building mCtrl project ([1], [2]) with mingw-w64 toolchain (which involves binutils), I encounter the issue [3]. To reproduce, many conditions have to be met: * OS is Windows 8 or 8.1 (I have access to 64-bit only though). * Program embeds Internet Explorer (in the process). * The resources are accessed through IE's res: protocol (see [4]) * The resource script in .exe must include application manifest. * The bug happens only on 1st run (i.e. to reproduce again, you have to "touch" the .exe, reboot or whatever). I do not know how, on the level, the embedded MSIE reads the resources, but given the conditions above, some of them are read corrupted. I admin the bug seems very suspicious as it requires a lot of code to embed the browser, and set of the conditions to reproduce is quite complex. However I did my very best to isolate the problem to windres utility (comments in [3] summarizes the effort). Note the complexity is in mCtrl.dll, while it is very simple ex_html.exe and its resource script which, when compiled with windres, triggers the bug. Especially please note that one of my experiments was to build the mCtrl.dll + ex_html.exe with MSVC, with one exception: ex_html.exe was created by (MSVC)linking MSVC-produced ex_html.c.o with windres-produced ex_html.rc.o and this still triggers the bug. Links: [1] http://mctrl.sf.net [2] https://github.com/mity/mctrl [3] https://github.com/mity/mctrl/issues/13 [4] http://msdn.microsoft.com/en-us/library/aa767740%28v=vs.85%29.aspx) -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils