http://bugs.winehq.org/show_bug.cgi?id=4276
------- Additional Comments From bap70@freemail.hu 2007-13-01 16:51 ------- I've also tried to run Microsoft Train Simulator following the above instructions. I tried to catch some suspiciuos log entry after quitting. The result is the following:
WINEDEBUG=+all wine train.exe
blah blah 0009:trace:region:ExtCreateRegion (nil) 256 0x17ba78 0009:trace:syslevel:_EnterSysLevel (0x7ebbf960, level 3): thread 9 count before 0 0009:trace:syslevel:_EnterSysLevel (0x7ebbf960, level 3): thread 9 count after 1 0009:trace:heap:RtlAllocateHeap (0x110000,00000002,00000014): returning 0x4d008e8 0009:trace:gdi:GDI_AllocObject (0x3d0): enter 1 0009:trace:heap:RtlAllocateHeap (0x110000,00000002,0000001c): returning 0x17a830 0009:trace:heap:RtlAllocateHeap (0x110000,00000002,00000010): returning 0x4d00c30 0009:trace:gdi:GDI_ReleaseObj (0x3d0): leave 1 0009:trace:syslevel:_LeaveSysLevel (0x7ebbf960, level 3): thread 9 count before 1 0009:trace:syslevel:_LeaveSysLevel (0x7ebbf960, level 3): thread 9 count after 0 0009:trace:syslevel:_EnterSysLevel (0x7ebbf960, level 3): thread 9 count before 0 0009: get_console_input_info( handle=(nil) ) 0009: get_console_input_info() = INVALID_PARAMETER { history_mode=0, history_size=0, history_index=0, edition_mode=0, title=L"" }
It seems that the problem occurs after calling get_console_input_info()