https://bugs.winehq.org/show_bug.cgi?id=47411
Bug ID: 47411 Summary: TreeSize Free Portable won't open Product: Wine Version: 4.11 Hardware: x86-64 URL: https://www.jam-software.de/treesize_free/TreeSizeFree -Portable.zip OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: tobbi.bugs@googlemail.com
$ wine --version wine-4.11
$ openssl sha256 TreeSizeFree-Portable.zip SHA256(TreeSizeFree-Portable.zip)= 4cd6a7e1443db8e45b0e1e042a7dd3a8884fc42407ae699dfb61087b84d4d47e
When I try to open TreeSizeFree Portable, nothing happens. I tried in a new wine prefix with only Gecko and Mono installed, same results.
https://bugs.winehq.org/show_bug.cgi?id=47411
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |download CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Confirming on ArchLinux.
https://bugs.winehq.org/show_bug.cgi?id=47411
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|TreeSize Free Portable |TreeSize Free Portable |won't open |exits silently on startup | |due to missing | |shell32.SHMultiFileProperti | |es stub CC| |focht@gmx.net URL|https://www.jam-software.de |https://web.archive.org/web |/treesize_free/TreeSizeFree |/20190516124524/https://www |-Portable.zip |.jam-software.de/treesize_f | |ree/TreeSizeFree-Portable.z | |ip Component|-unknown |shell32
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming. The file is packed with UPX. Apparently the uncompressor stub isn't that lenient with missing Win32 exports.
--- snip --- $ WINEDEBUG=+seh,+relay wine ./TreeSizeFree.exe >>log.txt 2>&1 ... 002b:Ret PE DLL (proc=0x6c2c13e0,module=0x6c2c0000 L"wsock32.dll",reason=PROCESS_ATTACH,res=0x34fd24) retval=1 002b:Starting process L"Z:\home\focht\Downloads\ts\TreeSizeFree.exe" (entryproc=0x23e7b40) 002b:Call KERNEL32.LoadLibraryA(023f5a34 "KERNEL32.DLL") ret=023e7c81 002b:Ret KERNEL32.LoadLibraryA() retval=7b430000 ret=023e7c81 002b:Call KERNEL32.GetProcAddress(7b430000,02313009 "SetFileTime") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7b4395cc ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7b430000,02313016 "GetFileType") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7b435b2c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7b430000,02313023 "GetFileTime") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7b435b0c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7b430000,02313030 "GetACP") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7b434dec ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7b430000,02313038 "GetExitCodeProcess") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7b43594c ret=023e7c96 ... 002b:Call KERNEL32.LoadLibraryA(023f5ad7 "shell32.dll") ret=023e7c81 002b:Ret KERNEL32.LoadLibraryA() retval=7db70000 ret=023e7c81 002b:Call KERNEL32.GetProcAddress(7db70000,023154ef "SHBrowseForFolderW") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7d82c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,02315503 "SHBindToParent") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7d7cc ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,02315513 "PathMakeUniqueName") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7c14c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,02315527 "SHCreateShellItem") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7d96c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,0231553a "ILFindLastID") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7bd6c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,02315548 "SHGetFileInfoW") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7dbac ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,02315558 "ILCreateFromPathW") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7d14c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,0231556b "SHGetDesktopFolder") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7db4c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,0231557f "ILRemoveLastID") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7bd8c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,0231558f "SHChangeNotify") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7d84c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,0231559f "SHChangeNotification_Unlock") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7e64c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,023155bc "ShellExecuteW") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7e34c ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,023155cb "ShellExecuteA") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=7db7e2cc ret=023e7c96 002b:Call KERNEL32.GetProcAddress(7db70000,023155da "SHMultiFileProperties") ret=023e7c96 002b:Ret KERNEL32.GetProcAddress() retval=00000000 ret=023e7c96 002b:Call KERNEL32.ExitProcess(00000000) ret=023e7ca7 ... --- snip ---
Microsoft docs:
https://docs.microsoft.com/en-us/windows/desktop/api/shlobj/nf-shlobj-shmult...
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/shell32/shell32.spec
You can manually unpack and run it though.
--- snip --- $ ./upx -d TreeSizeFree.exe Ultimate Packer for eXecutables Copyright (C) 1996 - 2018 UPX 3.95 Markus Oberhumer, Laszlo Molnar & John Reiser Aug 26th 2018
File size Ratio Format Name -------------------- ------ ----------- ----------- 30900472 <- 6676728 21.61% win32/pe TreeSizeFree.exe
Unpacked 1 file. --- snip ---
It runs into UI Ribbon Framework insufficiencies afterwards, deserving their own bug reports.
$ sha1sum TreeSizeFree-Portable.zip 1c0183fb172471eb92f9d2706811d9229e5caa67 TreeSizeFree-Portable.zip
$ du -sh TreeSizeFree-Portable.zip 6.9M TreeSizeFree-Portable.zip
$ wine --version wine-4.11-192-g90a1e5d943
Regards
https://bugs.winehq.org/show_bug.cgi?id=47411
Esdras Tarsis esdrastarsis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |esdrastarsis@gmail.com
--- Comment #3 from Esdras Tarsis esdrastarsis@gmail.com --- Created attachment 64856 --> https://bugs.winehq.org/attachment.cgi?id=64856 SHMultiFileProperties stub
With this patch TreeSize opens normally, it was not necessary to put the function in the header file of shell32 (causes a compilation error).
https://bugs.winehq.org/show_bug.cgi?id=47411
Tobias (:Tobbi) Markus tobbi.bugs@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=47411
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |442960818901e63066c47fd6260 | |9f63a9f1111f5
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- Fixed by 442960818901e63066c47fd62609f63a9f1111f5
https://bugs.winehq.org/show_bug.cgi?id=47411
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.13.
https://bugs.winehq.org/show_bug.cgi?id=47411
--- Comment #6 from Tobias (:Tobbi) Markus tobbi.bugs@googlemail.com --- I created bug 47648 for the UI Ribbon insufficiencies, as Anastasius suggested.