[Bug 137978] [NEW] Wine causes process hang in kernel when running applications from FAT partition

Launchpad Bug Tracker 137978 at bugs.launchpad.net
Wed Feb 6 15:26:34 UTC 2008


You have been subscribed to a public bug:

Binary package hint: wine

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)

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.

** Affects: wine
     Importance: Unknown
         Status: Invalid

** Affects: linux-source-2.6.15 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Wine causes process hang in kernel when running applications from FAT partition
https://bugs.edge.launchpad.net/bugs/137978
You received this bug notification because you are a member of Kernel Bugs, which is a bug contact for linux-source-2.6.15 in ubuntu.




More information about the kernel-bugs mailing list