http://bugs.winehq.org/show_bug.cgi?id=21466
Summary: implement FileFsVolumeInformation class for ntdll.NtQueryVolumeInformationFile Product: Wine Version: 1.1.37 Platform: x86 URL: http://download.avgfree.com/filedir/inst/avg_free_stf_ en_90_730a1834.exe OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net
Hello,
AVG's free 8.x/9.x antivirus edition installer uses native API for various operations.
The installer creates empty UTF8 log files (c:\windows\temp\*avg9*.log) because of the (silenced) FileFsVolumeInformation class stub in ntdll.NtQueryVolumeInformationFile.
A simple implementation (even returning zero-filled FILE_FS_VOLUME_INFORMATION) helps the installer to properly write installer/debug log files with UTF8 content.
--- snip --- ... 002d:Call ntdll.RtlDosPathNameToNtPathName_U(00162a58 L"\\?\C:\windows\temp\Davg9inst_2010-01-24_11-39.log",0032f814,00000000,00000000) ret=0041d4de 002d:Ret ntdll.RtlDosPathNameToNtPathName_U() retval=00000001 ret=0041d4de ... 002d:Call ntdll.ZwOpenFile(0032f828,00120000,0032f7f4,0032f80c,00000003,00004020) ret=0041d380 002d:Ret ntdll.ZwOpenFile() retval=00000000 ret=0041d380 ... 002d:Call ntdll.ZwQueryVolumeInformationFile(00000068,0032f80c,0032f51c,00000238,00000001) ret=0041d3c0 002d:fixme:ntdll:NtQueryVolumeInformationFile 0x68: volume info not supported 002d:Ret ntdll.ZwQueryVolumeInformationFile() retval=c0000002 ret=0041d3c0 002d:Call ntdll.RtlNtStatusToDosError(c0000002) ret=0041d4a5 002d:Ret ntdll.RtlNtStatusToDosError() retval=00000001 ret=0041d4a5 ... 002d:Call ntdll.ZwClose(00000068) ret=0041d09b 002d:Ret ntdll.ZwClose() retval=00000000 ret=0041d09b ... --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=21466
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=21466
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer
http://bugs.winehq.org/show_bug.cgi?id=21466
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |xerox_xerox2000@yahoo.co.uk Ever Confirmed|0 |1
--- Comment #1 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2010-11-20 03:43:28 CST --- Confirming. I will send a patch.
btw, downloadlink is busted. I used http://dplus.en.softonic.com/free-download/windows/avg_free_stf_en_90_716a18... to confirm the bug
http://bugs.winehq.org/show_bug.cgi?id=21466
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #2 from Jerome Leclanche adys.wh@gmail.com 2011-02-05 00:16:29 CST --- A test was committed as 5eac14f11c51bee988ea05cf1cac94ea0b8ec81a.
http://bugs.winehq.org/show_bug.cgi?id=21466
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.avgfree.com |http://dplus.en.softonic.co |/filedir/inst/avg_free_stf_ |m/free-download/windows/avg |en_90_730a1834.exe |_free_stf_en_90_716a1803.ex | |e Summary|implement |AVG Free 8.x/9.x Antivirus |FileFsVolumeInformation |Edition needs |class for |FileFsVolumeInformation |ntdll.NtQueryVolumeInformat |class |ionFile |(ntdll.NtQueryVolumeInforma | |tionFile) for installer | |logging
--- Comment #3 from Anastasius Focht focht@gmx.net 2013-01-12 15:17:39 CST --- Hello folks,
still present, correcting download link.
Source: http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ntdll/file.c#l2553
--- snip --- 2553 NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io, 2554 PVOID buffer, ULONG length, 2555 FS_INFORMATION_CLASS info_class ) 2556 { ... 2567 switch( info_class ) 2568 { 2569 case FileFsVolumeInformation: 2570 if (!once++) FIXME( "%p: volume info not supported\n", handle ); 2571 break; ... --- snip ---
$ du -sh avg_free_stf_en_90_716a1803.exe 76M avg_free_stf_en_90_716a1803.exe
$ sha1sum avg_free_stf_en_90_716a1803.exe 32678222e7889a4f47494a86242ad783c180eba5 avg_free_stf_en_90_716a1803.exe
$ wine --version wine-1.5.21-181-g197041f
Regards
https://bugs.winehq.org/show_bug.cgi?id=21466
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
$ wine --version wine-1.7.24-150-gcf4404c
Regards
https://bugs.winehq.org/show_bug.cgi?id=21466
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #5 from Qian Hong fracting@gmail.com --- Also needed by MSYS2.
https://bugs.winehq.org/show_bug.cgi?id=21466
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|AVG Free 8.x/9.x Antivirus |Multiple applications need |Edition needs |NtQueryVolumeInformationFil |FileFsVolumeInformation |e 'FileFsVolumeInformation' |class |class support (AVG Free |(ntdll.NtQueryVolumeInforma |8.x/9.x Antivirus Edition, |tionFile) for installer |MSYS2) |logging | Severity|enhancement |normal
https://bugs.winehq.org/show_bug.cgi?id=21466
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #6 from super_man@post.com --- Still valid issue, wine-staging has a semi-stub patch for this. It's mentioned at their changelog.
1.7.51
https://bugs.winehq.org/show_bug.cgi?id=21466
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/ntdll-FileFsVo | |lumeInformation
https://bugs.winehq.org/show_bug.cgi?id=21466
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=21466
Egidijus egidijj@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |egidijj@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=21466
Andrey andrey.gursky@e-mail.ua changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.gursky@e-mail.ua
https://bugs.winehq.org/show_bug.cgi?id=21466
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/ntdll-FileFsVo |er/patches/ntdll-FileFsVolu |lumeInformation |meInformation CC| |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=21466
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://dplus.en.softonic.co |https://web.archive.org/web |m/free-download/windows/avg |/20200121092202/http://dl.f |_free_stf_en_90_716a1803.ex |ilehorse.com/win/anti-virus |e |/avg-antivirus-32/AVG-AntiV | |irus-Free-9.0.698.exe?st=A8 | |tTwiLaVKQYQkmzVuSL7g&e=1579 | |684922&fn=avg_free_stf_en_9 | |0_698a1730.exe
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
updating download link to stable snapshot via Internet Archive:
https://web.archive.org/web/20200121092202/http://dl.filehorse.com/win/anti-...
$ sha1sum avg_free_stf_en_90_698a1730.exe d2a5a159a4488db40b0d5e52bc1b5363e41062eb avg_free_stf_en_90_698a1730.exe
$ du -sh avg_free_stf_en_90_698a1730.exe 73M avg_free_stf_en_90_698a1730.exe
$ wine --version wine-5.0-rc6
Regards
https://bugs.winehq.org/show_bug.cgi?id=21466
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED CC| |z.figura12@gmail.com Fixed by SHA1| |021d9f07602da5d61a27f86c86f | |6a06a38ee2e58
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/021d9f07602da5d61a27f86c86f6a06a38ee2e58.
https://bugs.winehq.org/show_bug.cgi?id=21466
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.6.