ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.67k stars 619 forks source link

CS 1.6 crash when click auto-buy button #1743

Open StarterX4 opened 8 years ago

StarterX4 commented 8 years ago

I don't played CS 1.6 a some time, last before migration to Linux (at the beginning of this year). Last time when i played CS 1.6 i found a strange crash - every time when i click auto-buy at the beginning of round. Other buttons from weapon store doesn't cause crashes. Sometimes i have random crashes too. In terminal i found ALSA error: ALSA lib pcm.c:8251:(snd_pcm_recover) underrun occurred and pid 10492 != 10491, skipping destruction (fork without exec?) Crash dumps were every time discarded (why?). I checked some in net, but i have found nothing helpful.

I tried these steps:

  1. Change ALSA settings (Fragments etc.)
  2. Mask pulseaudio.socket
  3. Complete remove PA and try to use clean ALSA.
  4. Compile SDL2 2.0.4 (x32) with additional support for NAS (Network Audio System), replace HL's and Steam's (so deprecated) SDL2 versions with my and play CS 1.6 with NAS instead of ALSA (SDL_AUDIODRIVER=nas - in startup options)
  5. Again install PA, but use it as service/daemon instead of socket (& SDL_AUDIODRIVER=pulseaudio)

Neither of upper steps avoid from crash.

CS 1.6 and Half-Life files are complete.

TFC, DoD and HL work fine without any crashes.

Last crashdump: [https://www.dropbox.com/s/nia7bu81hn9b5ri/crash_20160825023328_1--cs16-25082016.dmp?dl=1]

System: Manjaro Linux 64-bit unstable Kernel: 4.6.5-1-rt10-MANJARO (linux-rt-manjaro) Gpu: NVIDIA GT610 1GB GPU Driver: NVIDIA 367.36.02 RAM: 4GB Sound Card: VIA VT1705

ghost commented 8 years ago

You mean pressing F1 at the beginning of a round?

StarterX4 commented 7 years ago

Too (i checked that, because i'm using only GUI for buying) Today i noticed that buy button is not the only reason of crash, CS 1.6 has sometimes random crashes, but i can't find what causes these random crashes.