http://bugs.winehq.org/show_bug.cgi?id=32907
Bug #: 32907 Summary: Regression - ammyy admin crashes at startup again Product: Wine Version: 1.1.22 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: sprog@online.ru Classification: Unclassified
Regression AMMYY Admin AA_v3.exe crashes at startup again (worked with 20, 21).
20130206-13:17:07.557 000000BC - ERROR: ERROR: Unhandled Exception eip=7B83DBDA esp=007CE814 ebp=007CE888
http://bugs.winehq.org/show_bug.cgi?id=32907
--- Comment #1 from Igor Franchuk sprog@online.ru 2013-02-06 03:27:02 CST --- Only happens in Windows 7 mode. The quick workaround would be to set XP for AA_v3.exe
May be it would be a good idea to detect a crash and offer to try a different platform or do it automatically.
http://bugs.winehq.org/show_bug.cgi?id=32907
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net 2013-02-06 08:43:06 CST --- You selected 1.1.22 from the list; that version is several years old. The current development release is 1.5.23. Please retest in current Wine if you haven't done so, or correct the version field if you selected 1.1.22 by mistake.
http://bugs.winehq.org/show_bug.cgi?id=32907
Igor Franchuk sprog@online.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.22 |1.5.22
http://bugs.winehq.org/show_bug.cgi?id=32907
--- Comment #3 from Igor Franchuk sprog@online.ru 2013-02-07 02:33:19 CST --- (In reply to comment #2)
You selected 1.1.22 from the list; that version is several years old. The current development release is 1.5.23. Please retest in current Wine if you haven't done so, or correct the version field if you selected 1.1.22 by mistake.
Sorry. The correct versions is 1.5.22
AAMMY works in XP mode but crashes in Windows 7. The compatibility note states v3 is compatible with Windows 7 yet it crashes. May be it's a sign of a bug affecting other applications as well.
http://bugs.winehq.org/show_bug.cgi?id=32907
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #4 from Rosanne DiMesio dimesio@earthlink.net 2013-02-07 06:32:04 CST --- Please run a regression test. http://wiki.winehq.org/RegressionTesting
Setting severity to minor because there's an easy workaround.
Does the crash occur with the other Windows versions above XP (2003, Vista, etc.)?
http://bugs.winehq.org/show_bug.cgi?id=32907
--- Comment #5 from Igor Franchuk sprog@online.ru 2013-02-07 07:58:20 CST --- (In reply to comment #4)
Please run a regression test. http://wiki.winehq.org/RegressionTesting
Setting severity to minor because there's an easy workaround.
Does the crash occur with the other Windows versions above XP (2003, Vista, etc.)?
2003 is the last mode for AMMY, everything above it crashes it with:
20130207-17:53:27.459 00000060 - ERROR: ERROR: Unhandled Exception eip=7B83DBDA esp=007CE814 ebp=007CE888
Thanks!
http://bugs.winehq.org/show_bug.cgi?id=32907
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=32907
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com Summary|Regression - ammyy admin |AMMYY Admin crashes at |crashes at startup again |startup
http://bugs.winehq.org/show_bug.cgi?id=32907
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.ammyy.com/AA_v3. | |0.exe
http://bugs.winehq.org/show_bug.cgi?id=32907
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|AMMYY Admin crashes at |AMMYY Admin v3.0 crashes at |startup |startup in Win7 mode
http://bugs.winehq.org/show_bug.cgi?id=32907
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-06-16 15:57:10 CDT --- I get the same app crash in win7 mode (no window displayed/wine hangs) with wine-1.6-rc2 (in AMMYY_service.log)
Difference from XP mode:
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevation, ...) semi-stub fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub. fixme:ntdll:NtSetInformationToken unimplemented class 12
I still get the issue with 1.5.20 and 1.5.21 which apparently worked for you (I used 32-bit wine on x86_64).
What was the last known version that worked for you?
http://bugs.winehq.org/show_bug.cgi?id=32907
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression |
--- Comment #7 from Frédéric Delanoy frederic.delanoy@gmail.com 2013-06-20 11:09:57 CDT --- Removing regression keyword since d844ceeae8faac9b96fa3e56a0607b2e7c1ae97d exposed the issue.
Before that commit, one couldn't go that far. Didn't work with 1.5.20 and 1.5.21 either.
https://bugs.winehq.org/show_bug.cgi?id=32907
narri xqwerty123@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xqwerty123@luukku.com
--- Comment #8 from narri xqwerty123@luukku.com --- More up to date location
works xp mode, fails win7 mode
wine 1.7.42
https://bugs.winehq.org/show_bug.cgi?id=32907
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- These lines are printed out when switching into windows 7 mode.
fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevation, ...) semi-stub fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub. fixme:ntdll:NtSetInformationToken unimplemented class 12
wine 1.7.49 (not fixed)
https://bugs.winehq.org/show_bug.cgi?id=32907
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.ammyy.com/AA_v3. |http://www.ammyy.com/AA_v3. |0.exe |exe CC| |focht@gmx.net Component|-unknown |ntdll Summary|AMMYY Admin v3.0 crashes at |AMMYY Admin v3.0 crashes at |startup in Win7 mode |startup in Win7 mode | |('NtSetInformationToken' | |needs to support | |'TokenSessionId')
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
It seems my browser flags this download as spyware/malware probably due to repeated (ab)use by shady guys ;-)
The client launches a service which fails to start up properly and then spins forever waiting for the service.
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+service,+msvcrt wine ./AA_v3.exe >>log.txt 2>&1 ... 0009:Call advapi32.CreateServiceW(00153fa0,004d1d3c L"AmmyyAdmin_8",004d1d6c L"AmmyyAdmin_8",000f01ff,00000010,00000002,00000001,004d1e0c L""Z:\home\focht\Downloads\AA_v3.exe" -service -lunch",00000000,00000000,00000000,00000000,00000000) ret=0042003c ... 0009:trace:service:CreateServiceW 0x153fa0 L"AmmyyAdmin_8" L"AmmyyAdmin_8" ... 0017:trace:service:svcctl_CreateServiceW (L"AmmyyAdmin_8", L"AmmyyAdmin_8", 0xf01ff, L""Z:\home\focht\Downloads\AA_v3.exe" -service -lunch") 0017:trace:service:create_serviceW (L"AmmyyAdmin_8", L"AmmyyAdmin_8", 0xf01ff, L""Z:\home\focht\Downloads\AA_v3.exe" -service -lunch") ... 0016:Call KERNEL32.CreateProcessW(00000000,0011a588 L""Z:\home\focht\Downloads\AA_v3.exe" -service -lunch",00000000,00000000,00000000,00000400,00540000,00000000,0084e3c4,0084e408) ret=7ed5756f ... 0029:Call KERNEL32.__wine_kernel_init() ret=7bc6b3cb ... 0016:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7ed5756f ... 0016:trace:service:service_send_start_message L"AmmyyAdmin_8" 0x11a298 2 ... 0009:Call advapi32.QueryServiceStatus(00153e30,0032f3d0) ret=00420835 0009:trace:service:QueryServiceStatus 0x153e30 0x32f3d0 0009:trace:service:QueryServiceStatusEx 0x153e30 0 0x32f318 36 0x32f314 ... 0009:Ret advapi32.QueryServiceStatus() retval=00000001 ret=00420835 ... <repeats forever> --- snip ---
The failing service:
--- snip --- ... 002d:Starting thread proc 0x7ebd0fc4 (arg=0x14c468) 002d:trace:service:service_thread 0x14c468 002d:Call advapi32.RegisterServiceCtrlHandlerExA(004a10b8 "AmmyyAdmin",0041f4cb,00000021) ret=0041f339 002d:trace:service:RegisterServiceCtrlHandlerExW L"AmmyyAdmin" 0x41f4cb 0x21 002d:Ret advapi32.RegisterServiceCtrlHandlerExA() retval=0014c5b0 ret=0041f339 002d:Call advapi32.SetServiceStatus(0014c5b0,004af9dc) ret=0041f566 002d:trace:service:SetServiceStatus 0x14c5b0 30 2 0 0 0 1 3a98 ... 002d:Ret advapi32.SetServiceStatus() retval=00000001 ret=0041f566 ... 002d:Call advapi32.OpenProcessToken(ffffffff,000f01ff,007de8d8) ret=0041fb49 002d:Ret advapi32.OpenProcessToken() retval=00000001 ret=0041fb49 002d:Call advapi32.DuplicateTokenEx(00000084,02000000,00000000,00000002,00000001,007de8dc) ret=0041fb8f 002d:Ret advapi32.DuplicateTokenEx() retval=00000001 ret=0041fb8f 002d:Call KERNEL32.CloseHandle(00000084) ret=0041fbcf 002d:Ret KERNEL32.CloseHandle() retval=00000001 ret=0041fbcf 002d:Call advapi32.SetTokenInformation(00000088,0000000c,007de8e8,00000004) ret=0041fbf1 002d:fixme:ntdll:NtSetInformationToken unimplemented class 12 002d:Ret advapi32.SetTokenInformation() retval=00000000 ret=0041fbf1 002d:Call KERNEL32.GetLastError() ret=0041fbfb 002d:Ret KERNEL32.GetLastError() retval=00000001 ret=0041fbfb 002d:Call KERNEL32.CloseHandle(00000088) ret=0041fc02 002d:Ret KERNEL32.CloseHandle() retval=00000001 ret=0041fc02 ... 002d:Call msvcrt.vsprintf(004d18bc,004a414c "ERROR: SetTokenInformation() error=%d",007de8c0) ret=0042b972 002d:trace:msvcrt:pf_printf_a Format is: "ERROR: SetTokenInformation() error=%d" 002d:Ret msvcrt.vsprintf() retval=00000024 ret=0042b972 002d:Call KERNEL32.lstrlenA(004d18bc "ERROR: SetTokenInformation() error=1") ret=0042ad86 002d:Ret KERNEL32.lstrlenA() retval=00000024 ret=0042ad86 002d:Call msvcrt._CxxThrowException(007de8cc,0048f06c) ret=0041fc22 002d:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,007de864) ret=7e579df5 002d:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b845d3d ip=7b845d3d tid=002d 002d:trace:seh:raise_exception info[0]=19930520 002d:trace:seh:raise_exception info[1]=007de8cc 002d:trace:seh:raise_exception info[2]=0048f06c 002d:trace:seh:raise_exception eax=7b832afd ebx=00000000 ecx=0000000c edx=007de7b4 esi=007de860 edi=007de820 002d:trace:seh:raise_exception ebp=007de7f8 esp=007de794 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200202 ... 002d:trace:msvcrt:pf_printf_a Format is: "ERROR: ERROR: Unhandled Exception eip=7B845D3D esp=007DE794 ebp=007DE7F8" ... 002d:Call KERNEL32.CreateFileW(004afb18 L"Z:\home\focht\Downloads\AMMYY_service.log",00000002,00000003,00000000,00000004,00000080,00000000) ret=0042830c ... 002d:Call KERNEL32.ExitProcess(00000000) ret=00425625 --- snip --
$ sha1sum AA_v3.exe 63c52b0ac68ab7464e2cd777442a5807db9b5383 AA_v3.exe
$ du -sh AA_v3.exe 756K AA_v3.exe
$ wine --version wine-1.7.49
Regards
https://bugs.winehq.org/show_bug.cgi?id=32907
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/ntdll-NtSetInf | |ormationToken CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=32907
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=32907
Anastasius Focht focht@gmx.net 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-NtSetInf |er/patches/ntdll-NtSetInfor |ormationToken |mationToken Severity|minor |normal
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
$ wine --version wine-3.4
Regards
https://bugs.winehq.org/show_bug.cgi?id=32907
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|STAGED |RESOLVED Fixed by SHA1| |de8d20436905a7394fd6fbbe1f3 | |12ffac7c2db2c
--- Comment #12 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/de8d20436905a7394fd6fbbe1f...
Thanks Michael, Alistair
It still doesn't work because the app starts a "helper" service which starts another process via 'CreateProcessAsUser' which exits due to missing SECURITY_LOCAL_SYSTEM_RID in user token, leading to endless launch loop.
Windows SCM automatically adds SECURITY_LOCAL_SYSTEM_RID when starting a service process -> bug 16882
--- snip --- ... 0033:Call advapi32.SetTokenInformation(00000088,0000000c,007efdc8,00000004) ret=0041fbf1 0033:fixme:ntdll:NtSetInformationToken TokenSessionId stub! 0033:Ret advapi32.SetTokenInformation() retval=00000001 ret=0041fbf1 0033:Call advapi32.CreateProcessAsUserW(00000088,00000000,004d17c4 L""Z:\home\focht\Downloads\install\AA_v3.exe"",00000000,00000000,00000000,00000000,00000000,00000000,007efdd8,007efe1c) ret=0041fdab 0033:fixme:advapi:CreateProcessAsUserW 0x88 (null) L""Z:\home\focht\Downloads\install\AA_v3.exe"" (nil) (nil) 0 0x00000000 (nil) (null) 0x7efdd8 0x7efe1c - semi-stub ... 0035:Call KERNEL32.__wine_kernel_init() ret=7bc6cef2 0033:Ret advapi32.CreateProcessAsUserW() retval=00000001 ret=0041fdab ... 0035:Call KERNEL32.ProcessIdToSessionId(00000034,004afd40) ret=00424d80 0035:Ret KERNEL32.ProcessIdToSessionId() retval=00000001 ret=00424d80 ... 0035:Call advapi32.OpenProcessToken(ffffffff,00020008,0033f288) ret=0040756f 0035:Ret advapi32.OpenProcessToken() retval=00000001 ret=0040756f 0035:Call advapi32.GetTokenInformation(00000078,00000001,0033d278,00002000,0033f284) ret=004075b8 0035:Ret advapi32.GetTokenInformation() retval=00000001 ret=004075b8 0035:Call KERNEL32.CloseHandle(00000078) ret=004075c3 0035:Ret KERNEL32.CloseHandle() retval=00000001 ret=004075c3 0035:Call advapi32.ConvertSidToStringSidA(0033d280,0033f28c) ret=004075f9 0035:Ret advapi32.ConvertSidToStringSidA() retval=00000001 ret=004075f9 0035:Call msvcrt._stricmp(00167d70 "S-1-5-21-0-0-0-1000",004a13a0 "S-1-5-18") ret=00407610 0035:Ret msvcrt._stricmp() retval=00000001 ret=00407610 ... --- snip ---
$ sha1sum AA_v3.exe 63c52b0ac68ab7464e2cd777442a5807db9b5383 AA_v3.exe
$ du -sh AA_v3.exe 756K AA_v3.exe
$ wine --version wine-3.8-128-g8e9ea7a8a1
Regards
https://bugs.winehq.org/show_bug.cgi?id=32907
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.9.
https://bugs.winehq.org/show_bug.cgi?id=32907
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=32907
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #14 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.3.
https://bugs.winehq.org/show_bug.cgi?id=32907
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.ammyy.com/AA_v3. |https://web.archive.org/web |exe |/20150810052334/http://70.3 | |8.40.189/AA_v3.exe