https://bugs.winehq.org/show_bug.cgi?id=42668
Bug ID: 42668 Summary: RealMYST crashes with "Too many open files" error Product: Wine Version: 2.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: psychonaut@nothingisreal.com Distribution: ---
Created attachment 57619 --> https://bugs.winehq.org/attachment.cgi?id=57619 Console output from Wine 2.3
realMYST (as distributed by GoG) crashes near the end of the introductory sequence, right before the book lands at the bottom of the screen. If I abort the introduction, I can start playing the game, which seems to work fine, except that it crashes after a few minutes (usually, but not always, when I try to save). The console output gives a message about too many files open:
err:winediag:FILE_CreateFile Too many open files, ulimit -n probably needs to be increased
I note that this is the same problem reported by Comment #10 of Bug 18975. I haven't tried increasing my maximum number of open file descriptors. It's currently set to 1024, though I think it would be bizarre for the game to require even that many.
Unfortunately, it is not possible for me to get a backtrace. When I use winedbg, the game slows to a crawl and it's impossible to do anything.
https://bugs.winehq.org/show_bug.cgi?id=42668
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #1 from Béla Gyebrószki gyebro69@gmail.com --- You should install the Indeo codecs because in-game videos rely on that. Try 'winetricks icodecs' and hopefully you will get rid of the crash, let alone you will actually see videos in the books in the game, not just an empty white frame.
I can also reproduce the issue (GOG.com version) when Indeo codecs are not installed. The video file '/home/gyebro/.wine/drive_c/GOG Games/realMyst/Scn/Maps/MystIsland_Indeo.avi'
are opened several hundreds of time after starting the game, resulting in the crash reported here. With the codecs installed the video file is opened only once. This is on Fedora 25 (32-bit wineprefix) and with the default ulimit value for opened file descriptors, which is 1024.
https://bugs.winehq.org/show_bug.cgi?id=42668
--- Comment #2 from Tristan Miller psychonaut@nothingisreal.com --- (In reply to Béla Gyebrószki from comment #1)
You should install the Indeo codecs because in-game videos rely on that. Try 'winetricks icodecs' and hopefully you will get rid of the crash
Yes, that seems to have fixed things. Thanks.
https://bugs.winehq.org/show_bug.cgi?id=42668
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|RealMYST crashes with "Too |RealMYST crashes with "Too |many open files" error |many open files" error | |(requires Indeo codecs to | |work properly)
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Tagging as Indeo to make it easier to find.
https://bugs.winehq.org/show_bug.cgi?id=42668
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-7.0-rc1?
https://bugs.winehq.org/show_bug.cgi?id=42668
Michael McGuire spoon0042@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spoon0042@hotmail.com
--- Comment #5 from Michael McGuire spoon0042@hotmail.com --- (In reply to joaopa from comment #4)
Does the bug still occur with wine-7.0-rc1?
Yes, but.
Without the Indeo codecs installed realMyst still repeatedly opens the video files. But with current versions of (guessing) wine and kernel /proc/$PID/limits shows max open files as 1048576. Presumably if you lowered this (didn't look up how) or just let it run for a while it would still run out. (Wandering around a bit and clicking some things in the library I got like 40000 open files.)
Also it's always possible the same thing happens on Windows without the Indeo codecs but no one's checked. I guess I can play around with a 95 or XP VM if I get some free time.
https://bugs.winehq.org/show_bug.cgi?id=42668
Screwtape thristian@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thristian@gmail.com
--- Comment #6 from Screwtape thristian@gmail.com --- According to https://www.winehq.org/announce/8.2, Wine now includes support for Indeo 5. Debian just packaged Wine 8.3, so I figured I'd try it out.
It turns out that the "impact" animation (impact_finish.avi) when the book lands in the introduction does *not* use the Indeo codec. ffprobe calls it "msvideo1 (CRAM / 0x4D415243)". That video plays fine.
However, when you click on the book to open it, it's supposed to display an animation of approaching Myst Island (MystIsland_Indeo.avi). Instead, there's just a blank white panel. There's no interesting or relevant debug output from Wine. ffprobe calls this file "indeo5 (IV50 / 0x30355649)".