ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.72k stars 625 forks source link

Game crashes after some seconds or minutes #1693

Open Giszmo opened 8 years ago

Giszmo commented 8 years ago

For some days now, CS worked great with very occasional crashes but today it's no fun. Seconds of game play are always followed by the game just disappearing. /var/log/messages grepped for Counter- has this to say:

May  2 17:22:01 locurro Counter-Strike.desktop[15694]: NET Ports:  server 27015, client 27005
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: Server IP address 127.0.1.1:27015
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: Connecting to 131.221.33.14:30000...
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: Game update: AppID 10 "Counter-Strike", ProcID 15951, IP 131.221.33.14:30000
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: Connection accepted by 131.221.33.14:30000
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: * Privileges set
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: Installing breakpad exception handler for appid(steam)/version(1459463254)
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: Installing breakpad exception handler for appid(steam)/version(1459463254)
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: #002
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: BUILD 5787 SERVER (0 CRC)
May  2 17:22:01 locurro Counter-Strike.desktop[15694]: Server # 24
May  2 17:22:05 locurro Counter-Strike.desktop[15694]: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
May  2 17:22:05 locurro Counter-Strike.desktop[15694]: Requesting tempdecal.wad from server
May  2 17:22:05 locurro Counter-Strike.desktop[15694]: Requesting tempdecal.wad from server
May  2 17:22:05 locurro Counter-Strike.desktop[15694]: Requesting tempdecal.wad from server
May  2 17:22:05 locurro Counter-Strike.desktop[15694]: #001Mr. Bitcoin connected
May  2 17:22:07 locurro Counter-Strike.desktop[15694]: #001Mr. Bitcoin is joining the Counter-Terrorist force
May  2 17:22:12 locurro Counter-Strike.desktop[15694]: * laskin ctm chupalo changed name to laskin wall qlo
May  2 17:22:15 locurro Counter-Strike.desktop[15694]: *** Error in `/home/leo/.local/share/Steam/steamapps/common/Half-Life/hl_linux': malloc(): memory corruption: 0x0a7a26f8 ***
May  2 17:22:15 locurro Counter-Strike.desktop[15694]: ERROR: ld.so: object '/home/leo/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
May  2 17:22:15 locurro Counter-Strike.desktop[15694]: assert_20160502172135_1.dmp[16418]: Uploading dump (out-of-process)
May  2 17:22:15 locurro Counter-Strike.desktop[15694]: /tmp/dumps/assert_20160502172135_1.dmp
May  2 17:22:15 locurro Counter-Strike.desktop[15694]: /home/leo/.local/share/Steam/steamapps/common/Half-Life/hl.sh: line 38: 15951 Aborted                 ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} $@
May  2 17:22:15 locurro Counter-Strike.desktop[15694]: Game removed: AppID 10 "Counter-Strike", ProcID 15951
May  2 17:22:18 locurro Counter-Strike.desktop[15694]: No cached sticky mapping in ActivateActionSet.assert_20160502172135_1.dmp[16418]: Finished uploading minidump (out-of-process): success = yes
May  2 17:22:18 locurro Counter-Strike.desktop[15694]: assert_20160502172135_1.dmp[16418]: response: Discarded=1
May  2 17:22:18 locurro Counter-Strike.desktop[15694]: assert_20160502172135_1.dmp[16418]: file ''/tmp/dumps/assert_20160502172135_1.dmp'', upload yes: ''Discarded=1''
May  2 17:22:18 locurro Counter-Strike.desktop[15694]: pid 16418 != 16417, skipping destruction (fork without exec?)
Giszmo commented 8 years ago

So while I'm sure it should not just silently close the game, I suspect it might be related to flaky internet. I stopped that app that was using all my up-stream with many connections and CS worked again.

JoelTroch commented 8 years ago
May  2 17:22:15 locurro Counter-Strike.desktop[15694]: *** Error in `/home/leo/.local/share/Steam/steamapps/common/Half-Life/hl_linux': malloc(): memory corruption: 0x0a7a26f8 ***
May  2 17:22:15 locurro Counter-Strike.desktop[15694]: ERROR: ld.so: object '/home/leo/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

Does Steam or CS 1.6 eat all of your RAM while your playing ? Have you tried to reinstalling Steam/CS 1.6 ? What is your Linux distribution, version and architecture ?