Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06964 Crash/Freeze Critical (emulator) Always May 5, 2018, 03:08 May 6, 2018, 09:25
Tester Tafoid View Status Public Platform MAME (Official Binary)
Assigned To cuavas Resolution Fixed OS Windows Vista/7/8 (64-bit)
Status [?] Resolved Driver
Version 0.197 Fixed in Version 0.198 Build
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 06964: dsp3000, dsp3500, dsp5500: Exception when using most -rs232 options for DSP* machines
Description When attempting to use a number of different -rs232 options with a few machines in driver, the follow exception happens:
Exception at EIP=0000000003749f4f (layout_view::recompute(render_layer_config)+0x002f): ACCESS VIOLATION
-----------------------------------------------------
Stack crawl:
  0000000000227fa0: 0000000003749f4f (layout_view::recompute(render_layer_config)+0x002f)
  0000000000228050: 0000000003733298 (render_target::update_layer_config()+0x0018)
  00000000002283c0: 000000000379bdd5 (video_manager::video_manager(running_machine&)+0x0ab5)

You also get warnings:
Error instantiating layout view Terminal: invalid screen index 0
Error instantiating layout view Domain: invalid screen index 0
Error instantiating layout view Terminal: invalid screen index 0
Error instantiating layout view Domain: invalid screen index 0
Steps To Reproduce Examples:
dsp3000 -rs232 dec_loopback
dsp3000 -rs232 keyboard
dsp3500 -rs232 loopback
dsp3500 -rs232 null_modem
dsp5500 -rs232 printer
dsp5500 -rs232 pty
dsp5500 -rs232 sunkbd
Additional Information First started crashing July 13, 2017:
https://github.com/mamedev/mame/commit/5de1667104ec735a43caa3829b79a72d6835e9d8
Github Commit
Flags
Regression Version 0.188
Affected Sets / Systems dsp3000, dsp3500, dsp5500
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.15014
cuavas
Administrator
May 6, 2018, 07:34
This happens if a driver provides internal artwork that shows screens in all views but can be configured in a way that has no screens at all. In this case, none of the views will be viable, but MAME doesn't automatically load the fallback view displaying the "no screens" message.
User avatar
No.15015
cuavas
Administrator
May 6, 2018, 09:25
Fixed in https://github.com/mamedev/mame/commit/138b60e6c6078260b12becbc6706fa0523eea506