CORE-13734 Trying to emulate POP2 via NTVDM which immediately exits - I regtest to find what introduced the workQueueDeadLock!!! r75707 - failed, POP2 emulationFailed, then 2xloopingLouie, then workQueueDeadlook on 2nd try 0.4.6RC1 - failed, POP2 emulationFailed, then 2xloopingLouie, then workQueueDeadlook on 1st try r74900 - failed, POP2 emulationFailed, then 2xloopingLouie, then workQueueDeadlook on 1st try r74000 - failed, POP2 emulationFailed, then 2xloopingLouie, then workQueueDeadlook on 1st try r73700 - failed, POP2 emulationFailed, then 2xloopingLouie, then workQueueDeadlook on 1st try r73557 - failed, POP2 emulationFailed, then 2xloopingLouie, then workQueueDeadlook on 1st try r73542 - failed, POP2 emulationFailed, then 2xloopingLouie, then workQueueDeadlook on 1st try r73532 - failed, POP2 emulationFailed, then 2xloopingLouie, then workQueueDeadlook on 2nd try !!!!GUILTY!!!! r73531 - ok, POP2 emulationFailed, then 0x or 2xloopingLouie(~50% of cases), BUT NO WORKQUEUEDEADLOCK, tried 30times r73525 - ok, POP2 emulationFailed, then 0x or 2xloopingLouie(~50% of cases), BUT NO WORKQUEUEDEADLOCK, tried 20times r73500 - ok, POP2 emulationFailed, then 0x or 2xloopingLouie(~50% of cases), BUT NO WORKQUEUEDEADLOCK, tried 15times r73441 - ok, POP2 emulationFailed, then 0x or 2xloopingLouie(~50% of cases), BUT NO WORKQUEUEDEADLOCK, tried 10times ---------------------------------------------------------------- Log-excerpt from last known good rev r73531 (where the work-queue-dead-lock does not happen): ... (subsystems/mvdm/ntvdm/io.c:327) IoPortProc[0x3DA].IoHandlers.InB already registered (subsystems/mvdm/ntvdm/io.c:332) IoPortProc[0x3DA].IoHandlers.OutB already registered (subsystems/mvdm/ntvdm/bios/vidbios.c:2368) HACK: Using HACK for cursor scanlines adjustment (subsystems/mvdm/ntvdm/dos/dos32krnl/dos.c:497) Setting interrupt 0x00 to F000:0008 ... (subsystems/mvdm/ntvdm/dos/dos32krnl/process.c:960) PspBlock->ParentPsp = 0x0c07; Sda->CurrentPsp = 0x0c07 (subsystems/mvdm/ntvdm/dos/dos32krnl/process.c:965) Sda->CurrentPsp = 0x0c07; Old SS:SP = 3DD4:7F6E going to be LastStack = 0x0c0704e2 (subsystems/mvdm/ntvdm/dos/dos32krnl/process.c:147) DosRestoreState(before) -- SS:SP == 0C07:04E2 Saved State = DS = 0C07; ES = 0C07; AX = 4B00; CX = 0000 DX = 0307; BX = 022F; BP = 0287; SI = 0100; DI = FFFE (subsystems/mvdm/ntvdm/dos/dos32krnl/process.c:170) DosRestoreState(after) -- SS:SP == 0C07:04F2 Restored CPU State = DS = 0C07; ES = 0C07; AX = 4B00; CX = 0000 DX = 0307; BX = 022F; BP = 0287; SI = 0100; DI = FFFE (subsystems/mvdm/ntvdm/dos/dem.c:527) Exit DOS from ExitCode (prologue)! (subsystems/mvdm/ntvdm/hardware/disk.c:618) UnmountDisk: Disk 0:0:0x0F0A25E0 is already unmounted (subsystems/mvdm/ntvdm/hardware/disk.c:618) UnmountDisk: Disk 0:1:0x0F0A25F0 is already unmounted (subsystems/mvdm/ntvdm/hardware/disk.c:618) UnmountDisk: Disk 0:2:0x0F0A2600 is already unmounted (subsystems/mvdm/ntvdm/hardware/disk.c:618) UnmountDisk: Disk 0:3:0x0F0A2610 is already unmounted (subsystems/mvdm/ntvdm/hardware/disk.c:618) UnmountDisk: Disk 1:0:0x0F0A2620 is already unmounted (subsystems/mvdm/ntvdm/hardware/disk.c:618) UnmountDisk: Disk 1:1:0x0F0A2630 is already unmounted (subsystems/mvdm/ntvdm/hardware/disk.c:618) UnmountDisk: Disk 1:2:0x0F0A2640 is already unmounted (subsystems/mvdm/ntvdm/hardware/disk.c:618) UnmountDisk: Disk 1:3:0x0F0A2650 is already unmounted (subsystems/mvdm/ntvdm/hardware/video/../../console/video.c:117) __RegisterConsoleVDM(0) (win32ss/user/winsrv/consrv/conoutput.c:1040) SrvSetConsoleWindowInfo(0x00000013, 1, {L0, T0, R79, B24}) called (subsystems/mvdm/ntvdm/hardware/video/../../console/video.c:496) ScreenEventHandler - Detected forbidden resize! Reset console screenbuffer size back to (X = 80 ; Y = 25) (win32ss/user/winsrv/consrv/conoutput.c:1040) SrvSetConsoleWindowInfo(0x00000013, 1, {L0, T0, R79, B24}) called (win32ss/user/ntuser/painting.c:155) err: LOOP it (win32ss/user/ntuser/painting.c:159) err: SendSyncPaint Found one in the Sent Msg Queue! WARNING: MmUnlockPageableImageSection at ntoskrnl/mm/ARM3/drvmgmt.c:39 is UNIMPLEMENTED! (win32ss/user/ntuser/painting.c:155) err: LOOP it (win32ss/user/ntuser/painting.c:159) err: SendSyncPaint Found one in the Sent Msg Queue! (subsystems/mvdm/ntvdm/ntvdm.c:344) NTVDM - Exiting... (win32ss/gdi/ntgdi/gdiobj.c:1169) GreDeleteObject: Trying to delete invalid object 3D05012D