[Bug 45251] New: Can't start Steam
https://bugs.winehq.org/show_bug.cgi?id=45251 Bug ID: 45251 Summary: Can't start Steam Product: Wine Version: 3.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: 3dk(a)protonmail.com Distribution: --- Created attachment 61496 --> https://bugs.winehq.org/attachment.cgi?id=61496 TerminalOutput I'm using Arch Linux and trying to start steam with Wine 3.8 in a 64-bit wineprefix. When I start steam.exe the updater works, but after that I get an error and it gets stuck. The update window disappears, there is no login window and nothing else happens. I attached the terminal output for starting steam in Windows 7 mode and windows XP (switching between them with winecfg). The output for the two modes is slightly different. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 --- Comment #1 from Daniel Berger <3dk(a)protonmail.com> --- Comment on attachment 61496 --> https://bugs.winehq.org/attachment.cgi?id=61496 TerminalOutput --Edit, missed some of the output for win7 mode-- 0030:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform 0030:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported 002e:fixme:ntdll:EtwEventRegister ({47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f006de0, 0x3f0491d8, 0x3f0491d0) stub. 002e:fixme:ntdll:EtwEventRegister ({58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f006de0, 0x3f049210, 0x3f049208) stub. 002e:fixme:ntdll:EtwEventRegister ({3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f006de0, 0x3f0491a0, 0x3f049198) stub. 002e:fixme:ntdll:EtwEventRegister ({1432afee-73b0-42ce-9821-7e134361b433}, 0x3f006de0, 0x3f049248, 0x3f049240) stub. 002e:fixme:ntdll:EtwEventRegister ({4372afee-73b0-42ce-9821-7e134361b519}, 0x3f006de0, 0x3f049280, 0x3f049278) stub. 002e:fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub. 0032:fixme:win:RegisterDeviceNotificationW (hwnd=0x20050, filter=0x466fdec,flags=0x00000000) returns a fake device notification handle! 002e:fixme:imm:ImmGetOpenStatus (0xadb600): semi-stub 002e:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\bin\\cef\\cef.win7\\steamwebhelper.exe" 002e:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\bin\\cef\\cef.win7\\steamwebhelper.exe" 002e:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\logs\\cef_log.txt" 002e:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\logs\\cef_log.txt" 002e:fixme:dwmapi:DwmSetWindowAttribute (0x10092, 2, 0x33ddc4, 4) stub 002e:fixme:dwmapi:DwmExtendFrameIntoClientArea (0x10092, 0x33ddb4) stub 0034:fixme:process:SetProcessDEPPolicy (3): stub 002e:fixme:advapi:StopTraceA (0, "Steam Event Tracing", 0x33e1b4) stub 002e:fixme:advapi:StartTraceA (0x33e240, "Steam Event Tracing", 0x33e1b4) stub 002e:fixme:advapi:OpenTraceA 0x33df80: stub 002e:fixme:advapi:EnableTrace (1, 0x10, 4, {22fb2cd6-0e7b-422b-a0c7-2fad1fd0e716}, cafe4242): stub 002e:fixme:advapi:CloseTrace cafe4242: stub 0039:fixme:advapi:ProcessTrace 0x49a9b0c0 1 (nil) (nil): stub 0038:err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased 0038:fixme:process:SetProcessDEPPolicy (3): stub wine: Unhandled exception 0x80000003 in thread 38 at address 0x1af6199 (thread 0038), starting debugger... 0038:err:seh:start_debugger Couldn't start debugger ("winedbg --auto 55 156") (2) Read the Wine Developers Guide on how to set up winedbg or another debugger 0034:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 0034:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub 0034:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x1b1ae80, 0x5508390, 0x5531208) stub. 0034:err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 --- Comment #2 from Daniel Berger <3dk(a)protonmail.com> --- Comment on attachment 61496 --> https://bugs.winehq.org/attachment.cgi?id=61496 TerminalOutput --output for win7 mode-- 0030:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform 0030:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported 002e:fixme:ntdll:EtwEventRegister ({47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f006de0, 0x3f0491d8, 0x3f0491d0) stub. 002e:fixme:ntdll:EtwEventRegister ({58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f006de0, 0x3f049210, 0x3f049208) stub. 002e:fixme:ntdll:EtwEventRegister ({3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f006de0, 0x3f0491a0, 0x3f049198) stub. 002e:fixme:ntdll:EtwEventRegister ({1432afee-73b0-42ce-9821-7e134361b433}, 0x3f006de0, 0x3f049248, 0x3f049240) stub. 002e:fixme:ntdll:EtwEventRegister ({4372afee-73b0-42ce-9821-7e134361b519}, 0x3f006de0, 0x3f049280, 0x3f049278) stub. 002e:fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub. 0032:fixme:win:RegisterDeviceNotificationW (hwnd=0x20050, filter=0x466fdec,flags=0x00000000) returns a fake device notification handle! 002e:fixme:imm:ImmGetOpenStatus (0xadb600): semi-stub 002e:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\bin\\cef\\cef.win7\\steamwebhelper.exe" 002e:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\bin\\cef\\cef.win7\\steamwebhelper.exe" 002e:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\logs\\cef_log.txt" 002e:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\logs\\cef_log.txt" 002e:fixme:dwmapi:DwmSetWindowAttribute (0x10092, 2, 0x33ddc4, 4) stub 002e:fixme:dwmapi:DwmExtendFrameIntoClientArea (0x10092, 0x33ddb4) stub 0034:fixme:process:SetProcessDEPPolicy (3): stub 002e:fixme:advapi:StopTraceA (0, "Steam Event Tracing", 0x33e1b4) stub 002e:fixme:advapi:StartTraceA (0x33e240, "Steam Event Tracing", 0x33e1b4) stub 002e:fixme:advapi:OpenTraceA 0x33df80: stub 002e:fixme:advapi:EnableTrace (1, 0x10, 4, {22fb2cd6-0e7b-422b-a0c7-2fad1fd0e716}, cafe4242): stub 002e:fixme:advapi:CloseTrace cafe4242: stub 0039:fixme:advapi:ProcessTrace 0x49a9b0c0 1 (nil) (nil): stub 0038:err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased 0038:fixme:process:SetProcessDEPPolicy (3): stub wine: Unhandled exception 0x80000003 in thread 38 at address 0x1af6199 (thread 0038), starting debugger... 0038:err:seh:start_debugger Couldn't start debugger ("winedbg --auto 55 156") (2) Read the Wine Developers Guide on how to set up winedbg or another debugger 0034:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 0034:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub 0034:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x1b1ae80, 0x5508390, 0x5531208) stub. 0034:err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased
--Terminal Output WinXP mode--
0032:fixme:process:ProcessIdToSessionId Unsupported for other processes. 0039:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform 0039:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported 0032:fixme:ver:GetCurrentPackageId (0x33fd54 (nil)): stub 0051:fixme:ntdll:EtwEventRegister ({47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f006de0, 0x3f0491d8, 0x3f0491d0) stub. 0051:fixme:ntdll:EtwEventRegister ({58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f006de0, 0x3f049210, 0x3f049208) stub. 0051:fixme:ntdll:EtwEventRegister ({3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f006de0, 0x3f0491a0, 0x3f049198) stub. 0051:fixme:ntdll:EtwEventRegister ({1432afee-73b0-42ce-9821-7e134361b433}, 0x3f006de0, 0x3f049248, 0x3f049240) stub. 0051:fixme:ntdll:EtwEventRegister ({4372afee-73b0-42ce-9821-7e134361b519}, 0x3f006de0, 0x3f049280, 0x3f049278) stub. 0051:fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub. 0054:fixme:win:RegisterDeviceNotificationW (hwnd=0x40050, filter=0x521fdec,flags=0x00000000) returns a fake device notification handle! 0051:fixme:imm:ImmGetOpenStatus (0x99a800): semi-stub 0051:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\bin\\cef\\cef.winxp\\steamwebhelper.exe" 0051:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\bin\\cef\\cef.winxp\\steamwebhelper.exe" 0051:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\logs\\cef_log.txt" 0051:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\Program Files (x86)\\Steam\\logs\\cef_log.txt" 0056:fixme:heap:RtlSetHeapInformation 0x110000 0 0x33ea2c 4 stub 0056:fixme:process:SetProcessDEPPolicy (3): stub 0056:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub 0056:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x100de000, 0x12e0b680, 0x12f6acb0) stub. 0056:fixme:imm:ImmDisableTextFrameService Stub 0056:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33f834, (nil) 0x33f838 0056:fixme:nls:get_dummy_preferred_ui_language (0x38 0x33f834 (nil) 0x33f838) returning a dummy value (current locale) 0056:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x33f834, 0x78ec88 0x33f838 0056:fixme:nls:get_dummy_preferred_ui_language (0x38 0x33f834 0x78ec88 0x33f838) returning a dummy value (current locale) 0056:fixme:winsock:WSALookupServiceBeginW (0x33f548 0x00000ff0 0x33f584) Stub! 0056:fixme:iphlpapi:NotifyAddrChange (Handle 0x33f6c8, overlapped 0x78ff1c): stub 0056:fixme:win:RegisterDeviceNotificationW (hwnd=0x100ac, filter=0x33f69c,flags=0x00000000) returns a fake device notification handle! 0056:fixme:win:RegisterDeviceNotificationW (hwnd=0x100ac, filter=0x33f69c,flags=0x00000000) returns a fake device notification handle! 0056:fixme:win:EnumDisplayDevicesW ((null),0,0x33f1a4,0x00000000), stub! 006a:fixme:ver:GetCurrentPackageId (0x339f464 (nil)): stub 0056:fixme:ver:GetCurrentPackageId (0x33fbc0 (nil)): stub
-- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #3 from Fabian Maurer <dark.shadow4(a)web.de> --- Please attach logs in the future, this is too spammy.
0038:err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased
You probably need to fix that. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 --- Comment #4 from Daniel Berger <3dk(a)protonmail.com> --- Yes, sorry about that. This was my first bug report. I tried editing the attached log, and didn't realize that it would post the edit as a comment. I'll try out changing the ulimit. Is it ok to post links to sites like pastebin? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 Daniel Berger <3dk(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Daniel Berger <3dk(a)protonmail.com> --- Ok, I figured it out. I had to increase the number of possible open files for a process. It was an issue with my system and you can stop reading here, unless you want to know the details which I will still describe, in case other people have the issue. First I checked what the limit for open files was set to with the command: $ ulimit -n It was set to 1024 for my user which supposedly isn't very high. Apperently Red Hat is to thank for setting this low default limit. A more sensible limit is something like 10000. Using the ulimit command to set it like so: $ ulimit -n 10000 didn't work and gave an error about not having the permissions to increase the limit. If that command would have worked, it would have only set the limit for that shell instance, so the limit would have reverted back to 1024 if I close and reopened the terminal. To permanently increase the the ulimit for all processes, I had to edit the config file "/etc/security/limits.conf" as root user. There I simply had to add these two lines: * hard nofile 10000 * soft nofile 10000 After rebooting I checked ulimit -n again and could see that it finally set to 10000. Running steam after that worked again. I had not run steam in months and is the first time that I had run into an issue with the file limit being reached by a program. It also didn't happen when running other programs with this same wine version (3.8). Maybe it is the result of more new features being added to wine and steam or the specific components that wine uses to run steam that have changed and lead to an increase in the necessary amount of open files... I do find it amazing that it is necessary for wine to open over 1024 files to run steam. For anyone wanting to learn more about ulimit, here are some links I found in my search that describe it further: https://docs.mongodb.com/manual/reference/ulimit/ https://unix.stackexchange.com/questions/75996/modify-ulimit-open-files-of-a... http://wiki.linuxquestions.org/wiki/Ulimit https://bbs.archlinux.org/viewtopic.php?id=202694 https://bbs.archlinux.org/viewtopic.php?id=194179 https://wiki.archlinux.org/index.php/PAM -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 --- Comment #6 from Daniel Berger <3dk(a)protonmail.com> --- Ok, I figured it out. I had to increase the number of possible open files for a process. It was an issue with my system and you can stop reading here, unless you want to know the details which I will still describe, in case other people have the issue. First I checked what the limit for open files was set to with the command: $ ulimit -n It was set to 1024 for my user which supposedly isn't very high. Apperently Red Hat is to thank for setting this low default limit. A more sensible limit is something like 10000. Using the ulimit command to set it like so: $ ulimit -n 10000 didn't work and gave an error about not having the permissions to increase the limit. If that command would have worked, it would have only set the limit for that shell instance, so the limit would have reverted back to 1024 if I close and reopened the terminal. To permanently increase the the ulimit for all processes, I had to edit the config file "/etc/security/limits.conf" as root user. There I simply had to add these two lines: * hard nofile 10000 * soft nofile 10000 After rebooting I checked ulimit -n again and could see that it finally set to 10000. Running steam after that worked again. I had not run steam in months and is the first time that I had run into an issue with the file limit being reached by a program. It also didn't happen when running other programs with this same wine version (3.8). Maybe it is the result of more new features being added to wine and steam or the specific components that wine uses to run steam that have changed and lead to an increase in the necessary amount of open files... I do find it amazing that it is necessary for wine to open over 1024 files to run steam. For anyone wanting to learn more about ulimit, here are some links I found in my search that describe it further: https://docs.mongodb.com/manual/reference/ulimit/ https://unix.stackexchange.com/questions/75996/modify-ulimit-open-files-of-a... http://wiki.linuxquestions.org/wiki/Ulimit https://bbs.archlinux.org/viewtopic.php?id=202694 https://bbs.archlinux.org/viewtopic.php?id=194179 https://wiki.archlinux.org/index.php/PAM -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 --- Comment #7 from Daniel Berger <3dk(a)protonmail.com> --- Somehow I accidentally posted two comments again, like a total noob. Is there no way to delete a comment? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 Daniel Berger <3dk(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Can't start Steam |Can't start Steam - err: | |Too many open files, ulimit | |-n probably needs to be | |increased -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 Daniel Berger <3dk(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |3dk(a)protonmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID --- Comment #8 from Matteo Bruni <matteo.mystral(a)gmail.com> --- (In reply to Daniel Berger from comment #7)
Somehow I accidentally posted two comments again, like a total noob. Is there no way to delete a comment?
No, by design. It's not a big deal anyway :) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45251 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED CC| |nerv(a)dawncrow.de --- Comment #9 from André H. <nerv(a)dawncrow.de> --- closing invalid -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org