http://bugs.winehq.org/show_bug.cgi?id=30399
Bug #: 30399 Summary: Spoon Studio 2011 (ex Xenocode) application sandboxing scheme needs support for NtSetInformationFile class FileRenameInformation (Stylizer 5.x, Visual CSS editor) Product: Wine Version: 1.5.1 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello,
Stylizer 5.x (Visual CSS editor) is wrapped in Xenocode like sandboxing scheme, now called "Spoon Studio 2011".
The usual native API hooking in several places. It seems not very happy about some unimplemented NtSetInformationFile classes.
--- snip --- 0025:Call ntdll.RtlInitUnicodeString(0032f2a0,008b3338 L"\??\C:\users\focht\Local Settings\Application Data\Skybound\Stylizer\Sandbox\2011.12.15T20.58") ret=0034cdc9 0025:Ret ntdll.RtlInitUnicodeString() retval=0032f2a0 ret=0034cdc9 0025:Call ntdll.NtOpenFile(0032f24c,00120089,0032f270,0032f2b0,00000003,00000021) ret=0034ce32 0025:Ret ntdll.NtOpenFile() retval=00000000 ret=0034ce32 0025:Call ntdll.NtQueryVolumeInformationFile(00000068,0032f344,0032f33c,00000008,00000004) ret=0036d89c 0025:Ret ntdll.NtQueryVolumeInformationFile() retval=00000000 ret=0036d89c 0025:Call ntdll.RtlInitUnicodeString(0032f2f8,008b2f70 L"\??\C:\users\focht\Local Settings\Application Data\Skybound\Stylizer\Sandbox\2011.12.15T20.58\XSandbox.bin") ret=0034cd16 0025:Ret ntdll.RtlInitUnicodeString() retval=0032f2f8 ret=0034cd16 0025:Call ntdll.NtCreateFile(0032f31c,00120116,0032f2e0,0032f300,00000000,00000080,00000000,00000001,00000060,00000000,00000000) ret=0034cd81 0025:Ret ntdll.NtCreateFile() retval=c0000034 ret=0034cd81 0025:Call ntdll.RtlInitUnicodeString(0032f2f8,008b3068 L"\??\C:\users\focht\Local Settings\Application Data\Skybound\Stylizer\Sandbox\2011.12.15T20.58\XSandbox.bin.__tmp__") ret=0034cd16 0025:Ret ntdll.RtlInitUnicodeString() retval=0032f2f8 ret=0034cd16 0025:Call ntdll.NtCreateFile(0032f31c,0013019f,0032f2e0,0032f300,00000000,00000080,00000000,00000005,00000060,00000000,00000000) ret=0034cd81 0025:Ret ntdll.NtCreateFile() retval=00000000 ret=0034cd81 ... 0025:Call ntdll.NtDuplicateObject(ffffffff,0000006c,ffffffff,0032f318,00000000,00000000,00000002) ret=0039a13e 0025:Ret ntdll.NtDuplicateObject() retval=00000000 ret=0039a13e ... 0025:Call ntdll.NtClose(00000068) ret=0034c187 0025:Ret ntdll.NtClose() retval=00000000 ret=0034c187 ... 0025:Call ntdll.NtSetInformationFile(0000006c,0032f388,0079b9e8,000000e6,0000000a) ret=0034d0c4 0025:fixme:ntdll:NtSetInformationFile Unsupported class (10) 0025:Ret ntdll.NtSetInformationFile() retval=c0000002 ret=0034d0c4 ... 0025:Call ntdll.NtClose(0000006c) ret=0034c187 0025:Ret ntdll.NtClose() retval=00000000 ret=0034c187 --- snip ---
MSDN (ZwSetInformationFile):
http://msdn.microsoft.com/en-us/library/windows/hardware/ff567096%28v=vs.85%...
class 10 (FileRenameInformation) -> FILE_RENAME_INFORMATION:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff540344%28v=vs.85%...
Regards
http://bugs.winehq.org/show_bug.cgi?id=30399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, obfuscation URL| |http://filequake.com/downlo | |ading/stylizer/ Depends on| |30397
--- Comment #1 from Anastasius Focht focht@gmx.net 2012-04-09 11:55:43 CDT --- Hello,
filling fields ...
Stylizer 5.1.11.1214
$ du -sh Stylizer5Setup.exe 15M Stylizer5Setup.exe
$ sha1sum Stylizer5Setup.exe 4df9db3c932dd6c77621a67d52ba45ad2b638bb7 Stylizer5Setup.exe
$ wine --version wine-1.5.1-197-g73e7346
Regards
http://bugs.winehq.org/show_bug.cgi?id=30399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexandre.lengereau@biblibr | |e.com
--- Comment #2 from Anastasius Focht focht@gmx.net 2013-12-06 06:37:53 CST --- *** Bug 29244 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=30399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://filequake.com/downlo |http://www.skybound.ca/cdn/ |ading/stylizer/ |stylizer/5/Stylizer5Setup.e | |xe
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
still present.
The app now automatically downloads and installs .NET Framework 2.0 if not present (Mono).
--- snip --- $ WINEDEBUG=+tid,+msgbox wine ./Stylizer5Setup.exe 0009:fixme:shell:SHAutoComplete stub 0030:fixme:ntdll:NtSetInformationFile Unsupported class (13) 0030:fixme:ntdll:NtSetInformationFile Unsupported class (13) 0030:fixme:ntdll:NtSetInformationFile Unsupported class (13) 0030:fixme:ntdll:NtSetInformationFile Unsupported class (10) 0030:fixme:ntdll:NtSetInformationFile Unsupported class (13) 0030:trace:msgbox:MSGBOX_OnInit L"The sandbox at \??\C:\users\focht\Local Settings\Application Data\Skybound\Stylizer\Sandbox\2013.07.04T14.12 is corrupt or inaccessible. Please check the location and try again." --- snip ---
$ sha1sum Stylizer5Setup.exe b8ad366b81156bfacedd976d674ce000eb502cc1 Stylizer5Setup.exe
$ du -sh Stylizer5Setup.exe 16M Stylizer5Setup.exe
$ wine --version wine-1.7.13-118-g0eb6265
Regards
https://bugs.winehq.org/show_bug.cgi?id=30399
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #4 from Jarkko K jarkko_korpi@hotmail.com --- Problem still there wine 1.7.18
https://bugs.winehq.org/show_bug.cgi?id=30399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eli@orbsky.homelinux.org
--- Comment #5 from Anastasius Focht focht@gmx.net --- *** Bug 37688 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Spoon Studio 2011 (ex |Multiple games and |Xenocode) application |applications need support |sandboxing scheme needs |for 'NtSetInformationFile' |support for |class |NtSetInformationFile class |'FileRenameInformation' |FileRenameInformation |(Spoon Studio 2011 based |(Stylizer 5.x, Visual CSS |Stylizer 5.x, |editor) |Boost.Interprocess based | |Tera Online)
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to include Tera Online.
$ wine --version wine-1.7.33-118-g15174df
Regards
https://bugs.winehq.org/show_bug.cgi?id=30399
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #7 from Qian Hong fracting@gmail.com --- Still present, also needed by Cygwin's rename implementation.
https://bugs.winehq.org/show_bug.cgi?id=30399
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=30399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lukasz.wojnilowicz@gmail.co | |m
--- Comment #8 from Anastasius Focht focht@gmx.net --- *** Bug 32678 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=30399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.wine-staging.c | |om/show_bug.cgi?id=296 Summary|Multiple games and |Multiple games and |applications need support |applications need support |for 'NtSetInformationFile' |for 'NtSetInformationFile' |class |class |'FileRenameInformation' |'FileRenameInformation' |(Spoon Studio 2011 based |(Spoon Studio 2011 based |Stylizer 5.x, |Stylizer 5.x, |Boost.Interprocess based |Boost.Interprocess based |Tera Online) |Tera Online, MSYS2 | |installer)
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
adding link to Wine-Staging.
Patch set is maintained here: https://github.com/wine-compholio/wine-staging/tree/master/patches/ntdll-Fil...
$ wine --version wine-1.7.48-74-gb3fe96a
Regards
https://bugs.winehq.org/show_bug.cgi?id=30399 Bug 30399 depends on bug 30397, which changed state.
Bug 30397 Summary: Multiple applications need support for NtSetInformationFile class FileDispositionInformation (Cygwin installer, Stylizer 5.x Visual CSS editor, Spoon Studio 2011 (ex Xenocode) application sandboxing scheme) https://bugs.winehq.org/show_bug.cgi?id=30397
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=30399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |857d436784dcc677bbbda905437 | |c93cf61f1ddb2 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/857d436784dcc677bbbda90543...
Thanks Sebastian
NOTE: XenoCode Postbuild 2009 wrapped apps still don't work after this due the way Wine's native API NtWaitForXXX is implemented.
Regards
https://bugs.winehq.org/show_bug.cgi?id=30399
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.50.
https://bugs.winehq.org/show_bug.cgi?id=30399
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.skybound.ca/cdn/ |https://archive.org/downloa |stylizer/5/Stylizer5Setup.e |d/stylizer-5-setup/Stylizer |xe |5Setup.exe