http://bugs.winehq.org/show_bug.cgi?id=19860
--- Comment #11 from James Huk Huk256@wp.pl 2009-10-25 04:02:50 --- (In reply to comment #10)
(In reply to comment #8)
I don't know why wine doesn't check for the limit – it really messes up many apps.
If it could check it, what could it do? Wine is just a user app like any other.
Can you check to see which files are being opened, how many times and where from? Is it Wine which is incorrectly opening a vast number of files or is the app brain damaged?
Well to find out why there was no music in Sonic Heroes, I had to run game with:
WINEDEBUG=+all wine SonicHeroes.exe 2> debug.log
and the look for error messages in the log (and there are THOUSANDS of raws of log in there after few seconds, so this is not pleasant experience) – and there was a message saying that max opened file limit was reached – IMHO wine should send this error to the console, so users would find out easily without debugging.