Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05683 Interface Major Always Aug 17, 2014, 23:19 Sep 1, 2014, 02:33
Tester Tafoid View Status Public Platform SDLMAME
Assigned To R. Belmont Resolution Fixed OS Windows Vista/7/8 (64-bit)
Status [?] Resolved Driver
Version 0.154 Fixed in Version 0.155 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 05683: SDL-based: -watchdog command not operable in SDLMAME
Description Using the -watchdog command which is supposed to give control back to the OS within the amount of time sent to the command does not work. This makes you have to forcequit MAME set which do not boot and hang upon start or during play.

**Example below**
The control should return after 5 seconds of 'hanging' but does not and requires user interaction to kill the application. This is problematic when running regression tests or any other tests which cannot be monitored all the time and requires a functioning watchdog to cease emulation when called upon.

Windows (non-SDL) -watchdog command works great, properly detects hangups and discontinues emulation bring control back to OS and letting usage continue.
Steps To Reproduce EG: mame -watchdog 5 comg079 (confirmed known to HANG immediately)
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems SDL-based
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
5
User avatar
No.10939
NekoEd
Senior Tester
Aug 19, 2014, 23:19
Confirmed SDLMAME64 0.154 on Linux x64.
User avatar
No.10949
Osso
Moderator
Aug 26, 2014, 09:35
Fixed by RB in r31777?
User avatar
No.10951
R. Belmont
Developer
Aug 26, 2014, 15:32
edited on: Aug 26, 2014, 15:34
The watchdog was previously disabled unless you also specified an -str of less than 5 seconds. I don't know why. My notes indicate either Tafoid or Firewave requested it because of some problem with their regression batches. 31777 removes that behavior so it's just plain on if you use -watchdog and a valid time in seconds.
User avatar
No.10953
Tafoid
Administrator
Aug 26, 2014, 21:49
On Windows SDL, at least, this is not fixed.
Using the example above instantly stops the emulation. In fact, all the attempts of different games and video modes all instantly stop the emulation in which a quick window/screen change is seen and you are dumped back to command prompt with the "Terminating due to watchdog timeout" message.
User avatar
No.10961
R. Belmont
Developer
Sep 1, 2014, 01:55
r31852.