protonscr

Steam crashes with various Valve titles if run from a user with 16 or more characters

steamclosed reviewedSteam client
ValveSoftware/steam-for-linux#5161 · opened 2017-09-08 by OJezu · updated 2017-10-13 · 88 comments · github
OOJezu 2017-09-08 github

Your system information

  • Steam client version (build number or date): 1504757234
  • Distribution (e.g. Ubuntu): Debian 9
  • Opted into Steam client beta?: [Yes/No] both
  • Have you checked for system updates?: [Yes/No] yes

Please describe your issue in as much detail as possible:

Steam start-ups as usual, I start counter-strike, and Steam window closes (crashes with buffer overflow), 2 of 3 times Counter-Strike also crashes at this point. If not, it will crash when trying to create server (after setting game options), or when trying to view server list (on clicking Find Servers)

I've tried completely removing Steam (including ~/.steam directory) and i368 libs and reinstalling everything from scratch.

I've installed other game, FTL, and it seems to work fine, steam not crashing. Counter-Strike CZ is crashing itself and steam in same way as Counter-Strike (I didn't check logs for that though).

System was recently upgraded from Debian 8. Before that update Counter-Strike worked fine.

uname: Linux hostname 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux

processor: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz

graphic adapter: Intel Corporation HD Graphics 5500

Steam console output and system information:
https://gist.github.com/OJezu/feb8d6829633d60fee423f9a2119ea8a

Steps for reproducing this issue:

  1. Start Counter-Strike
  2. Steam crashes
  3. If Counter-Strike did not crash at step 2, try viewing the server list or starting a new server, and it will crash
Kkisak-valve maintainer 2017-09-08 github

Hello @OJezu, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report. In particular, if you can find any CrashIDs or minidumps related to this issue, please include them.

OOJezu 2017-09-08 github

@kisak-valve I added system information to already existing gist linked in issue.

And here are the dumps:
steam-cs-dumps.tar.gz

Kkisak-valve maintainer 2017-09-08 github

I gave this a try on my Debian 9 test box and could not reproduce the issue. My test box is using nvidia 340.102, so a mesa system may be needed to reproduce this issue. Possibly unrelated, but can you list the files found in ~/.steam/ubuntu12_32/steam-runtime/pinned_libs_32?

OOJezu 2017-09-08 github

@kisak-valve pinned_libs_32 is empty

$ ls -l ~/.steam/ubuntu12_32/steam-runtime/pinned_libs_32
total 0
OOJezu 2017-09-08 github

