http://bugs.winehq.org/show_bug.cgi?id=32925
Bug #: 32925 Summary: KERNEL32.dll.GetVolumeInformationByHandleW is not implemented Product: Wine Version: 1.5.23 Platform: x86-64 URL: http://www.winuae.net/files/InstallWinUAE2510.exe OS/Version: Windows Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk Classification: Unclassified
The latest beta build of WinUAE tries to call KERNEL32.dll.GetVolumeInformationByHandleW, which is implemented in Windows Vista and later. But even after setting the OS level to Vista with winecfg, Wine exits reporting: wine: Call from 0x7bc4d010 to unimplemented function KERNEL32.dll.GetVolumeInformationByHandleW, aborting wine: Unimplemented function KERNEL32.dll.GetVolumeInformationByHandleW called at address 0x7bc4d010 (thread 0009), starting debugger...
GetVolumeInformationByHandleW seems similar to the earlier GetVolumeInformation function, but instead of a root directory path (e.g. "D:") you pass a file handle.
To reproduce: - Download and run the WinUAE 2.5.1 installer. - Download http://www.winuae.net/files/b/winuae_GetVolumeInformationByHandleW.zip and replace winuae.exe with the one from that archive. - Run winuae.exe - When the WinUAE Properties window opens, click Hard drives in the tree-view to the left. Click Add Directory or Archive... then enter (for example) "test" in the Device name and Volume label fields, and C:\ for Path. Click OK. - Click Configurations in the tree-view. Type something in the Name field (e.g. test.uae) and click Save. Wine should crash.
http://bugs.winehq.org/show_bug.cgi?id=32925
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download CC| |markk@clara.co.uk
http://bugs.winehq.org/show_bug.cgi?id=32925
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |nerv@dawncrow.de Ever Confirmed|0 |1
--- Comment #1 from André H. nerv@dawncrow.de 2013-04-03 11:26:50 CDT --- confirming, maybe i'll have a look
http://bugs.winehq.org/show_bug.cgi?id=32925
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #2 from Jarkko K jarkko_korpi@hotmail.com --- It's still unimplemented
http://source.winehq.org/git/wine.git/blob/ed1f005e14b78aaacb4012d13ba1f7b45...
http://msdn.microsoft.com/en-us/library/windows/desktop/aa964920%28v=vs.85%2...
https://bugs.winehq.org/show_bug.cgi?id=32925
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #3 from hanska2@luukku.com --- Still stub 1.7.26
https://bugs.winehq.org/show_bug.cgi?id=32925
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #4 from roger@mailinator.com --- still stub 1.7.31
https://bugs.winehq.org/show_bug.cgi?id=32925
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #5 from Austin English austinenglish@gmail.com --- Created attachment 50767 --> https://bugs.winehq.org/attachment.cgi?id=50767 stub
This works for me, could you please test?
https://bugs.winehq.org/show_bug.cgi?id=32925
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Summary|KERNEL32.dll.GetVolumeInfor |WinUAE 2.5.1 crashes on |mationByHandleW is not |unimplemented function |implemented |KERNEL32.dll.GetVolumeInfor | |mationByHandleW
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to mention the actual app/version.
Obviously still present with Wine 1.7.43
Regards
https://bugs.winehq.org/show_bug.cgi?id=32925
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=32925
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.winuae.net/files |http://www.winuae.net/files |/InstallWinUAE2510.exe |/b/winuae_GetVolumeInformat | |ionByHandleW.zip
--- Comment #7 from Mark K markk@clara.co.uk --- The release version of WinUAE 2.5.1 doesn't have this problem. The specific beta build at http://www.winuae.net/files/b/winuae_GetVolumeInformationByHandleW.zip does have the problem.
I've changed the URL field to point to that zip file. The WinUAE 2.5.1 installer mentioned in the steps to reproduce above is at http://www.winuae.net/files/InstallWinUAE2510.exe
https://bugs.winehq.org/show_bug.cgi?id=32925
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|WinUAE 2.5.1 crashes on |WinUAE 2.5.1 beta crashes |unimplemented function |on unimplemented function |KERNEL32.dll.GetVolumeInfor |KERNEL32.dll.GetVolumeInfor |mationByHandleW |mationByHandleW
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello Mark,
--- quote --- The release version of WinUAE 2.5.1 doesn't have this problem. The specific beta build at http://www.winuae.net/files/b/winuae_GetVolumeInformationByHandleW.zip does have the problem. --- quote ---
good to know .. mentioning such details is very important.
Regards
https://bugs.winehq.org/show_bug.cgi?id=32925
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- I did try before and after the patch the patch indeed works. Please send it wine-patches.
wine 1.7.51
https://bugs.winehq.org/show_bug.cgi?id=32925
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=32925
--- Comment #10 from super_man@post.com --- I just retested this. Still valid 1.9.8. And works with the patch. I didnt test wine-staging, but I am assuming it doesnt have this patch included.
Sending it into wine-staging or upstream would benefit some people, now it doesnt help anyone else than those that can find and apply patches themselves.
https://bugs.winehq.org/show_bug.cgi?id=32925
--- Comment #11 from Austin English austinenglish@gmail.com --- (In reply to super_man from comment #10)
I just retested this. Still valid 1.9.8. And works with the patch. I didnt test wine-staging, but I am assuming it doesnt have this patch included.
Sending it into wine-staging or upstream would benefit some people, now it doesnt help anyone else than those that can find and apply patches themselves.
It was sent: https://source.winehq.org/patches/data/121083
https://bugs.winehq.org/show_bug.cgi?id=32925
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #12 from Frédéric Delanoy frederic.delanoy@gmail.com --- Still in wine-1.9.18-121-g4e9cc30 (GetVolumeInformationByHandleW still not implemented)
https://bugs.winehq.org/show_bug.cgi?id=32925
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #13 from winetest@luukku.com --- Could someone check what's wrong with the patch?
https://bugs.winehq.org/show_bug.cgi?id=32925
--- Comment #14 from Austin English austinenglish@gmail.com --- https://source.winehq.org/patches/data/131620
https://bugs.winehq.org/show_bug.cgi?id=32925
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ad6c781eb2f27e158e973e55ace | |d6b01f320c542 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #15 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #14)
https://source.winehq.org/git/wine.git/commitdiff/ad6c781eb2f27e158e973e55ac...
https://bugs.winehq.org/show_bug.cgi?id=32925
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.5.