http://bugs.winehq.org/show_bug.cgi?id=22418
Summary: Wine apps executed from a dynamically mounted device leave open files after being closed. Product: Wine Version: 1.1.42 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: marc@marcchamberlin.com
I am running openSuSE 11.2 with Wine-1.1.42 and use the PortableApps off of a USB Passport disk drive. I am noticing that when I try to close applications such as Firefox or Thunderbird, also running under Wine, that the processes for Thunderbird, Firefox, PortableApps, and Wineserver are leaving files open and not properly closing them (Observed with lsof /media/My\ Passport after closing the apps) This in turn prevents the disk drive from being able to be dismounted and forces me to kill the associated processes. Of course that is dangerous and can lead to file corruption.
From my observations, this is only happening when running an app under Wine,
when the app is executed from a dynamically mounted device. It does not occur when the app is executed from a permanently mounted disk drive...
http://bugs.winehq.org/show_bug.cgi?id=22418
--- Comment #1 from Jeff Zaroyko jeffz@jeffz.name 2010-04-19 06:43:51 --- are the firefox or thunderbird processes still running aside from wineserver?
http://bugs.winehq.org/show_bug.cgi?id=22418
--- Comment #2 from Marc C marc@marcchamberlin.com 2010-04-19 10:52:57 --- (In reply to comment #1)
are the firefox or thunderbird processes still running aside from wineserver?
No, not always, although I have seen them show up on occasion as a defunct process when I give a ps -aux command. When that happens it is not a transitory state either but will persist until I kill the process with a kill -9 command..
Other symptoms I have noted, and should point out, is that there have been occasions when I tried to dismount the USB drive, neither ps nor lsof have reported anything amiss, but the umount command would still be refused with a "Device Busy" message. Sometimes however just lsof would report open files remained, and I will kill the associated process despite the fact that ps was not showing it. Sometimes that works, sometimes not.
I know that the only thing I had done, in these cases, was to run FirefoxPortable or ThunderbirdPortable under PortableApps, all under Wine, and all were "closed" . Nothing else could/should have been using the device, and simply waiting for awhile would not change this... When I can't find a process to kill, at that point my only option has been to reboot and hope that the shutdown process would safely dismount the USB drive...
http://bugs.winehq.org/show_bug.cgi?id=22418
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-19 22:34:23 --- This sounds like a kernel bug to me. If a process some how mysteriously keeps files open when it's killed and not even shown in 'ps -ef' (or any other ps output that shows all processes) then it's something really messed up inside kernel.
http://bugs.winehq.org/show_bug.cgi?id=22418
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-19 22:34:33 --- closing
http://bugs.winehq.org/show_bug.cgi?id=22418
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
http://bugs.winehq.org/show_bug.cgi?id=22418
Marc C marc@marcchamberlin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID | Severity|normal |major
--- Comment #5 from Marc C marc@marcchamberlin.com 2010-04-20 21:00:18 --- (In reply to comment #4)
closing
I think it is wrong and unprofessional for you to simply close this bug report and point fingers at someone else. You do NOT KNOW whether this is a kernel bug or not, and simply took a guess, based upon a few observations on my part, none of which could possibly clearly identify where the problem resides. All you have done by attempting to disown this bug is to leave me in a difficult position to try an find a solution.
I have reported this bug because it is clearly related to Wine and possibly it's interactions with both the kernel and with an application running under Wine. I have NOT observed similar symptoms with other apps, as would probably happen if this were truly a kernel bug.
This is a serious bug which could cause potential data loss for users. The developers of Wine should take responsibility to at least clearly determine, whether the bug resides within Wine, or with another subsystem, i.e. the kernel, and work with me, and the developers of any other subsystem involved, to clearly identify the problem and to find a resolution.
Please reconsider your decision to close this bug report, and do not simply blow me off with a half-hearted guess.
http://bugs.winehq.org/show_bug.cgi?id=22418
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor
http://bugs.winehq.org/show_bug.cgi?id=22418
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #6 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-21 08:28:03 --- I'm repeating again. _If_ the process is closed, and Wine is no longer running it can not be anything related to Wine.
Wine is a 100% user process it can not magically keep files open if it's not running.
http://bugs.winehq.org/show_bug.cgi?id=22418
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Vitaliy Margolen vitaliy@kievinfo.com 2010-04-21 08:28:20 --- Closing. File bug with your distro.