http://bugs.winehq.org/show_bug.cgi?id=16948
--- Comment #2 from Luke Kenneth Casson Leighton lkcl@lkcl.net 2009-01-16 10:10:13 --- hiya dan, actually it's much simpler - and much worse! :) when running wine z:/src/winebug/a.exe i get the attached segfault. when running the same program under msys, no segfault occurs, but the reported bug (seek works but read fails) can be duplicated. gcc -g -g test.c a.exe also attached (otherwise you have to install msys and mingw under wine).