ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
660 stars 76 forks source link

[TF2] [Linux] switching `con_logfile` and echoing quickly freezes up the game #6239

Open vidhanio opened 4 months ago

vidhanio commented 4 months ago
con_logfile a.txt; echo a; con_logfile .

going into a casual lobby and typing this in the console, then continuously spamming up-arrow then enter to repeat the same line, the game completely freezes.

this issue was discovered through https://github.com/jooonior/tf2-loadouts-script/issues/13.

It would be appreciated if anyone else on linux could see if they can reproduce this.

wozeparrot commented 4 months ago

I'm able to reproduce this issue on a Steam Deck OLED in desktop mode, running the command given in the OP.

Doesn't seem to crash if running the command on the main menu, but running the command when in-game, tested in casual and on a local server, results in a crash.

Crash dump file: crash_20240731213044_2.tar.gz

Rorriis commented 3 months ago

Also affects custom HUDs with customization menus built-in, since most of them make use of con_logfile

vidhanio commented 3 months ago

Also affects custom HUDs with customization menus built-in, since most of them make use of con_logfile

yep, although it doesn't happen too often in those because u are usually in the menus and not in game, and this crash only occurs if in a game, specifically much more likely if in a server with other real players.