[Bug 9607] New: Wine causes process hang in kernel when running applications from FAT partition

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 7 11:07:25 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=9607

           Summary: Wine causes process hang in kernel when running
                    applications from FAT partition
           Product: Wine
           Version: 0.9.39.
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wine-kernel
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: krzysiek-bugs.winehq.org at lichota.net


Distro: Kubuntu Dapper 6.06
Wine: 0.9.9-0ubuntu2 (tested also with 0.9.39 from winehq.org)
Kernel: 2.6.15-29-386 (2.6.15-29.58)

This is kernel bug, but affects only wine, so workaround in wine is easier.

When .exe is run from FAT partition, wine process gets stuck in kernel in "D"
state and cannot be killed.

I have straced the process and it appears it is stuck in:
 ioctl(9, TUNIOCGETINFO or VFAT_IOCTL_READDIR_BOTH
This way user can prevent unmounting FAT partition by running wine on FAT
partition.
To reproduce:
 1. Mount any FAT volume (for example USB pendrive)
 2. Copy some file.exe file to it.
 3. Run: wine /media/mydisk/file.exe
 4. Wine hangs and cannot be killed.

Possible workaround is to recompile wine with "#define VFAT_IOCTL_READDIR_BOTH"
in dlls/ntdll/directory.c commented out.
I have checked that it works.

See also here: https://bugs.launchpad.net/ubuntu/+source/wine/+bug/137978


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list