http://bugs.winehq.org/show_bug.cgi?id=16443
Summary: Regression in ntdll breaks IE6 setup Product: Wine Version: CVS/GIT Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: spa@starfinanz.de CC: julliard@winehq.org
Following commit breaks installation of Internet Explorer 6 setup after simulated reboot.
Module: wine Branch: master Commit: 2e25b859eaa0d9b479f8a51327ae6bdd0e327f87 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e25b859eaa0d9b479f8a51327...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Nov 10 13:20:45 2008 +0100
ntdll: Don't call the dll entry point for native modules.
Error is: err:ntdll:RtlpWaitForCriticalSection section 0x6d384158 "?" wait timed out in thread 0044, blocked by 0000, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x6d384158 "?" wait timed out in thread 0044, blocked by 0000, retrying (60 sec)
I know that IE is not your favorite app. However, many apps still need native IE. Any chance to restore old behaviour?
This commit is also the cause for Bug 16425.
http://bugs.winehq.org/show_bug.cgi?id=16443
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Version|CVS/GIT |1.1.10
http://bugs.winehq.org/show_bug.cgi?id=16443
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-12-09 19:23:53 --- I wonder if some m$' genius marked one of their dlls as native? Please attach +module,+loaddll debug output ( http://wiki.winehq.org/FAQ#head-16da35b6327024d6ea576e3678488b16862d0f5e ).
http://bugs.winehq.org/show_bug.cgi?id=16443
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2008-12-10 02:10:30 --- It's the system32\corpol.dll, hopefully the winedump output is short enough to be pasted here.
Contents of CORPOL.DLL: 16240 bytes
File Header Machine: 014C (i386) Number of Sections: 5 TimeDateStamp: 365485D9 (Fri Nov 20 04:55:53 1998) offset 208 PointerToSymbolTable: 00000000 NumberOfSymbols: 00000000 SizeOfOptionalHeader: 00E0 Characteristics: 230A EXECUTABLE_IMAGE LOCAL_SYMS_STRIPPED 32BIT_MACHINE DEBUG_STRIPPED DLL
Optional Header (32bit) Magic 0x10B 267 linker version 5.10 size of code 0x2600 9728 size of initialized data 0xe00 3584 size of uninitialized data 0x0 0 entrypoint RVA 0x2050 8272 base of code 0x1000 4096 base of data 0x4000 16384 image base 0x6d380000 1832386560 section align 0x1000 4096 file align 0x200 512 required OS version 5.00 image version 5.00 subsystem version 4.00 Win32 Version 0x0 0 size of image 0x8000 32768 size of headers 0x600 1536 checksum 0xdae7 56039 Subsystem 0x1 (Native) DLL characteristics: 0x0 stack reserve size 0x40000 262144 stack commit size 0x1000 4096 heap reserve size 0x100000 1048576 heap commit size 0x1000 4096 loader flags 0x0 0 RVAs & sizes 0x10 16
Data Directory EXPORT rva: 0x5000 size: 0xe2 IMPORT rva: 0x3268 size: 0x50 RESOURCE rva: 0x6000 size: 0x59c EXCEPTION rva: 0x0 size: 0x0 SECURITY rva: 0x0 size: 0x0 BASERELOC rva: 0x7000 size: 0x1f4 DEBUG rva: 0x1050 size: 0x38 ARCHITECTURE rva: 0x0 size: 0x0 GLOBALPTR rva: 0x0 size: 0x0 TLS rva: 0x0 size: 0x0 LOAD_CONFIG rva: 0x0 size: 0x0 Bound IAT rva: 0x0 size: 0x0 IAT rva: 0x1000 size: 0x50 Delay IAT rva: 0x0 size: 0x0 CLR Header rva: 0x0 size: 0x0 rva: 0x0 size: 0x0
Done dumping CORPOL.DLL
http://bugs.winehq.org/show_bug.cgi?id=16443
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #3 from Anastasius Focht focht@gmx.net 2008-12-10 05:48:42 --- Hello,
seems the commit really needs to be reverted to work around such crap.
Yes, I admit it was wrong place to fix. It was meant to work around Winedevice which treats drivers the same way as standard win32 subsystem PE when it comes to loading and resolving imports. The difference is that the entry point should not be called automagically by loader in this case (native subsystem). This is done by Winedevice - the driver init routine is explicitly resolved and called, passing proper parameters.
Apart from that technical aspects this is also a bug with M$ IE6 package. Broken stuff as usual... I wonder how such stuff gets shipped, passing QA.
The 'corpol.dll' binary is actually invalid from technical standpoint, the optional header subsystem attribute should never be "native". If you look at dll imports you see standard win32 subsystem imports which is invalid for "true" native subsystem binaries. This is in fact a standard win32 subsystem binary, despite the incorrect subsystem value.
It looks like the binary was later corrected by Services Packs/Windows updates (Subsystem: 0x0003 -> WINDOWS_CUI).
Regards
http://bugs.winehq.org/show_bug.cgi?id=16443
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2008-12-11 07:54:22 --- Fixed by b8e8cb66216e315b3588fe2f13d35ee10f8d6a00.
http://bugs.winehq.org/show_bug.cgi?id=16443
Sven Paschukat spaschukat@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Sven Paschukat spaschukat@users.sourceforge.net 2008-12-11 16:57:47 --- Works, thank you.
http://bugs.winehq.org/show_bug.cgi?id=16443
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED |
--- Comment #6 from Austin English austinenglish@gmail.com 2008-12-11 17:28:58 --- Please don't close bugs, they're closed as part of the release process.
http://bugs.winehq.org/show_bug.cgi?id=16443
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #7 from Austin English austinenglish@gmail.com 2008-12-11 17:29:04 --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=16443
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2008-12-20 09:06:41 --- Closing bugs fixed in 1.1.11.
http://bugs.winehq.org/show_bug.cgi?id=16443
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Fixed by SHA1| |b8e8cb66216e315b3588fe2f13d | |35ee10f8d6a00 URL| |http://www.oldapps.com/inte | |rnet_explorer.php?old_inter | |net_explorer=10 Hardware|Other |x86