http://bugs.winehq.org/show_bug.cgi?id=24521
Thomas Stromberg thomas+wine@stromberg.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas+wine@stromberg.org
--- Comment #8 from Thomas Stromberg thomas+wine@stromberg.org 2010-10-03 08:15:23 CDT --- I've run into this a few times around Year 1848-1870 of the game, and have a save game that can reproduce the situation reliably. As soon as the save game is loaded, Civ 5 is using 1023 file handles, mostly of a particular directory:
wineserve 6870 tstromberg 1020r DIR 8,2 4096 4720131 /home/tstromberg/.wine/drive_c/windows/system32/mui wineserve 6870 tstromberg 1021r DIR 8,2 4096 4720131 /home/tstromberg/.wine/drive_c/windows/system32/mui wineserve 6870 tstromberg 1022r DIR 8,2 4096 4720131 /home/tstromberg/.wine/drive_c/windows/system32/mui wineserve 6870 tstromberg 1023r DIR 8,2 4096 4720131 /home/tstromberg/.wine/drive_c/windows/system32/mui
I can usually reliably crash it by bombing a ship afterwards. I've seen this bug in both wine 1.3.3 and 1.3.4, both vista and xp. Unfortunately I can't seem to figure out how to export a save game file.
I have found that you can work-around this bug simply by removing or renaming the SYSTEM32\MUI directory to something else. Then Civ5 only uses 637 file handles.