https://bugs.winehq.org/show_bug.cgi?id=41573
Bug ID: 41573 Summary: Battle.net: SystemSurvey.exe crashes on starting Battle.net Product: Wine Version: 1.9.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sworddragon2@aol.com Distribution: ---
Created attachment 55909 --> https://bugs.winehq.org/attachment.cgi?id=55909 Terminal output
On starting Battle.net immediately a window is shown that SystemSurvey.exe has encountered a problem but this doesn't seem to affect directly the Battle.net launcher as it continues to work. In the attachments is the terminal output.
https://bugs.winehq.org/show_bug.cgi?id=41573
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick@piezo-forte.be
--- Comment #1 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Works for me.
Quote from http://www.mmo-champion.com/threads/1477774-What-do-people-have-against-the-...
"for XP users running hardware that's not high, running bnet launcher also runs systemsurvey.exe which causes BSOD's - easy fix there, delete systemsurvey.exe from wow and bnet folders."
There are other similar reports on the Web.
Not a Wine bug AFAICT.
https://bugs.winehq.org/show_bug.cgi?id=41573
--- Comment #2 from sworddragon2@aol.com --- Hm, I'm on the Windows 7 mode with Wine. Does this issue appear for you if you use this mode too?
https://bugs.winehq.org/show_bug.cgi?id=41573
--- Comment #3 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- I set windows 7 in winecfg and the issue still does not appear.
I noticed that your prefix is 64 bit. Mine is 32 bit. I installed Battle.net from scratch in a clean 64 bit wineprefix set to win 7 and the issue still does not appear (only issue is bug 38845).
I can't reproduce the issue so far.
Do the issue appears if you close Battle.net, backup C:\Program Files (x86)\Battle.net\SystemSurvey.exe and remove it, then restart Battle.net?
https://bugs.winehq.org/show_bug.cgi?id=41573
--- Comment #4 from sworddragon2@aol.com --- On creating a new profile this issue doesn't appear anymore. Not sure what causes it on my old profile as it was reset not many weeks ago.
https://bugs.winehq.org/show_bug.cgi?id=41573
siren@sirenwatcher.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |siren@sirenwatcher.com
--- Comment #5 from siren@sirenwatcher.com --- Created attachment 55942 --> https://bugs.winehq.org/attachment.cgi?id=55942 Backtrace
https://bugs.winehq.org/show_bug.cgi?id=41573
--- Comment #6 from siren@sirenwatcher.com --- Running it on an old version on my laptop, booted the battle.net fine. As soon as it updates to the new 8098 it breaks it. I have tried deleting battle.net helper.exe. It has not solved my problem. I have purged wine from my harddrive, reinstalled it. Both the stable and devel and it wont work. I purge and redownloaded battle.net. Its not working. WoW itself loads fine. But battle.net its functioning properly. The new update to battle.net the other day, was a major update to its file. It was a large download, as blizzard are now integrating a voice chat service into the functionality of the program, changing its UI and capabilities. So, I would imagine... something has gone wrong. I uploaded a dropout/backtrace.
https://bugs.winehq.org/show_bug.cgi?id=41573
--- Comment #7 from siren@sirenwatcher.com --- (In reply to siren from comment #6)
Running it on an old version on my laptop, booted the battle.net fine. As soon as it updates to the new 8098 it breaks it. I have tried deleting battle.net helper.exe. It has not solved my problem. I have purged wine from my harddrive, reinstalled it. Both the stable and devel and it wont work. I purge and redownloaded battle.net. Its not working. WoW itself loads fine. But battle.net its functioning properly. The new update to battle.net the other day, was a major update to its file. It was a large download, as blizzard are now integrating a voice chat service into the functionality of the program, changing its UI and capabilities. So, I would imagine... something has gone wrong. I uploaded a dropout/backtrace.
Within like 20 minutes. Its now working. Not sure whether writing here, or writing in the blizzard forums did it. Either way, much appreciated.
I was fucking around in Synapse, with the diff devel n staging files. But I'm not sure thats what it was. Either way, works now. After like me trying for 2-3 days to get it to work. Rofl. Thankyou!
https://bugs.winehq.org/show_bug.cgi?id=41573
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #8 from winetest@luukku.com --- (In reply to siren from comment #5)
Created attachment 55942 [details] Backtrace
This problem is definitely font related. Workaround is winetricks -q corefonts. Some say that it requires a reboot of computer. But I had to restart battle.net.
Are you guys still having this issue? The last comment indicates that the problem has vanished?
https://bugs.winehq.org/show_bug.cgi?id=41573
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #9 from Rosanne DiMesio dimesio@earthlink.net --- Comments 5 through 7 are not from the OR and have absolutely nothing to do with the original problem reported here.
According to comment 4, the issue actually reported here disappeared for the OR after creating a new profile, so marking invalid.
https://bugs.winehq.org/show_bug.cgi?id=41573
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Jeff Zaroyko jeffz@jeffz.name --- Closing invalid.
https://bugs.winehq.org/show_bug.cgi?id=41573
Storm Engineer hewanci@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hewanci@gmail.com
--- Comment #11 from Storm Engineer hewanci@gmail.com --- I still have this issue.
64 bit prefix, Win 7 mode, Staging, Arch.
https://bugs.winehq.org/show_bug.cgi?id=41573
Adam Bolte abolte@systemsaviour.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abolte@systemsaviour.com
--- Comment #12 from Adam Bolte abolte@systemsaviour.com --- I'm seeing this too using a default Windows 7 64-bit prefix on an unpatched Wine 3.2.
Is it possible that only some random users get the survey (like the way Steam does their survey), hence creating a new problem "solved" the issue?
Either way, I feel this should be re-opened and bug #43916 marked as a duplicate.
https://bugs.winehq.org/show_bug.cgi?id=41573
--- Comment #13 from Adam Bolte abolte@systemsaviour.com --- "hence creating a new problem" was meant to be "hence creating a new profile".
https://bugs.winehq.org/show_bug.cgi?id=41573
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Battle.net: |Battle.net: |SystemSurvey.exe crashes on |SystemSurvey.exe crashes on |starting Battle.net |startup (GUI process can't | |attach to parent process | |console, 'AttachConsole' is | |a stub) URL| |https://eu.battle.net/accou | |nt/download/ CC| |focht@gmx.net Component|-unknown |kernel32 Keywords| |download Status|CLOSED |REOPENED Ever confirmed|0 |1 Resolution|INVALID |---
--- Comment #14 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
The user profile status might have an influence if the app is run or not.
One can reliably reproduce the problem by using the 'start' method (which provides a parent process).
This works:
--- snip --- $ pwd /home/focht/wine-games/wineprefix64-bnet/drive_c/Program Files (x86)/Battle.net/Battle.net.9799
$ WINEDEBUG=+process wine SystemSurvey.exe --version 0009:trace:process:init_current_directory starting in L"C:\Program Files (x86)\Battle.net\Battle.net.9799\" 0x8 ... 0009:trace:process:__wine_kernel_init starting process name=L"C:\Program Files (x86)\Battle.net\Battle.net.9799\SystemSurvey.exe" argv[0]=L"C:\Program Files (x86)\Battle.net\Battle.net.9799\SystemSurvey.exe" ... 0009:fixme:console:AttachConsole stub ffffffff 0009:trace:process:create_process_impl app (null) cmdline L"C:\ProgramData/Battle.net/Agent/Agent.exe" 0009:trace:process:find_exe_file looking for L"C:\ProgramData/Battle.net/Agent/Agent.exe" 0009:trace:process:find_exe_file Trying native exe L"C:\ProgramData\Battle.net\Agent\Agent.exe" 0009:trace:process:create_process_impl starting L"C:\ProgramData\Battle.net\Agent\Agent.exe" as Win32 binary (400000-4af000, arch 014c) 0030:trace:process:init_current_directory starting in L"C:\Program Files (x86)\Battle.net\Battle.net.9799\" 0x20 0030:trace:process:__wine_kernel_init starting process name=L"C:\ProgramData\Battle.net\Agent\Agent.exe" argv[0]=L"C:\ProgramData/Battle.net/Agent/Agent.exe" 0009:trace:process:create_process_impl started process pid 002f tid 0030 ... 0009:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7d4e936c,(nil): stub 0009:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform 0009:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported System Survey Version: 2.4.0.47 Data Version: 3 Git Revision: v2.3.1.44-49-g17d512a Copyright (C) 2013 Blizzard Entertainment. All rights reserved. --- snip ---
(last lines are actual console output)
Using 'start' method to simulate battle.net process startup hierarchy it crashes:
--- snip --- $ pwd /home/focht/wine-games/wineprefix64-bnet/drive_c/Program Files (x86)/Battle.net/Battle.net.9799
$ WINEDEBUG=+process wine start SystemSurvey.exe --version 004f:trace:process:init_current_directory starting in L"C:\Program Files (x86)\Battle.net\Battle.net.9799\" 0x8 004f:trace:process:__wine_kernel_init starting process name=L"C:\windows\system32\start.exe" argv[0]=L"C:\windows\system32\start.exe" ... 004f:fixme:exec:SHELL_execute flags ignored: 0x00000100 004f:trace:process:create_process_impl app (null) cmdline L""SystemSurvey.exe" --version" 004f:trace:process:find_exe_file looking for L"SystemSurvey.exe" 004f:trace:process:find_exe_file Trying native exe L"C:\Program Files (x86)\Battle.net\Battle.net.9799\SystemSurvey.exe" 004f:trace:process:create_process_impl starting L"C:\Program Files (x86)\Battle.net\Battle.net.9799\SystemSurvey.exe" as Win32 binary (400000-629000, arch 014c) 0051:trace:process:init_current_directory starting in L"C:\Program Files (x86)\Battle.net\Battle.net.9799\" 0x14 0051:trace:process:__wine_kernel_init starting process name=L"C:\Program Files (x86)\Battle.net\Battle.net.9799\SystemSurvey.exe" argv[0]=L"SystemSurvey.exe" 004f:trace:process:create_process_impl started process pid 0050 tid 0051 ... 0051:fixme:console:AttachConsole stub ffffffff 0051:trace:process:create_process_impl app (null) cmdline L"C:\ProgramData/Battle.net/Agent/Agent.exe" 0051:trace:process:find_exe_file looking for L"C:\ProgramData/Battle.net/Agent/Agent.exe" 0051:trace:process:find_exe_file Trying native exe L"C:\ProgramData\Battle.net\Agent\Agent.exe" 0051:trace:process:create_process_impl starting L"C:\ProgramData\Battle.net\Agent\Agent.exe" as Win32 binary (400000-4af000, arch 014c) 0054:trace:process:init_current_directory starting in L"C:\Program Files (x86)\Battle.net\Battle.net.9799\" 0x14 0054:trace:process:__wine_kernel_init starting process name=L"C:\ProgramData\Battle.net\Agent\Agent.exe" argv[0]=L"C:\ProgramData/Battle.net/Agent/Agent.exe" ... 0051:trace:process:create_process_impl started process pid 0053 tid 0054 ... 0051:fixme:kerberos:kerberos_SpInstanceInit 65536,0x7d53436c,(nil): stub 0051:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform 0051:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported wine: Unhandled exception 0xc0000417 in thread 51 at address 0x523586 (thread 0051), starting debugger... --- snip ---
The 'SystemSurvey' process uses a 'minidump' thread to store crashes and other info here (albeit not really interesting):
--- snip --- $ pwd /home/focht/wine-games/wineprefix64-bnet/drive_c
$ tree --charset=ANSI "./users/focht/Local Settings/Application Data/Blizzard Entertainment/System Survey" ./users/focht/Local\ Settings/Application\ Data/Blizzard\ Entertainment/System\ Survey |-- Errors | `-- 2018-02-16\ 15.23.28 | |-- Crash.txt | `-- dxdiag.txt `-- log.txt
2 directories, 3 files --- snip ---
Process hierarchy:
--- snip --- Wine-dbg>info process
pid threads executable (all id:s are in hex) 0000003a 18 'Agent.exe' 0000003c 1 _ 'wineconsole.exe' 00000027 4 'explorer.exe' 0000000e 5 'services.exe' 00000020 4 _ 'winedevice.exe' 0000001a 3 _ 'plugplay.exe' 00000011 4 _ 'winedevice.exe' 00000008 63 'Battle.net.exe' 000000b1 20 _ 'Battle.net Helper.exe' 00000080 2 _ 'SystemSurvey.exe' --- snip ---
The problem is related to interaction with the console subsystem, specifically that Wine only provides a stub for 'AttachConsole'.
'SystemSurvey.exe' is marked as GUI process (PE Optional Header: Subsystem = 0x0002 = WINDOWS_GUI) but uses console to print output.
Relevant part of trace:
--- snip --- $ pwd /home/focht/wine-games/wineprefix64-bnet/drive_c
$ WINEDEBUG=+seh,+relay,+server,+process wine ./Battle.net.exe >>log.txt 2>&1 ... 0009: new_process( inherit_all=0, create_flags=00000410, socket_fd=248, exe_file=040c, process_access=001fffff, process_attr=00000000, thread_access=001fffff, thread_attr=00000000, cpu=x86, info_size=872, info={debug_flags=0,console_flags=0,console=0001,hstdin=ffffffff,hstdout=0004,hstderr=0008,x=0,y=0,xsize=0,ysize=0,xchars=0,ychars=0,attribute=00,flags=1,show=5,curdir=L"C:\Program Files (x86)\Battle.net\Battle.net.9799\",dllpath=L"C:\Program Files (x86)\Battle.net;C:\windows\system32;C:\windows\system;C:\windows;.;C:\windows\system32;C:\windows;C:\windows\system32\wbem",imagepath=L"C:\Program Files (x86)\Battle.net\Battle.net.9799\SystemSurvey.exe",cmdline=L""C:/Program Files (x86)/Battle.net/Battle.net.9799/SystemSurvey.exe"",title=L"C:\Program Files (x86)\Battle.net\Battle.net.9799\SystemSurvey.exe",desktop=L"",shellinfo=L"",runtime=L""}, env=L"WINEDEBUG=+seh,+relay,+server,+process
0009: *fd* 0224 -> 550 0009: new_process() = 0 { info=0410, pid=007e, phandle=0414, tid=007f, thandle=0418 } ... 007f: init_process_done( gui=1, module=00400000, ldt_copy=f7799520, entry=005188b6 ) ... 007f: get_console_mode( handle=0004 ) 007f: get_console_mode() = OBJECT_TYPE_MISMATCH { mode=0 } ... 007f: get_console_mode( handle=0008 ) 007f: get_console_mode() = OBJECT_TYPE_MISMATCH { mode=0 } ... 007f: get_process_winstation( ) 007f: get_process_winstation() = 0 { handle=0004 } 007f: get_thread_desktop( tid=007f ) 007f: get_thread_desktop() = 0 { handle=0008 } ... 007f:Call KERNEL32.GetStartupInfoW(0033fdc8) ret=005392f0 007f:Ret KERNEL32.GetStartupInfoW() retval=00000011 ret=005392f0 007f:Call KERNEL32.GetStdHandle(fffffff6) ret=005393e6 007f:Ret KERNEL32.GetStdHandle() retval=00000000 ret=005393e6 007f:Call KERNEL32.GetStdHandle(fffffff5) ret=005393e6 007f:Ret KERNEL32.GetStdHandle() retval=00000004 ret=005393e6 007f:Call KERNEL32.GetFileType(00000004) ret=005393f8 007f: get_handle_fd( handle=0004 ) 007f: get_handle_fd() = OBJECT_TYPE_MISMATCH { type=0, cacheable=0, access=00000000, options=00000000 } 007f:Ret KERNEL32.GetFileType() retval=00000000 ret=005393f8 007f:Call KERNEL32.GetStdHandle(fffffff4) ret=005393e6 007f:Ret KERNEL32.GetStdHandle() retval=00000008 ret=005393e6 007f:Call KERNEL32.GetFileType(00000008) ret=005393f8 007f: get_handle_fd( handle=0008 ) 007f: get_handle_fd() = OBJECT_TYPE_MISMATCH { type=0, cacheable=0, access=00000000, options=00000000 } 007f:Ret KERNEL32.GetFileType() retval=00000000 ret=005393f8 007f:Call KERNEL32.GetCommandLineA() ret=0053df6d 007f:Ret KERNEL32.GetCommandLineA() retval=0014b348 ret=0053df6d 007f:Call KERNEL32.GetCommandLineW() ret=0053df78 007f:Ret KERNEL32.GetCommandLineW() retval=0022065a ret=0053df78 ... 007f:Call KERNEL32.GetStartupInfoW(0033fe30) ret=00518a09 007f:Ret KERNEL32.GetStartupInfoW() retval=00000011 ret=00518a09 007f:Call KERNEL32.AttachConsole(ffffffff) ret=0040f35b 007f:fixme:console:AttachConsole stub ffffffff 007f:Ret KERNEL32.AttachConsole() retval=00000001 ret=0040f35b 007f:Call KERNEL32.GetLastError() ret=005386ac 007f:Ret KERNEL32.GetLastError() retval=0000013d ret=005386ac ... 007f:Call KERNEL32.CreateFileW(0015e468 L"CONIN$",80000000,00000003,0033fac0,00000003,00000080,00000000) ret=00535676 007f: open_console( from=0000, access=80000000, attributes=00000002, share=3 ) 007f: open_console() = ACCESS_DENIED { handle=0000 } 007f:Ret KERNEL32.CreateFileW() retval=ffffffff ret=00535676 007f:Call KERNEL32.GetLastError() ret=00535ab7 007f:Ret KERNEL32.GetLastError() retval=00000005 ret=00535ab7 ... 007f:Call KERNEL32.CreateFileW(0015e468 L"CONOUT$",40000000,00000003,0033fac0,00000002,00000080,00000000) ret=00535676 007f: open_console( from=0001, access=40000000, attributes=00000002, share=3 ) 007f: open_console() = ACCESS_DENIED { handle=0000 } 007f:Ret KERNEL32.CreateFileW() retval=ffffffff ret=00535676 007f:Call KERNEL32.GetLastError() ret=00535ab7 007f:Ret KERNEL32.GetLastError() retval=00000005 ret=00535ab7 ... 007f:Call KERNEL32.CreateFileW(0015e468 L"CONOUT$",40000000,00000003,0033fac0,00000002,00000080,00000000) ret=00535676 007f: open_console( from=0001, access=40000000, attributes=00000002, share=3 ) 007f: open_console() = ACCESS_DENIED { handle=0000 } 007f:Ret KERNEL32.CreateFileW() retval=ffffffff ret=00535676 007f:Call KERNEL32.GetLastError() ret=00535ab7 007f:Ret KERNEL32.GetLastError() retval=00000005 ret=00535ab7 ... 007f:Call KERNEL32.IsProcessorFeaturePresent(00000017) ret=0052356d 007f:Ret KERNEL32.IsProcessorFeaturePresent() retval=00000000 ret=0052356d 007f:Call KERNEL32.IsDebuggerPresent() ret=0052346d 007f:Ret KERNEL32.IsDebuggerPresent() retval=00000000 ret=0052346d 007f:Call KERNEL32.SetUnhandledExceptionFilter(00000000) ret=00523477 007f:Ret KERNEL32.SetUnhandledExceptionFilter() retval=00407240 ret=00523477 007f:Call KERNEL32.UnhandledExceptionFilter(0033eb30) ret=00523484 ... 007f:trace:seh:start_debugger Starting debugger "winedbg --auto 126 120" 007f:trace:process:create_process_impl app (null) cmdline L"winedbg --auto 126 120" ... --- snip ---
The last sequence, leading to the crash is just the MSCRT way of reporting 'STATUS_INVALID_CRUNTIME_PARAMETER' (0xc0000417).
The working case, simulated with direct start from console which works around that 'AttachConsole' is a stub (allowing to open 'CONIN$' and 'CONOUT$'):
--- snip --- ... 0030: init_thread( unix_pid=2751, unix_tid=2751, debug_level=1, teb=7ffd8000, entry=7ffdf000, reply_fd=5, wait_fd=7, cpu=x86 ) 0030: init_thread() = 0 { pid=002f, tid=0030, server_start=1d3a75c627d4728 (-0.4166900), info_size=10214, version=548, all_cpus=00000003, suspend=0 } 0030: get_startup_info( ) 0030: get_startup_info() = 0 { exe_file=0014, info_size=744, info={debug_flags=0,console_flags=0,console=0000,hstdin=0028,hstdout=0058,hstderr=005c,x=0,y=0,xsize=0,ysize=0,xchars=0,ychars=0,attribute=00,flags=100,show=0,curdir=L"C:\Program Files (x86)\Battle.net\Battle.net.9799\",dllpath=L"C:\windows\system32;C:\windows\system32;C:\windows\system;C:\windows;.;C:\windows\system32;C:\windows;C:\windows\system32\wbem",imagepath=L"C:\Program Files (x86)\Battle.net\Battle.net.9799\SystemSurvey.exe",cmdline=L"./SystemSurvey.exe",title=L"C:\Program Files (x86)\Battle.net\Battle.net.9799\SystemSurvey.exe",desktop=L"",shellinfo=L"",runtime=L""}, ... 0030:Call KERNEL32.GetStartupInfoW(0033fe30) ret=00518a09 0030:Ret KERNEL32.GetStartupInfoW() retval=00000011 ret=00518a09 0030:Call KERNEL32.AttachConsole(ffffffff) ret=0040f35b 0030:fixme:console:AttachConsole stub ffffffff 0030:Ret KERNEL32.AttachConsole() retval=00000001 ret=0040f35b ... 0030:Call KERNEL32.CreateFileW(0015d940 L"CONIN$",80000000,00000003,0033fac0,00000003,00000080,00000000) ret=00535676 0030: open_console( from=0000, access=80000000, attributes=00000002, share=3 ) 0030: open_console() = 0 { handle=0028 } 0030:Ret KERNEL32.CreateFileW() retval=0000002b ret=00535676 0030:Call KERNEL32.GetFileType(0000002b) ret=00535aca 0030:Ret KERNEL32.GetFileType() retval=00000002 ret=00535aca ... 0030:Call KERNEL32.CloseHandle(0000005b) ret=0053517e 0030: close_handle( handle=0058 ) 0030: close_handle() = 0 0030:Ret KERNEL32.CloseHandle() retval=00000001 ret=0053517e ... 0030:Call KERNEL32.CreateFileW(0015d940 L"CONOUT$",40000000,00000003,0033fac0,00000002,00000080,00000000) ret=00535676 0030: open_console( from=0001, access=40000000, attributes=00000002, share=3 ) 0030: open_console() = 0 { handle=0058 } 0030:Ret KERNEL32.CreateFileW() retval=0000005b ret=00535676 0030:Call KERNEL32.GetFileType(0000005b) ret=00535aca 0030:Ret KERNEL32.GetFileType() retval=00000002 ret=00535aca ... 0030:Call KERNEL32.CloseHandle(0000005f) ret=0053517e 0030: close_handle( handle=005c ) 0030: close_handle() = 0 0030:Ret KERNEL32.CloseHandle() retval=00000001 ret=0053517e ... 0030:Call KERNEL32.CreateFileW(0015d940 L"CONOUT$",40000000,00000003,0033fac0,00000002,00000080,00000000) ret=00535676 0030: open_console( from=0001, access=40000000, attributes=00000002, share=3 ) 0030: open_console() = 0 { handle=005c } 0030:Ret KERNEL32.CreateFileW() retval=0000005f ret=00535676 ... --- snip ---
Source: https://source.winehq.org/git/wine.git/blob/2936f3f9bb9dc01c595498a821d6adb6...
--- snip --- 2910 BOOL WINAPI AttachConsole(DWORD dwProcessId) 2911 { 2912 FIXME("stub %x\n",dwProcessId); 2913 return TRUE; 2914 } --- snip ---
https://stackoverflow.com/questions/493536/can-one-executable-be-both-a-cons...
http://www.csharp411.com/console-output-from-winforms-application/
$ sha1sum Battle.net-Setup.exe c85eefa0fdf5e7a68e5aa177c8267bc6d2ba08e8 Battle.net-Setup.exe
$ du -sh Battle.net-Setup.exe 3.8M Battle.net-Setup.exe
$ wine --version wine-3.2
Regards
https://bugs.winehq.org/show_bug.cgi?id=41573
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW
--- Comment #15 from Anastasius Focht focht@gmx.net --- Hello folks,
setting to 'NEW' after reopen since I confirmed.
Regards
https://bugs.winehq.org/show_bug.cgi?id=41573
--- Comment #16 from Anastasius Focht focht@gmx.net --- *** Bug 43916 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=41573
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rlicup808@gmail.com
--- Comment #17 from Anastasius Focht focht@gmx.net --- *** Bug 44543 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=41573
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |blue-t@web.de
https://bugs.winehq.org/show_bug.cgi?id=41573
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=41573
zzzzzyzz@hacari.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzzzzyzz@hacari.org
https://bugs.winehq.org/show_bug.cgi?id=41573
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #18 from Jacek Caban jacek@codeweavers.com --- Created attachment 61906 --> https://bugs.winehq.org/attachment.cgi?id=61906 AttachConsole implementation
The attached patch fixes the crash.
https://bugs.winehq.org/show_bug.cgi?id=41573
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Status|NEW |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/kernel32-AttachC | |onsole
https://bugs.winehq.org/show_bug.cgi?id=41573
--- Comment #19 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 43910 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=41573
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Battle.net: |Battle.net: |SystemSurvey.exe crashes on |SystemSurvey.exe and |startup (GUI process can't |Battle.net helper.exe crash |attach to parent process |(GUI process can't attach |console, 'AttachConsole' is |to parent process console, |a stub) |'AttachConsole' is a stub) Resolution|--- |FIXED Fixed by SHA1| |57212f64f8e4fef0c63c633940e | |13d407c0f2069 Status|STAGED |RESOLVED
--- Comment #20 from Gijs Vermeulen gijsvrm@gmail.com --- Changing title to reflect other affected battle.net app. Patch was also upstreamed as: 57212f64f8e4fef0c63c633940e13d407c0f2069 Marking FIXED.
https://bugs.winehq.org/show_bug.cgi?id=41573
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.14.