Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

Daemon doesn't cleanup shared mem correctly on failed (c?)game load

Open necessarily-equal opened this issue 3 years ago • 2 comments

Steps to reproduce:

  1. add or trigger Sys::Drop in void CL_ParseGamestate, so that the the vm will crash
  2. try starting unvanquished many time, /dev/shm will fill up (if that's where your shared memory is).
  3. you will get a message like this: Warn: SV_LocateGameData: Shared memory region too small. /dev/shm is too full.

necessarily-equal avatar Nov 09 '22 07:11 necessarily-equal

You're saying /dev/shm can leak something even after the process exits?

slipher avatar Nov 09 '22 14:11 slipher

I seems so.

Note I haven't seen it first hand, but it seems to happen from the issues @cu-kai had yesterday.

necessarily-equal avatar Nov 09 '22 15:11 necessarily-equal