https://bugs.winehq.org/show_bug.cgi?id=37305
Bug ID: 37305 Summary: ApexDC fails to do file operations (file:FindFirstFileExW) Product: Wine Version: 1.7.26 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: hk-wine@circlestorm.org
Wine 1.7.26 running in WinXP mode (any higher and ApexDC crashes on startup) ApexDC 1.6.0 x86_64 version ( http://www.apexdc.net/download/ )
This has probably failed for all apexdc versions back to 1.5.10 according to what I find when googling this problem. They changed code relevant to file operations from what people report.
ApexDC starts up and everything seems fine, even the tree-view for selecting what folders to share files from works fine. But it never manages to index the shared files (involves reading the file to create a hash of it), and even already indexed files fails to show up as shared (bytes shared = 0 in status bar), so that indicates that even checking that a file exists fails.
$ wine ApexDC-x64.exe fixme:wincodecs:PngDecoder_Block_GetCount stub fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:advapi:RegisterTraceGuidsW (0x14031ca58, (nil), {f7b697a3-4db5-4d3b-be71-c4d284e6592f}, 7, 0x1404824d0, (null), (null), 0x1404b55a8): stub fixme:process:GetNumaHighestNodeNumber (0x32f5b0): semi-stub fixme:file:FindFirstFileExW options not implemented 0x00000000 0x00000001 fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:toolhelp:Heap32ListFirst : stub fixme:file:FindFirstFileExW options not implemented 0x00000000 0x00000001 fixme:ver:GetCurrentPackageId (0xdadab0 (nil)): stub fixme:file:FindFirstFileExW options not implemented 0x00000000 0x00000001
*snip lots and lots of repeated messages identical to the above (one per shared file?)
fixme:file:FindFirstFileExW options not implemented 0x00000000 0x00000001 err:listview:LISTVIEW_WindowProc unknown msg 109d wp=00000001 lp=00000000 err:listview:LISTVIEW_WindowProc unknown msg 109b wp=00000000 lp=0032e820 err:listview:LISTVIEW_WindowProc unknown msg 1091 wp=00000000 lp=0032e738
https://bugs.winehq.org/show_bug.cgi?id=37305
--- Comment #1 from hk-wine@circlestorm.org --- Relevant part of +file trace output:
trace:file:GetFileAttributesW L"" trace:file:RtlDosPathNameToNtPathName_U (L"",0xdad850,(nil),(nil)) trace:file:GetFileAttributesW L".antifrag" trace:file:RtlDosPathNameToNtPathName_U (L".antifrag",0xdad850,(nil),(nil)) trace:file:RtlGetFullPathName_U (L".antifrag" 520 0xdad540 (nil)) trace:file:wine_nt_to_unix_file_name L"\Program Files\strongdc++\.antifrag" not found in /home/myuser/.wine/dosdevices/c:/Program Files/apexdc++ trace:file:FindFirstFileExW L"E:\files\testset1\testfile1.jpg" 0 0xdad3c8 0 (nil) 1 fixme:file:FindFirstFileExW options not implemented 0x00000000 0x00000001
The same lines repeat for each file with only differing filename/path
https://bugs.winehq.org/show_bug.cgi?id=37305
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- The mode in the fixme message (0x00000001) is for the flag FIND_FIRST_EX_CASE_SENSITIVE, which is unsupported in current wine.
Could you please test the following two work in progress patches, which should implement the missing feature?
https://github.com/compholio/wine-compholio/tree/master/patches/kernel32-Fin...
(Note: There is also a similar bug report about the second unimplemented FindFirstFileExW flag, but they both are different issues - see here: https://bugs.winehq.org/show_bug.cgi?id=35121)
https://bugs.winehq.org/show_bug.cgi?id=37305
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- Should be fixed with: http://source.winehq.org/git/wine.git/patch/ddeab7e564fc302cffa5a3b17134a1fb...
https://bugs.winehq.org/show_bug.cgi?id=37305
--- Comment #4 from hk-wine@circlestorm.org --- Sorry for not being able to test this before now, too much real life happened.
I compiled wine from git today to test this, and the problem is indeed solved. ApexDC can now index files just fine.
I used the following revisions from github: wine git revision: b3ebdd904c compholio git revision: e8107fe104
Thanks for the swift turnaround on this bug :)
https://bugs.winehq.org/show_bug.cgi?id=37305
hk-wine@circlestorm.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|-unknown |kernel32 Version|1.7.26 |1.7.27 Resolution|--- |FIXED
--- Comment #5 from hk-wine@circlestorm.org --- Marking as fixed.
https://bugs.winehq.org/show_bug.cgi?id=37305
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.28.