https://bugs.winehq.org/show_bug.cgi?id=44706
Bug ID: 44706 Summary: disk access terminated (C and Z) - Unreadable / Unwritable Product: Wine Version: 2.0.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ndallas1983@gmail.com Distribution: ---
I have been trying to run a Game Server from 1996 in Wine (runs fine on my PC).
After a random amount of time (5 - 45 minutes) the program will state:
Cannot write to drive Z:\ Cannot write to drive C:\
It will spam this if I try to save anything. But it will successfully load when the program loads, but after this happens, the drives disappear from the application's reach.
To put this into better perspective, imagine you are running Windows and suddenly your C Drive disappears, but Windows for some reason is still running, but nothing you do in Windows is being saved. You can't open any files because your drives do not exist.
I've tried this in NON-ROOT and ROOT, both are the same issue.
I am now looking into using SMB or Network drives because Networking doesn't seem to be broken.
I also tried debugging to figure out the issue, but WineDebug gives me machine code, nothing useful I could understand (like a 10 million line list of "Can't access drive C:" anywhere.
Hoping someone knows what's up. I am using the Stable version for Ubuntu 17.04.
Thanks, Nathan
https://bugs.winehq.org/show_bug.cgi?id=44706
--- Comment #1 from Nathan ndallas1983@gmail.com --- Just so you guys know, I understand that Wine exposes my entire root system with .wine/dosdrives/z
This becomes inaccessible - just in case someone points out a very simple mistake most people might not understand unless they read some of the docs / setup information / man pages.
Spent around 8 hours on this issue so far.
I may be able to reproduce it by attempting to read a disk file rapidly until it breaks the file system - Question is, why would the filesystem break? Is it some kind of service running? Why isn't it solid and persistent like hardware.
Hoping for help - thanks
https://bugs.winehq.org/show_bug.cgi?id=44706
--- Comment #2 from Jeff Zaroyko jeffz@jeffz.name --- What is the name of the application? Is there a download available?
https://bugs.winehq.org/show_bug.cgi?id=44706
--- Comment #3 from Nathan ndallas1983@gmail.com --- (In reply to Jeff Zaroyko from comment #2)
What is the name of the application? Is there a download available?
Jeff,
Actually it looks like it has to do with the fact that I am using an "fopen" command every second to check for commands I place into a commands.txt file. After I disabled all of this code, the program ran for 8 hours straight.
To answer your question, it's a bit complicated because it's a game server.
As soon as I get some time I will make a program that will attempt to reproduce this so it can be run in Wine and then debugged to figure out what's going on.
It's a C program called Blakserv (Meridian 59 Game Server).
I will get back to you with an example that can reproduce the issue so it can be debugged.
Thanks for getting back to me so quickly!
-Nathan
https://bugs.winehq.org/show_bug.cgi?id=44706
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Any update on this?