- --
Viewing Issue Advanced Details
| ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09388 | Crash/Freeze | Critical (emulator) | Always | Feb 10, 2026, 18:25 | 2 days ago |
| Tester | JimCarlTay | View Status | Public | Platform | MAME (Official Binary) |
| Assigned To | Resolution | Open | OS | Windows (x64) | |
| Status [?] | Confirmed | Driver | |||
| Version | 0.285 | Fixed in Version | Build | x64 | |
| Fixed in Git Commit | Github Pull Request # | ||||
| Summary | 09388: sstarkar: The emulator crashes when the system is loaded without a cartridge | ||||
| Description |
System: Singing Star Karaoke (non-working machine) Attempting to load the system without a cartridge causes the emulator to crash. |
||||
| Steps To Reproduce |
1. Open the system's software list and select [Use file manager]. 2. The emulator crashes after proceeding from the system and warning info. |
||||
| Additional Information | This is a non-working machine, but I'm sure it's still okay to report emulator crashes involving them, right? | ||||
| Github Commit | |||||
| Flags | |||||
| Regression Version | |||||
| Affected Sets / Systems | sstarkar | ||||
|
Attached Files
|
|||||
Relationships
| There are no relationship linked to this issue. |
Notes
7
|
No.24119
Robbbert Moderator
Feb 11, 2026, 23:41
edited on: Feb 11, 2026, 23:43 |
I simply entered >mame sstarkar at the command line, pressed enter at the red message, and it crashed. C:\MAME>mame sstarkar ----------------------------------------------------- Exception at EIP=00007ff670310e80 (handler_entry_read_memory_bank<1, -1>::read(unsigned int, unsigned short) const+0x0030): ACCESS VIOLATION While attempting to read memory at 0000000000017fee ----------------------------------------------------- RAX=0000000000000000 RBX=0000026081a733d0 RCX=0000026081a44c20 RDX=000000000000bff7 RSI=0000026081a733d0 RDI=000000a9354f9c20 RBP=0000026081a40f20 RSP=000000a9354f9808 R8=0000000000000000 R9=000000000000000f R10=00000000deadbeef R11=000000a9354f92f0 R12=000000a9354f98f0 R13=000000a9354f9a20 R14=000000a9354f9c60 R15=000000a9354f9c80 ----------------------------------------------------- Stack crawl: 000000a9354f9800: 00007ff670310e80 (handler_entry_read_memory_bank<1, -1>::read(unsigned int, unsigned short) const+0x0030) 000000a9354f9830: 00007ff6771be417 (luaopen_lfs+0x2e69df7) 000000a9354f9870: 00007ff66bc7bec3 (device_t::reset()+0x0033) 000000a9354f98b0: 00007ff66bc7bed4 (device_t::reset()+0x0044) 000000a9354f9940: 00007ff66bd4c76a (running_machine::soft_reset(int)+0x012a) 000000a9354f9ac0: 00007ff66bd50d8e (running_machine::run(bool)+0x016e) 000000a9354fef50: 00007ff66f1f940c (mame_machine_manager::execute()+0x024c) 000000a9354ff340: 00007ff67329c5aa (cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x03ea) 000000a9354ff650: 00007ff67329cbda (cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x007a) 000000a9354ff6b0: 00007ff66f1f41a7 (emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x0027) 000000a9354ffa80: 00007ff6750ae961 (luaopen_lfs+0xd5a341) 000000a9354ffad0: 00007ff667f112ee (__tmainCRTStartup+0x016e) 000000a9354ffb00: 00007ff667f11406 (mainCRTStartup+0x0016) 000000a9354ffb30: 00007ffc250c7374 (BaseThreadInitThunk+0x0014) 000000a9354ffbb0: 00007ffc26fbcc91 (RtlUserThreadStart+0x0021) |
|---|---|
|
No.24120
Robbbert Moderator
Feb 12, 2026, 05:25
|
Applied a fairly trivial fix using memory views into my build. No more crash. |
|
No.24125
JimCarlTay Senior Tester
Feb 13, 2026, 07:03
|
Could you get a dev to apply these fixes to the main branch? |
|
No.24128
Robbbert Moderator
Feb 13, 2026, 21:53
|
That isn't possible. However if someone wants to see what I did, look at https://github.com/Robbbert/mameui/commit/83e947965bd3eabae219b97449dc5bfbf5a623ff . But, it will need to be checked over, and adjusted to the current coding standards. I only did enough to stop it crashing, it may need more work. |
|
No.24148
Kale Developer
Feb 25, 2026, 12:52
|
Well the system clearly set_must_be_loaded(true), why it's bypassing the UI? |
|
No.24149
Kale Developer
Feb 25, 2026, 13:00
edited on: Feb 25, 2026, 13:03 |
Getting something different:#0 0x0000000002c15f30 in handler_entry_read_memory_bank<1, -1>::read(unsigned int, unsigned short) const () Culprit is m_core->m_r[REG_PC] = read16(m_vectorbase + 0x7); |
|
No.24542
Firewave Senior Tester
2 days ago
|
Running 0.289 on Linux:
==164435==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55b9c89755e1 bp 0x7fff631d9200 sp 0x7fff631d9100 T0)
==164435==The signal is caused by a READ memory access.
==164435==Hint: address points to the zero page.
#0 0x55b9c89755e1 in base /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/emumem.h:2508:60
#1 0x55b9c89755e1 in handler_entry_read_memory_bank<1, -1>::read(unsigned int, unsigned short) const /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/emumem_hem.cpp:95:34
#2 0x55b9c1c9b052 in dispatch_read<1, 1, -1> /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/emumem.h:1630:48
#3 0x55b9c1c9b052 in read_native /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/emumem.h:1826:10
#4 0x55b9c1c9b052 in read_word /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/emumem.h:1720:66
#5 0x55b9c1c9b052 in read16 /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/cpu/unsp/unsp.h:205:55
#6 0x55b9c1c9b052 in unsp_device::device_reset() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/cpu/unsp/unsp.cpp:339:24
#7 0x55b9c58c9868 in device_t::reset() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/device.cpp:353:2
#8 0x55b9c58c9897 in device_t::reset() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/device.cpp:357:9
#9 0x55b9c929a58b in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:753:10
#10 0x55b9c929a58b in call_notifiers /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:936:3
#11 0x55b9c929a58b in soft_reset /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:1041:2
#12 0x55b9c929a58b in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:395:3
#13 0x55b9c470ede3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19
#14 0x55b9c5599b2c in cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:278:22
#15 0x55b9c559c541 in cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:294:3
#16 0x55b9c4711c4d in emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:453:18
#17 0x55b9c9524a4b in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9
#18 0x7f7bc3827740 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:59:16
#19 0x7f7bc3827878 in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3
#20 0x55b9a9356164 in _start (/home/user/CLionProjects/mame/mame-asan+0x11598164) (BuildId: 13beb3120a836eda0c05eca94b4a95e9bd4778da)
==164435==Register values:
rax = 0x0000000000000000 rbx = 0x00007e0bbfbfdc40 rcx = 0x0000000000000000 rdx = 0x0000000000000000
rdi = 0x00007bbbbfa16410 rsi = 0x000000000000fff7 rbp = 0x00007fff631d9200 rsp = 0x00007fff631d9100
r8 = 0x0000000000000040 r9 = 0x0000000000000010 r10 = 0x00007e0bbfbfe328 r11 = 0x00000000deadbeef
r12 = 0x00000fc177f7f44e r13 = 0x00000fc177f7f440 r14 = 0x00000fc177f7fb88 r15 = 0x00000fc177f7fc6c
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/emumem.h:2508:60 in base
|