https://bugs.winehq.org/show_bug.cgi?id=36811
Bug ID: 36811 Summary: Avast! Free Antivirus 9.0.2013 'AvastSvc.exe' crashes on unimplemented function KERNEL32.dll.GetFirmwareEnvironmentVariableA Product: Wine Version: 1.7.20 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
the installer now works with bug 36487 and bug 36500 fixed.
The service app crashes on startup though. Start the gui app and finish initial setup wizard.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/AVAST Software/Avast
$ wine ./AvastUI.exe ... Unhandled exception: unimplemented function KERNEL32.dll.GetFirmwareEnvironmentVariableA called in 32-bit code (0x7bc52792). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7bc52792 ESP:1146de28 EBP:1146de8c EFLAGS:00200216( - -- I -A-P- ) EAX:1146de34 EBX:7bcd1000 ECX:8720c0a8 EDX:00410064 ESI:1146e2dc EDI:1146e2dc ... Backtrace: =>0 0x7bc52792 stub_entry_point+0x4b(dll="KERNEL32.dll", name="GetFirmwareEnvironmentVariableA", ret_addr=0x10d83851) [/home/focht/projects/wine/wine.repo/src/dlls/ntdll/loader.c:196] in ntdll (0x1146de8c) 1 0x003400b4 (0x1146e1a8) 2 0x10d75525 in aswjsscan (+0x5524) (0x1146e250) 3 0x009787d1 (0x1146e33c) 4 0x00978b64 (0x1146ea58) ... 196 for (;;) RtlRaiseException( &rec ); Modules: Module Address Debug info Name (166 modules) PE 400000- 40d000 Deferred avastsvc PE 520000- 645000 Deferred libeay32 PE bb0000- c36000 Deferred aswsqlt PE 54e0000- 54e9000 Deferred ahresws2 PE f330000- f3cf000 Deferred ashbase PE f3d0000- f416000 Deferred ssleay32 PE f520000- f772000 Deferred aavm4h PE f780000- f7d3000 Deferred ahresws PE 10000000-1006a000 Deferred aswcommchannel PE 10d70000-11367000 Export aswjsscan ... Threads: process tid prio (all id:s are in hex) 00000008 AvastUI.exe 000000cb 0 000000ca 0 000000c9 0 ... 00000031 (D) C:\Program Files\AVAST Software\Avast\AvastSvc.exe 000000c4 0 000000c3 0 000000c2 0 000000c1 0 <== 000000be 0 000000b5 -15 ... --- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724325%28v=vs.85%2...
$ sha1sum avast_free_antivirus_setup_9_0_2018.exe f3c810bb61028801d3d89e5f6c7a4eb2761145e9 avast_free_antivirus_setup_9_0_2018.exe
$ du -sh avast_free_antivirus_setup_9_0_2018.exe 85M avast_free_antivirus_setup_9_0_2018.exe
$ wine --version wine-1.7.20-158-g8762842
Regards
https://bugs.winehq.org/show_bug.cgi?id=36811
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://filehippo.com/downlo | |ad_avast_antivirus/
https://bugs.winehq.org/show_bug.cgi?id=36811
--- Comment #1 from Austin English austinenglish@gmail.com --- When attempting to install this with wine-1.7.20-158-g8762842, I get an error:
The driver of the File System Filter Manager is not running Please ensure the driver is started before installing avast!
wine was compiled with gcc-4.8.2, not gcc-4.9.0.
austin@aw25 ~ $ uname -a Linux aw25 3.13.3-gentoo-devlight-1 #1 SMP Thu Feb 20 00:10:55 Local time zone must be set--see zic x86_64 Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz GenuineIntel GNU/Linux
https://bugs.winehq.org/show_bug.cgi?id=36811
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #2 from Austin English austinenglish@gmail.com --- Created attachment 48885 --> https://bugs.winehq.org/attachment.cgi?id=48885 stub
Please test.
https://bugs.winehq.org/show_bug.cgi?id=36811
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello Austin,
--- snip --- -# @ stub GetFirmwareEnvironmentVariableA -# @ stub GetFirmwareEnvironmentVariableW +@ stub GetFirmwareEnvironmentVariableA(str str ptr long) +@ stub GetFirmwareEnvironmentVariableW(wstr wstr ptr long) --- snip ---
that doesn't make sense if you provide a stub implementation.
With a modified version ('stub' -> 'stdcall') it works for me, the wizard finishes without crash.
--- quote --- I get an error:
The driver of the File System Filter Manager is not running Please ensure the driver is started before installing avast! --- quote ---
I don't get that error here.
You probably see a result of bug 23583 and bug 35693
--- snip --- err:module:import_dll Library TDI.SYS (which is needed by L"C:\windows\system32\drivers\aswRdr.sys") not found err:winedevice:ServiceMain driver L"aswRdr" failed to load --- snip ---
--- snip --- err:module:import_dll Library FLTMGR.SYS (which is needed by L"C:\windows\system32\drivers\aswsp.sys") not found err:module:LdrInitializeThunk Main exe initialization for L"C:\windows\system32\drivers\aswsp.sys" failed, status c0000135 err:service:service_send_start_message service L"aswSP" failed to start --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=36811
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #3)
Hello Austin,
--- snip --- -# @ stub GetFirmwareEnvironmentVariableA -# @ stub GetFirmwareEnvironmentVariableW +@ stub GetFirmwareEnvironmentVariableA(str str ptr long) +@ stub GetFirmwareEnvironmentVariableW(wstr wstr ptr long) --- snip ---
that doesn't make sense if you provide a stub implementation.
With a modified version ('stub' -> 'stdcall') it works for me, the wizard finishes without crash.
Typo of course, thanks for testing. Sent: https://source.winehq.org/patches/data/105336
--- quote --- I get an error:
The driver of the File System Filter Manager is not running Please ensure the driver is started before installing avast! --- quote ---
I don't get that error here.
You probably see a result of bug 23583 and bug 35693
Ok, thanks for the info.
https://bugs.winehq.org/show_bug.cgi?id=36811
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2f3fc38ee090d2d25aa925c10be | |d657555e5b2f7 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/2f3fc38ee090d2d25aa925c10be...
Thanks Austin
Next problem is bug 36812
Regards
https://bugs.winehq.org/show_bug.cgi?id=36811
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.22.
https://bugs.winehq.org/show_bug.cgi?id=36811
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://filehippo.com/downlo |https://web.archive.org/web |ad_avast_antivirus/ |/20140528173816/http://file | |s.avast.com/iavs9x/avast_fr | |ee_antivirus_setup.exe
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive for documentation.
https://web.archive.org/web/20140528173816/http://files.avast.com/iavs9x/ava...
$ sha1sum avast_free_antivirus_setup.exe 637259aded126989a6cf4144654c40b8634d502d avast_free_antivirus_setup.exe
$ du -sh avast_free_antivirus_setup.exe 91M avast_free_antivirus_setup.exe
Regards