English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 22 September 2016, 15:00   #1
Registered User
Join Date: Aug 2004
Posts: 2,961
WinUAE hangs, possible input buffer overflow?

I can get WinUAE 3.3.0 and 3.4.0b7 to hang (stop responding) fairly reliably by doing this:
  • Run WinUAE with -log argument (not sure that's essential)
  • Enable pause when mouse uncaptured option
  • Start emulation
  • Un-capture mouse, click in the log window (or possibly another window like Notepad) and press some keys. Pressing Pause repeatedly seems to work.
  • After a while click in the emulation window to continue emulation and it stops responding.
mark_k is offline  
Old 22 September 2016, 15:34   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,917
Cursor/copy marker active in console window? It will stall any console write calls until removed.
Toni Wilen is online now  
Old 22 September 2016, 17:27   #3
Registered User
Join Date: Aug 2004
Posts: 2,961
No, or at least I don't think so.

WinUAE 3.3.0 reliably hangs for me (Windows 10 1511 x86-64) if I run winuae with -log -inputlog 1 arguments, start emulation, press Pause, activate the log window (possibly just by moving the mouse over it since I use focus-follows-mouse) then press Pause.

On the first press of Pause (when emulation is running) there are 4 lines of log output:
HANDLE=1003d CODE=1d Flags=4 VK=13 MSG=100 EXTRA=0 SC=1d
HANDLE=1003d CODE=45 Flags=0 VK=ff MSG=100 EXTRA=0 SC=45
HANDLE=1003d CODE=1d Flags=5 VK=13 MSG=101 EXTRA=0 SC=1d
HANDLE=1003d CODE=45 Flags=1 VK=ff MSG=101 EXTRA=0 SC=45

However on the second press (while emulation is paused with the log window active) there is just one:
HANDLE=1003d CODE=1d Flags=4 VK=13 MSG=100 EXTRA=0 SC=1d

Also, I noticed that while paused with the emulation window inactive, WinUAE still receives input events (e.g. as you type in Notepad see key codes in the log window). Is there any way to suspend receiving input while paused? Though I guess you could have the chicken-and-egg problem with not being able to un-pause because you no longer receive key events?

Last edited by mark_k; 22 September 2016 at 17:33.
mark_k is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffer overflow when transfering lots of files Frimann New to Emulation or Amiga scene 2 30 January 2009 00:08
Strange hangs while running WinUAE DWolfman support.WinUAE 20 06 September 2008 12:15
Eagleplayer hangs winuae bLAZER support.Apps 3 06 February 2008 21:03
SysEx buffer overflow Ducktale support.WinUAE 1 30 August 2007 12:20
WinUAE 1.3.4 hard hangs Alyria support.WinUAE 40 05 January 2007 15:41

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 10:35.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.07006 seconds with 13 queries