http://bugs.winehq.com/show_bug.cgi?id=747
*** shadow/747 Thu May 30 14:31:43 2002 --- shadow/747.tmp.2568 Thu May 30 14:31:43 2002 *************** *** 0 **** --- 1,136 ---- + +============================================================================+ + | Application hangs in subselection screen | + +----------------------------------------------------------------------------+ + | Bug #: 747 Product: Wine | + | Status: UNCONFIRMED Version: 20020509 | + | Resolution: Platform: | + | Severity: normal OS/Version: All | + | Priority: P1 Component: wine-kernel | + +----------------------------------------------------------------------------+ + | Assigned To: wine-bugs@winehq.com | + | Reported By: sbuehne@web.de | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | Milestone: TargetMilestone: --- | + | URL: | + +============================================================================+ + | DESCRIPTION | + Starting the application works fine. But before you can go to the main screen + you have to select a couple of options in a subselection screen. There is no + way to skip this step. + Once you have started the subselection the menu appears, but there is no way + back. The subselection screen will never dissappear, so you can not proceed to + the main menu, starting the programm. The program itself is a emulation of a + signal box. + The application did also not run with earlier versions of wine. So I opened + the bug against the current wine version. + + I have generated a trace file while the application is hanging in the + subselection screen with the command + wine --winver win98 --debugmsg +all START2.EXE + *************************************************** + trace:file:CreateFileA stellwrk.bmp GENERIC_READ FILE_SHARE_READ + FILE_SHARE_WRITE OPEN_EXISTING + trace:file:Win32HandleToDosFileHandle Got 5 for h32 96 + trace:file:WIN16_hread 5 02a73caa 14 + trace:file:ReadFile 96 0x403d0b2e 14 0x41116b88 (nil) + trace:file:WIN16_hread 5 02a73c82 40 + trace:file:ReadFile 96 0x403d0b06 40 0x41116b88 (nil) + trace:file:SetFilePointer handle 96 offset 0 high 0 origin 0 + trace:file:WIN16_hread 5 03270000 1078 + trace:file:ReadFile 96 0x403ea68c 1078 0x41116b88 (nil) + trace:file:SetFilePointer handle 96 offset 0 high 0 origin 2 + trace:file:SetFilePointer handle 96 offset 1078 high 0 origin 0 + trace:file:WIN16_hread 5 032f0000 32768 + trace:file:ReadFile 96 0x403eb0fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 032f8000 32768 + trace:file:ReadFile 96 0x403f30fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 03370000 32768 + trace:file:ReadFile 96 0x403fb0fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 03378000 32768 + trace:file:ReadFile 96 0x404030fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 033f0000 32768 + trace:file:ReadFile 96 0x4040b0fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 033f8000 32768 + trace:file:ReadFile 96 0x404130fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 03470000 32768 + trace:file:ReadFile 96 0x4041b0fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 03478000 32768 + trace:file:ReadFile 96 0x404230fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 034f0000 32768 + trace:file:ReadFile 96 0x4042b0fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 034f8000 32768 + trace:file:ReadFile 96 0x404330fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 03570000 32768 + trace:file:ReadFile 96 0x4043b0fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 03578000 32768 + trace:file:ReadFile 96 0x404430fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 035f0000 32768 + trace:file:ReadFile 96 0x4044b0fc 32768 0x41116b88 (nil) + trace:file:WIN16_hread 5 035f8000 8694 + trace:file:ReadFile 96 0x404530fc 8694 0x41116b88 (nil) + + At this point the trace file stops. Also pressed the buttons for going back, + no more trace is written. + + A trace file generated with the strace utility shows at the end the following + output: + .... + open("/usr/local/wine/c/windows/system", O_RDONLY|O_LARGEFILE) = 15 + ioctl(15, VFAT_IOCTL_READDIR_BOTH, 0x403e3f1c) = -1 ENOTTY (Inappropriate + ioctl for device) + close(15) = 0 + open("/usr/local/wine/c/windows/system", + O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 15 + fstat64(15, {st_mode=S_IFDIR|0775, st_size=18980, ...}) = 0 + fcntl64(15, F_SETFD, FD_CLOEXEC) = 0 + getdents64(0xf, 0x8090e98, 0x1000, 0x19) = 4072 + getdents64(0xf, 0x8090e98, 0x1000, 0x19) = 4088 + getdents64(0xf, 0x8090e98, 0x1000, 0x19) = 4080 + close(15) = 0 + ioctl(12, 0x541b, [0]) = 0 + gettimeofday({1022786869, 861824}, NULL) = 0 + rt_sigprocmask(SIG_BLOCK, [HUP INT ALRM IO], [RTMIN], 8) = 0 + writev(4, [{"\31\0\0\0\4\0\0\0\0\0\0\0\f\0\0\0000k\@5}\366<\200&\r"..., 64}, + {"0\0\0\0", 4}], 2) = 68 + read(5, "\2\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64 + rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 + rt_sigprocmask(SIG_BLOCK, [HUP INT ALRM IO], [RTMIN], 8) = 0 + write(4, "w\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\377\377"..., 64) = + 64 + read(5, "\0\0\0\0\0\0\0\0\6\0\0\0\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0"..., 64) = 64 + rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 + rt_sigprocmask(SIG_BLOCK, [HUP INT ALRM IO], [RTMIN], 8) = 0 + write(4, "\217\0\0\0\0\0\0\0|\0\0\0 \0\1\0\0\0\1\0\0\0\0\0\0\0\0"..., 64) = 64 + read(5, "\0\0\0\0\4\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64 + read(5, "!\0\1\0", 4) = 4 + rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 + rt_sigprocmask(SIG_BLOCK, [HUP INT ALRM IO], [RTMIN], 8) = 0 + write(4, "v\0\0\0\0\0\0\0\0\0\0\0p\320\10\10\7\0\0\0!\0\1\0\0\2\0"..., 64) = + 64 + read(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64 + rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 + rt_sigprocmask(SIG_BLOCK, [HUP INT ALRM IO], [RTMIN], 8) = 0 + write(4, "w\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\377\377"..., 64) = + 64 + read(5, "\3\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64 + rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 + rt_sigprocmask(SIG_BLOCK, [HUP INT ALRM IO], [RTMIN], 8) = 0 + write(4, "s\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\177\0\0\0\1\0\0\0\0\0\0"..., 64) = 64 + read(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64 + rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 + ioctl(12, 0x541b, [0]) = 0 + rt_sigprocmask(SIG_BLOCK, [HUP INT ALRM IO], [RTMIN], 8) = 0 + writev(4, [{"\31\0\0\0\10\0\0\0\0\0\0\0\4\0\0\0|k\@\0\0\0\0\0\0\0\0"..., 64}, + {" \0\0\0000\0\0\0", 8}], 2) = 72 + read(5, "\3\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64 + rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 + read(7, + + Please notice, that the last read is never completed. + So here the application definitely hangs and comes never back. + + + Please let me know if you need any further information + + Stephan \ No newline at end of file