The crash is very strange, as it seems that Steam client crashes first, and then Counter-Strike quits on failed attempt to communicate with Steam (errors after command prompt in output). On the other hand, Steam does not crash on non-hl game. Maybe it is something with game state detection (like server I'm playing on?) I will see what happens, when I try to run CS:GO.

OOJezu 2017-09-08 github

When launching CS:GO Steam also crashed, but this time a nice error popup appeared. Once before the client window closed, and second time after the client already disappeared.

screenshot from 2017-09-08 20-29-29

https://gist.github.com/OJezu/fb44feaacf4e5404179d776295556d60

Kkisak-valve maintainer 2017-09-08 github

From #5162, this is not OS or driver specific.

OOJezu 2017-09-08 github

It's nice to see it confirmed, nonetheless, I think the new title is a bit misleading. The reason of Steam Client crash seems to be the buffer overflow as seen in both reports. Crash, or rather exit on assertion, of the game on "failed to connect" is a side-effect of game trying to connect to no longer existing Steam Client process.

*** buffer overflow detected ***: /home/reporter_name/.local/share/Steam/ubuntu12_32/steam terminated
======= Backtrace: =========
/usr/lib32/libc.so.6(+0x6a5e0)[0xf722c5e0]
/usr/lib32/libc.so.6(__fortify_fail+0x38)[0xf72c0ec8]
/usr/lib32/libc.so.6(+0xfd0f8)[0xf72bf0f8]
/usr/lib32/libc.so.6(__strncat_chk+0x39)[0xf72be709]
[0xeeda2dfd]
[0x0]
Kkisak-valve maintainer 2017-09-08 github

Got a better suggestion that is easily search-able?

OOJezu 2017-09-09 github

I've taken liberty to add "due to buffer overflow" to the title. "Buffer overflow" might be something people look for when experiencing the issue.

Alternative would be "Steam crashes with buffer overflow, game crashes with Failed to connect with local Steam Client process"

Hheadlesscyborg 2017-09-09 github

I found out that it works if Steam is started in offline mode. Official servers and matchmaking in CSGO, TF2 and Dota 2 is still unavailable but community servers (CSGO/TF2) work. It might be a workaround for someone who wants to play on community servers meantime.

CCuriousTommy 2017-09-10 github

Steam does not crash on non-hl game. Maybe it is something with game state detection (like server I'm playing on?) I will see what happens, when I try to run CS:GO.

Yeah, I noticed that the bug seems to affect certain Valve games. However, Portal 2 does not seem to be affected while L4D2, TF2, and HL are.

There was also a case where Steam would crash when I run Sanctum 2 or Payday 2 (and the game would not launch either). It doesn't seem to happen anymore though.

Mmikupandi 2017-09-10 github

Still without solution for this issue?.

Hheadlesscyborg 2017-09-13 github

Any workaround or a solution? Should I install Steam in Wine after 5 years without Wine/Windows? It looks like it won't be fixed anytime soon.

Mmikupandi 2017-09-13 github

@thedarkfighter413 I'll hope for a solution, but devs don't say any since last message. In the meantime, more people are experiment the same trouble.

?ghost 2017-09-13 github

I've been experiencing the same issue on Arch, none of the games in my library work. I'm wondering who this affects, most of those who I ask that run various Linux distros still have a working Steam.

Zzpostfacto 2017-09-14 github

Do you have a dump file you can send to us?
EDIT: Just saw the post where you attached some dumps.

Hheadlesscyborg 2017-09-15 github

I know this comment won't add anything to the discussion and maybe it's against the rules but I have to ask - are you working on it? I would say it is something that should be fixed ASAP with higher priority but it looks like nobody cares. I am forced to use Windows and it is an incredibly painful experience.

Btw. I tried installing Ubuntu on my second ssd and it doesn't work either so supported distributions are affected as well.

Hheadlesscyborg 2017-09-17 github

Workaround:

  1. Start Steam in online mode
  2. Start a game
  3. Immediately unplug your ethernet cable (or turn off wi-fi)
  4. As soon as the game starts you have to plug back your ethernet cable (or turn on wi-fi, seriously ASAP)
  5. Access your in-game inventory to let the game connect to the servers
  6. Done. It works with TF2, CSGO and Dota 2 - https://youtu.be/WI3C-Bnkcwc

Edit - ok, it works only for TF2. But it's better than nothing so at least we can play TF2 until the issue gets fixed in the year 2035.

Mmikupandi 2017-09-18 github

@thedarkfighter413 This doesn't work with Dota 2. It was stuck in: 'searching for the Dota 2 game coordinator.' and when getting to load, Valve anti cheat was activated or crashed again.

Mmikupandi 2017-09-19 github

Wow 11 days and we don't have any solution.

FFirstTimeInForever 2017-09-20 github

Same issue on KUbuntu 17.04 when trying to start Dota 2.
uname: Linux 4.10.0-35-lowlatency [#39](/issue/ValveSoftware/steam-for-linux/39)-Ubuntu SMP PREEMPT Wed Sep 13 09:18:37 UTC 2017 x86_64
dumps.zip
steam output

EEncodedBird 2017-09-21 github

Can confirm this in arch linux with either native or steam runtime.
EDIT: To clarify, I mean that both are affected.

CCuriousTommy 2017-09-21 github

@deathbyfreezeray I am running Arch Linux on my desktop. I know for sure that Steam runtime is affected. Not sure about the native version.

Hheadlesscyborg 2017-09-22 github

Still no answer - Valve could you please give us an update about the status of this issue? I want to believe you are working on it but it looks like nobody cares and meantime more and more people are affected - #5168

EDIT 4 days later - I don't want to be rude or ungrateful but seriously if you call this customer support then I have literally no reason to buy a game on Steam anymore if it takes almost a month to fix an issue like this with no chance to get an answer if you are working on a solution. Sorry, I am just honest.

OOJezu 2017-09-22 github

@fletcherdvalve Do you need any additional assistance (or information) in recreating the issue?

Mmikupandi 2017-09-28 github

@fletcherdvalve Still without any solution, are you sure that don't need more assistance information?. We've waited around one month.

EEncodedBird 2017-09-28 github

I should mention that I am also using an nvidia based system but with the newest driver (384.69) and kernel mode setting enabled. This is not a mesa bug. Especially given the behavior of the weird network disconnect workaround that sometimes works.

Linux Nerdbox-XII-Linux 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x86_64 GNU/Linux

AMD® Ryzen 3 1200 quad-core processor × 4

GeForce GTX 1050 Ti/PCIe/SSE2 (384.69)

Hheadlesscyborg 2017-09-29 github

14 days passed and still no answer. So here is my question again: are you working on it? Any chance we will get an answer before the end of this year?

I am not mad because it's not fixed yet. I am mad because nobody cares about my question. I think it would be fair to say something like "we are working on it" or "the issue has nothing to do with Steam, new version of mesa/nvidia driver/library XYZ... should fix it..." etc. It's a shame.

Aandersonzanichelli 2017-09-29 github

Only us having this problem?
I don't believe!

Aandersonzanichelli 2017-09-29 github

WTHack!
kkkk

Following these instructions the game works:

thedarkfighter413 commented 13 days ago • edited
Workaround:

Start Steam in online mode
Start a game
Immediately unplug your ethernet cable (or turn off wi-fi)
As soon as the game starts you have to plug back your ethernet cable (or turn on wi-fi, seriously ASAP)
Access your in-game inventory to let the game connect to the servers

FFirstTimeInForever 2017-09-29 github

I installed Fedora 26 to other partition and it had same issue. I was trying to start Factorio and steam crashed with the same error. I swapped Fedora with Ubuntu Gnome and had exactly the same issue.
There are a lot of people here waiting for the fix. I hope this issue will be fixed as soon as possible.

Aandersonzanichelli 2017-09-29 github

Oh, don't work perfectly =(
screenshot from 2017-09-29 20-27-47

Hheadlesscyborg 2017-09-29 github

@andersonzanichelli It works with inventory items as well if you wait a minute or two but only on community servers. It says "VAC could not verify your session". Another workaround for this is to disconnect and reconnect network again (in menu), then it says "searching" forever. The only playable game using this workaround is TF2 (inventory and even matchmaking works).

I also tried replacing Network Manager with Wicd but it didn't help. Disabling NetworkManager.service also didn't help. And "unshare" command (limiting network connection for Steam) also with no success. Dualboot with Ubuntu 17.10 daily build - the same problem.

AAherin 2017-09-30 github

hedarkfighter413 commented 13 days ago • edited
Workaround:

Start Steam in online mode
Start a game
Immediately unplug your ethernet cable (or turn off wi-fi)
As soon as the game starts you have to plug back your ethernet cable (or turn on wi-fi, seriously ASAP)
Access your in-game inventory to let the game connect to the servers

This works just one time.....still have the same issue.

Hheadlesscyborg 2017-10-01 github

So here is official Steam support response about this problem.

**Since Linux is built by each user from an open source there is just no possible way to offer software that is going to be compatible out of the box with the entire spectrum of builds. As a Linux user, you should be prepared to craft your operating system to accommodate the software.

We are glad to look at the details and offer direction, but your primary resource is going to be yourself along with the online communities working with similar software.

Regards,
Sterling**

Ok. I am done. CSGO, TF2 and Dota 2 uninstalled.

EEncodedBird 2017-10-01 github

The complete lack of concern is disturbing. Valve isn't exactly known for customer service, PR, or caring about people in general however. Therefore, I am sure it will get fixed eventually, just not in a reasonable time frame.

EEncodedBird 2017-10-01 github

Here is all the information I can offer:

Steam client version: 1506500000
Distribution: Arch Linux
Opted into Steam Beta: Both
Checked for System Updates: Yes

uname -a: Linux Nerdbox-XII-Linux 4.13.3-1-ARCH #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 2017 x86_64 GNU/Linux

All of the different dumps steam made from one launch:
dumps.zip

all other information is in a gist

Kkisak-valve maintainer 2017-10-01 github

For reference, in the attached minidumps, crash_20171001045707_1.dmp is a SIGABRT in linux-gate.so and the rest are DUMP_REQUESTED in crashhandler.so.

FFirstTimeInForever 2017-10-01 github

So, I did a clean install of kubuntu 17.04. Installed steam with apt. Installed Factorio game - and it worked! That is strange, because last time I tried - steam crashed as usual. Now I'll try to install dota 2 and see if it will break steam or not (my guess is that it somehow breaks steam and other games).

FFirstTimeInForever 2017-10-01 github

I installed dota 2 and now steam crashes again. Same error.
fresh steam output
fresh dumps.zip
steam info
uname -a : Linux lambsauce 4.10.0-35-lowlatency [#39](/issue/ValveSoftware/steam-for-linux/39)-Ubuntu SMP PREEMPT Wed Sep 13 09:18:37 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

JJohn-Gee 2017-10-01 github

Looking at 2 outputs, the backtrace was always about glibc 32b, I wonder if you guys got a glibc upgrade that broke your setup. Maybe it only causes problems with certain CPUs and not others... 2.26 was released mid-August which could is close to the opening date of this.

FFirstTimeInForever 2017-10-01 github

@John-Gee Someone pointed out that there is a bug in glibc 2.24, that is fixed in 2.26. So now I am trying to get 2.26 to test.

Hheadlesscyborg 2017-10-01 github

@John-Gee I just tried downgrading my glibc packages from 2.26 to 2.25 (glibc-2.25-2-x86_64.pkg.tar.xz and lib32-glibc-2.25-3-x86_64.pkg.tar.xz) and the problem persists.
By the way thank you very much for replying and let us know if we can do anything to help. It is nice to know that we are not left forgotten.

JJohn-Gee 2017-10-01 github

I don't work for Valve, so don't think much of my guesses :)

Running the whole thing through gdb might show more.

Hheadlesscyborg 2017-10-01 github

@John-Gee Sorry I thought you are a Valve employee because my brain was focused on downgrading glibc packages.
By the way - reinstallation didn't help. Yes I had to reinstall my OS because I screwed up my system by trying to downgrade glibc to a version from June 2016. So I am now on a fresh Arch Linux installation and the problem still persists.

FFirstTimeInForever 2017-10-01 github

Same error with libc6: 2.26-0ubuntu1.

EEncodedBird 2017-10-02 github

Attempting to reproduce the issue in VirtualBox with 3d acceleration enabled
I cannot reproduce it with ubuntu 17.04 64-bit, Dota 2 installs and launches perfectly with the latest updates installed.
Testing with a fresh install Arch Linux VM, same results. Dota 2 runs perfectly in both steam and native runtimes.

To me this leaves two guesses (please note this is just speculation):

  1. A hardware configuration/driver related issue
  2. An upgrade issue related to upgrading software to a newer version.
EEncodedBird 2017-10-02 github

Doing more tests, I tried reinstalling my actual system with arch linux, doing it in place (I did not erase /home).
The issue persists. This leaves me to believe this is probably a hardware/driver specific issue. Except there is such a wide variance between my hardware and that of the OP. So its honestly hard to tell

JJohn-Gee 2017-10-02 github

@thedarkfighter413 sorry you broke your system, glibc is a big deal, downgrading it can be risky... You learned it the hard way :/ But you didn't have to reinstall, you could have fixed it from a live/other distro.

EEncodedBird 2017-10-02 github

I can reproduce the issue on arch linux with a lenovo ideapad flex 4-1470. A relatively cheap computer.
It has an intel 4405U cpu at 2.1GHz and uses intel hd graphics 510. Sadly I can't seem to reproduce the issue in a VM. If anyone can that would be ideal.

EDIT: I should mention this is very new hardware

Hheadlesscyborg 2017-10-02 github

If it doesn't work because of glibc or driver update then it would be interesting to try to reproduce the issue on Ubuntu 12.04 - it is the first oficially supported Linux distribution from 2012 (it is even recommended for CSGO on the Steam store page) and it is so outdated that it shouldn't be affected by any current glibc/mesa etc.. bugs. I will try it.

Hheadlesscyborg 2017-10-02 github

Ok it crashes even on VERY outdated Ubuntu 12.04 (https://gist.github.com/thedarkfighter413/5ed4fefe1ce8a2efcebfebac2e8aefe6) with the same error.

*** buffer overflow detected ***: /home/thedarkfighter413/.local/share/Steam/ubuntu12_32/steam terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xf704ba85]
/lib/i386-linux-gnu/libc.so.6(+0x10585a)[0xf704a85a]
/lib/i386-linux-gnu/libc.so.6(+0x104cbf)[0xf7049cbf]
[0xed78fdfd]
[0x0]

Ubuntu 12.04 x64
libc6 version: 2.15-0ubuntu10.18

How is this possible? Everything is outdated here on 12.04 - it should not be affected by any recent bugs. It looks like something is wrong with Steam. Does anyone have any idea what is going on?

FFirstTimeInForever 2017-10-02 github

@thedarkfighter413 What drivers are you using? I tested all combinations of the setting above and none of them worked. Offline mode still works perfectly.
screenshot_20171002_213943

Mmikupandi 2017-10-02 github

Someone have trying with nouveau, and free drivers? AMD hardware got the same issue?.

FFirstTimeInForever 2017-10-02 github

@mikupandi Me.

Mmikupandi 2017-10-02 github

@FirstTimeInForever And didn't work, I guess.

Hheadlesscyborg 2017-10-02 github

@FirstTimeInForever Open Source Gallium on Intel HD4600. I couldn't get better drivers to work because of dependecy hell. I couldn't even get my dedicated NVIDIA card to work (12.04 is really old).

Now I am on Ubuntu 14.04 with proprietary NVIDIA drivers. And guess what - the same problem (https://gist.github.com/thedarkfighter413/95f19d45af0f8a17cad218fe84d4c298)

*** buffer overflow detected ***: /home/thedarkfighter413/.steam/ubuntu12_32/steam terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x68fce)[0xf7383fce]
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x6b)[0xf7418feb]
/lib/i386-linux-gnu/libc.so.6(+0xfce7a)[0xf7417e7a]
/lib/i386-linux-gnu/libc.so.6(__strncat_chk+0x13c)[0xf741750c]
[0xf4a41dfd]
[0x0]

Ubuntu 14.04
libc6 version: 2.19-0ubuntu6.13

Summary of my testing:
Arch Linux - Intel HD (mesa), NVIDIA 860M (proprietary driver) = buffer overflow crash
Ubuntu 12.04 LTS - Intel HD (gallium) = buffer overflow crash
Ubuntu 14.04 LTS - Intel HD (mesa), NVIDIA 860M (proprietary driver) = buffer overflow crash
Ubuntu 16.04 LTS - Intel HD (mesa), NVIDIA 860M (proprietary driver) = buffer overflow crash
Ubuntu 17.10 beta - Intel HD (mesa), NVIDIA 860M (proprietary driver) = buffer overflow crash
Windows 7 - NVIDIA 860M (proprietary driver, Windows version of Steam and CSGO) = no problems
Wine Staging - NVIDIA 860M (proprietary driver, windows version of Steam and CSGO) = no problems

I have a feeling that someone should fix Steam Linux client because AFAIK it doesn't seem to be driver/distro/glibc specific.

By the way - "Intel HD, NVIDIA..." means that I did test both GPUs separatedly - Intel only, Bumblebee, Prime (NVIDIA-only forced)

Kkisak-valve maintainer 2017-10-02 github

For what it's worth, none of my test boxes are affected. Almost all of them are older AMD cpus. Maybe there's a cpu extension that's new between Bulldozer and Zen and common to relatively recent Intel cpus involved here. (speculation)

At a glance, maybe AVX2 is involved in this issue. It's new to AMD / ZEN and has been around since Intel / Haswell. Is anyone seeing this issue on a pre-Haswell Intel cpu?

FFirstTimeInForever 2017-10-02 github

I also have Windows 10 - everything is fine with nvidia drivers.

Hheadlesscyborg 2017-10-02 github

I did all my testing above on a Haswell i5 4210H but I also have a very similar laptop with an Ivy Bridge i7 3630QM and GT 630M laying around so I will put my Arch Linux SSD there and post my results here tomorrow. It could be interesting to see if it works with the same OS on an older CPU.

Hheadlesscyborg 2017-10-02 github

Arch Linux x64
i7 3630QM Ivy Bridge
GTX 630M
Result: buffer overflow crash
Outputs and system info: https://gist.github.com/thedarkfighter413/4f97e3a3b7cf8bb5adc0b3881a912ad0

Hheadlesscyborg 2017-10-04 github

It also crashes in a virtual machine (VMware, virtualized Xubuntu 16.04) - https://gist.github.com/thedarkfighter413/864c944eea82975c913f1e180327afe4
By the way the issue is also very easy to reproduce on Optimus-based laptops. I hope it helps.

Hheadlesscyborg 2017-10-05 github

@kisak-valve

This could be more useful than regular outputs - I did the exactly same thing three times (launching Counter-Strike Source from Steam). Each time with a different debugger.

GDB debugger output: https://gist.github.com/thedarkfighter413/0fcb687fadb20e79eb6c04ba8e7da301
Valgrind debugger output: https://gist.github.com/thedarkfighter413/67c4ca53c03970c3f2aa6a343b45fe0e
Strace debugger output: https://gist.github.com/thedarkfighter413/a1f9815109740f401ce180be594bd82c

TTracing 2017-10-06 github

Steam crash on:
i7-4710HQ Haswell
GTX 860m

Distro:
Antergos Linux (Arch)
Issue persists on Fedora 26 and Flatpak steam

Games affected on my system:
Arma 3
Cossacks 3
Day of Infamy
Mount and Blade: Warband
Dawn of War 2: Retribution

Games unaffected by this issue:
Dawn of War 2 (Original)
Dawn of War 3
Stellaris
Space Pirates and Zombies 2
Hearts of Iron IV

Terminal output:
Arma3 buffer overflow.txt

Hheadlesscyborg 2017-10-06 github

Crazy workaround:

  1. Create a new user with only 4 characters in username
  2. Keep your current user logged in
  3. Switch to the new user
  4. Install Steam, log in, download your games (do not use your old Steam library from the previous user)
  5. It works!

I didn't have a time to add my new user to the "bumblebee" group so it runs on Intel HD on the screenshot
snimek z 2017-10-06 15-56-44

EDIT: Yes it works even with Bumblebee! Maybe we all have too many characters in our usernames?

FFirstTimeInForever 2017-10-06 github

@thedarkfighter413 Can I ask you: how did you came up with this solution? If it is a real thing, this should be enough for the developers to find the bug and fix it.
Also, thank you for keeping on researching!

Hheadlesscyborg 2017-10-06 github

@FirstTimeInForever I noticed that your system username (krzysztofchrapka) is also longer than usual nicknames like mine and also that I was using the same username during my testing above (for easy access to existing partitions without having to change permissions). Then I asked people in linux_gaming subreddit if it works on their Optimus laptops. They said yes ( https://www.reddit.com/r/linux_gaming/comments/74gp7g/optimus_users_please_test_if_your_source_games/ ). So I just tried creating a new user called "test" and it worked (I just successfully finished a competitive match in CSGO on my Arch Linux a few minutes ago) and the only difference between my user account and the new one is that the old one has 17 characters and the new one has only 4 characters. I hope it helps and we will get a fix soon.

FFirstTimeInForever 2017-10-06 github

@thedarkfighter413 Maybe some differences in groups?

Hheadlesscyborg 2017-10-06 github

Maybe. The only difference is the "wheel" group.


[thedarkfighter413@archlinux-dark-machine ~]$ groups thedarkfighter413
wheel bumblebee thedarkfighter413
[thedarkfighter413@archlinux-dark-machine ~]$ groups test
bumblebee test
FFirstTimeInForever 2017-10-06 github

Short username worked for me.
image

Kkisak-valve maintainer 2017-10-06 github

Thanks for finding a way to consistently reproduce this issue @thedarkfighter413.

Looks like usernames with 16 characters or more is needed to reproduce the issue.

Also looks like the length of the home folder is not a factor and shortening the username after having this issue does not workaround the issue.

EEncodedBird 2017-10-06 github

@thedarkfighter413 thanks a lot for your time with this issue. I know I appreciate it.

Hheadlesscyborg 2017-10-07 github

@deathbyfreezeray @kisak-valve You're welcome.

I can confirm the 16 characters theory. Today I deleted the "test" account and created a new one "darkfighter413", transfered all my files, settings, games, gnome extensions, firefox profile etc.. to the new one and everything works. I can play CSGO, TF2, Dota 2 and CSS with no problems.

?ghost 2017-10-07 github

Thank you, the shorter username has resolved the issue for me.

Aandersonzanichelli 2017-10-08 github

What? This approach really works? My user account in 2 machines has more than 16 chars.
I am going to try this one.
Thank you for all the information @thedarkfighter413

Hh1z1 2017-10-08 github

Should really be using 'getent group' and passwd otherwise you'll run into more fun things with any kind of directory service like ldap or yp.

Aandersonzanichelli 2017-10-08 github

Worked here!
Thank you so much @thedarkfighter413

TTracing 2017-10-08 github

I don't think this problem is limited to valve games. Can others confirm this?

Hheadlesscyborg 2017-10-09 github

@Tracing Yes, it also crashes with Insurgency, Day of Infamy, Saints Row The Third and someone mentioned Arma 3 above. It looks like Source, GoldSrc and eON (Virtual Programming) games are affected.

FFirstTimeInForever 2017-10-09 github

Also crashes with Factorio.

Mmikupandi 2017-10-11 github

Short username is working for me too. :D Is a strange bug.

Ttycho 2017-10-11 github

I believe this should be fixed now (as of like, 5 minutes ago). Can people try running their games under the accounts with long usernames again, please?

TTracing 2017-10-11 github

Confirmed. Cossacks 3 launches and Day of Infamy plays without problems.

CCuriousTommy 2017-10-11 github

I can play online on Team Fortress 2 again!

Edit: I also did a quick test on Half-Life 2, Left 4 Dead 2, Portal 2, Synergy, and Sanctum 2. I am happy to report that steam did not crash when launching those games.

PPlagman 2017-10-11 github

Thanks for testing, all.

OOJezu 2017-10-13 github

Well, that was a fun bug, I guess the culprit could have been found sooner with gdb and inspection of what was at the address the fatal strncpy was trying to copy. I just looked into start scripts, and turns out it is really easy to run steam with gdb...

Nothing extracted yet.