Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09024 Crash/Freeze Critical (emulator) Always 7 days ago 1 day ago
Tester Robbbert View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS Windows 10/11 (64-bit)
Status [?] Confirmed Driver
Version 0.272 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 09024: vp415: Crashes at start
Description Crashes at start
Steps To Reproduce >mame vp415

You get the red warning screen. Press any key.

It will crash.
Additional Information C:\MAME>mame vp415

-----------------------------------------------------
Exception at EIP=00007ff6215d326b (nscsi_bus_device::ctrl_wait(int, unsigned int, unsigned int)+0x000b): ACCESS VIOLATION
While attempting to read memory at 00000000000002e4
-----------------------------------------------------
RAX=ffffffffffffffe8 RBX=000001d03c215f30 RCX=0000000000000000 RDX=ffffffffffffffff
RSI=000001d03c215f30 RDI=0000008dbf6f9b10 RBP=000001d03c284850 RSP=0000008dbf6f96f8
 R8=00000000000000ff R9=00000000000000ff R10=0000000000000000 R11=0000000000000246
R12=0000008dbf6f97e0 R13=0000008dbf6f9910 R14=0000008dbf6f9b50 R15=0000008dbf6f9b70
-----------------------------------------------------
Stack crawl:
  0000008dbf6f96f0: 00007ff6215d326b (nscsi_bus_device::ctrl_wait(int, unsigned int, unsigned int)+0x000b)
  0000008dbf6f9720: 00007ff62bfb3682 (luaopen_lfs+0x2b62022)
  0000008dbf6f9760: 00007ff621408c93 (device_t::reset()+0x0033)
  0000008dbf6f97a0: 00007ff621408ca4 (device_t::reset()+0x0044)
  0000008dbf6f9830: 00007ff6215a108a (running_machine::soft_reset(int)+0x012a)
  0000008dbf6f99b0: 00007ff6215a563e (running_machine::run(bool)+0x016e)
  0000008dbf6fefd0: 00007ff6246f694c (mame_machine_manager::execute()+0x024c)
  0000008dbf6ff3c0: 00007ff62841a55a (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)
  0000008dbf6ff6d0: 00007ff62841ab8a (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)
  0000008dbf6ff730: 00007ff6246f16f7 (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)
  0000008dbf6ffb00: 00007ff62a0b11d1 (luaopen_lfs+0xc5fb71)
  0000008dbf6ffb50: 00007ff61d8012ee (__tmainCRTStartup+0x016e)
  0000008dbf6ffb80: 00007ff61d801406 (mainCRTStartup+0x0016)
  0000008dbf6ffbb0: 00007ffc024c7374 (BaseThreadInitThunk+0x0014)
  0000008dbf6ffc30: 00007ffc044dcc91 (RtlUserThreadStart+0x0021)
Github Commit
Flags
Regression Version
Affected Sets / Systems vp415
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.22614
cuavas
Administrator
3 days ago
Not sure what’s going on with that stack trace – it’s apparently crashing resetting the SCSI controller:

#0 0x00007ff744f914bb in nscsi_bus_device::ctrl_wait(int, unsigned int, unsigned int) ()
#1 0x00007ff750544e25 in ncr5385_device::device_reset() ()
#2 0x00007ff744d6dfc3 in device_t::reset() ()
#3 0x00007ff744d6dfd4 in device_t::reset() ()
#4 0x00007ff744f61b7a in running_machine::soft_reset(int) ()
#5 0x00007ff744f662ae in running_machine::run(bool) ()
#6 0x00007ff7486e6d3b in mame_machine_manager::execute() ()
#7 0x00007ff74c7bd609 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&) ()
#8 0x00007ff74c7bdbbd 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> > > >&) ()
#9 0x00007ff7486e2ee9 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> > > >&) ()
#10 0x00007ff74e5b481c in main ()
User avatar
No.22630
Robbbert
Moderator
2 days ago
Can't even get into the debugger, as it crashes before the debug session can start.

According to the driver notes, it's supposed to get as far as failing a self-test.

It appears that it has heavily regressed since then.
User avatar
No.22637
Firewave
Senior Tester
1 day ago
==156139==ERROR: AddressSanitizer: SEGV on unknown address 0x0000000002e4 (pc 0x5f41964d4258 bp 0x7ffdddce76a0 sp 0x7ffdddce76a0 T0)
==156139==The signal is caused by a READ memory access.
==156139==Hint: address points to the zero page.
    #0 0x5f41964d4258 in nscsi_bus_device::ctrl_wait(int, unsigned int, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/machine/nscsi_bus.cpp:128:26
    #1 0x5f4196454176 in ncr5385_device::device_reset() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/machine/ncr5385.cpp:161:12
    #2 0x5f4198835fc8 in device_t::reset() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/device.cpp:344:2
    #3 0x5f4198835ff7 in device_t::reset() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/device.cpp:348:9
    #4 0x5f419be7ede6 in running_machine::reset_all_devices() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:1040:16
    #5 0x5f419be8054c in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11
    #6 0x5f419be8054c in call_notifiers /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:851:3
    #7 0x5f419be8054c in soft_reset /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:956:2
    #8 0x5f419be8054c in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:313:3
    #9 0x5f41977c78b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19
    #10 0x5f419850d057 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:277:22
    #11 0x5f419850fa34 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:293:3
    #12 0x5f41977ca43d 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
    #13 0x5f419c0bd195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9
    #14 0x748e86e34e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #15 0x748e86e34ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3
    #16 0x5f417e90bce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e)

The set is flagged MNW so this report is actually invalid.
User avatar
No.22650
hap
Developer
1 day ago
MT reports about a crash or app freeze for MNW drivers are ok.