[quake3-bugzilla] [Bug 4036] VMs can clog up sourceFile buffers

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Fri May 8 11:16:22 EDT 2009


http://bugzilla.icculus.org/show_bug.cgi?id=4036





--- Comment #2 from /dev/humancontroller <devhc97 at gmail.com>  2009-05-08 11:16:19 EDT ---
(In reply to comment #1)
> isn't that a problem with file in general? vm's can call trap_FS_FOpenFile and
> there is no close on unload handler AFAICS.

Yes it is a q3-filesystem problem. I just brought up an example of the ui
appearing to be borked because the (actually borked) cgame doesn't close its
opened files, all because the file slots are shared. So I propose to make
separate sourceFiles[] for each VM, and auto-close the appropriate ones on VM
unload. OK? I can make a patch if yes.

("When forcefully unloading a VM, CL_InitUI() gets called. Why? forced_unload
is
set! If the UI fails to load, we're toast." ... that's related only to the
scenario, not this bug.)

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list