[Bug 46675] Black Ops 2 zombies mode crashes with Too many open files after 30-35 minutes of gameplay

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Feb 17 21:25:46 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=46675

--- Comment #5 from tjb <troyb at us.ibm.com> ---
(In reply to Zebediah Figura from comment #3)
> (In reply to tjb from comment #2)
> > (In reply to Zebediah Figura from comment #1)
> > > Well, there may be a bug in Wine, but more likely the program is just
> > > leaking file handles, in which case there's really nothing we can do. I
> > > guess I'd check a +file,+ntdll log to make sure.
> > 
> > Thanks for your quick reply.  If the program was leaking file handles I
> > would think it would crash on Windows also, unless windows automatically
> > garbage collects stale handles somehow.  I'll try the +file,+ntdll log.
> 
> Windows doesn't garbage-collect stale handles; it just doesn't have an limit
> to open kernel handles the same way Linux has a limit to open file
> descriptors. (Windows also pages out kernel memory, which IIRC Linux does
> not, which does something to explain why this is the case.)

I don't believe this can be a valid argument because high round zombie players
play this game literally for 7days + straight on PC and at a leak rate of about
2 handles per second (3500 handles in 35 minutes) that would result in 1.2M
handles the system would have to make space for.  I don't think a bug like this
could ever make it through QA on a triple A cross platform title.  The
+file,+ntdll log is monstrous and has balanced LZOpens and LZCloses, but I see
no closes for any of the huge number of FILE_Createfiles (way too many to
explain only 2 leaks per second).  Any clues as to what to look for to detect
the leak?  I might be able to trace the anomaly given I know its rate (slightly
less than 2 per sec) but it would help a lot if I knew what to look for in the
log.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list