Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08504 Crash/Freeze Critical (emulator) Always Nov 5, 2022, 09:51 Nov 5, 2022, 14:16
Tester Firewave View Status Public Platform
Assigned To Resolution Open OS
Status [?] Acknowledged Driver
Version 0.156 Fixed in Version Build
Fixed in Git Commit Github Pull Request #
Summary 08504: several msx.cpp sets and carts: Crash
Description NOTE: This was split from 5667 and was a "Additional Information" entry from Tafoid. The backtrace below is actually from genesis.

Program received signal SIGSEGV, Segmentation fault.
0x0000000004a13fa9 in z80_device::op_dd (this=0x62600008d100)
    at src/emu/cpu/z80/z80.c:3094
3094    OP(op,dd) { m_r++; EXEC(dd,rop());                                                } /* **** DD xx       */
(gdb) bt
#0  0x0000000004a13fa9 in z80_device::op_dd (this=0x62600008d100)
    at src/emu/cpu/z80/z80.c:3094
#1  0x0000000004a2042a in dd_00 (this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
    this=<optimized out>, this=<optimized out>, this=<optimized out>,
---Type <return> to continue, or q <return> to quit--

Obviously a stack overflow.
Steps To Reproduce
Additional Information Also shown in testing of 0.156 of certain MSX sets:
msx.c: hbf500 -cart1 aclassmj
msx.c: phc77
msx.c: expert20 -cart1 crossblm
msx.c: cx5m2 -cart1 quran
msx.c: hbg900ap -cart1 dooly
msx.c: y503iiire -cart1 nms1205
msx.c: y503iiir -cart1 hfox2
Github Commit
Flags
Regression Version
Affected Sets / Systems several msx.cpp sets and carts
Attached Files
 
Relationships
related to 05857Resolved  phc77, victhc90, victhc95, victhc95a: AddressSanitizer: stack-overflow 
Notes
1
User avatar
No.20764
Firewave
Senior Tester
Nov 5, 2022, 14:16
edited on: Nov 10, 2022, 14:51
I am not getting any crashes with 0.249 but it seems the carts are not being loaded either. I keep getting the MSX boot screen, then a blue screen with border and verticals lines - then the boot screen again and so on.