- --
Viewing Issue Advanced Details
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
09005 | Crash/Freeze | Critical (emulator) | Always | Dec 7, 2024, 14:40 | Dec 22, 2024, 23:38 |
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 | 09005: mtu130: If you try to load a software-list item that is missing, MAME crashes | ||||
Description | If you choose a software-list item for which you don't have the media, it will crash. | ||||
Steps To Reproduce |
>mame mtu130 demo On the console it will say that the file can't be found, and then it will crash. |
||||
Additional Information |
C:\MAME>mame mtu130 demo :fdc:0:8dsdd: error opening image file Demonstration_Disk_1.5_1982_-_MTU-BASIC_Included.imd: No such file or directory (generic:2) (tried in mtu130_flop\demo demo mtu130) ----------------------------------------------------- Exception at EIP=00007ff759881fd6 (emu_timer::adjust(attotime, int, attotime const&)+0x0006): ACCESS VIOLATION While attempting to read memory at 0000000000000000 ----------------------------------------------------- RAX=0000000000000000 RBX=0000020074bbce00 RCX=0000000000000000 RDX=0000004dfc2f9090 RSI=0000000000000001 RDI=0000000000000000 RBP=0000000000000000 RSP=0000004dfc2f9010 R8=0000000000000000 R9=00007ff7678f3120 R10=0000004dfc2f9270 R11=665f30333175746d R12=0000020074bf3680 R13=0000004dfc2f9b20 R14=0000020073a4f0d8 R15=0000004dfc2f9440 ----------------------------------------------------- Stack crawl: 0000004dfc2f9060: 00007ff759881fd6 (emu_timer::adjust(attotime, int, attotime const&)+0x0006) 0000004dfc2f90c0: 00007ff7597d946b (floppy_image_device::mon_w(int)+0x019b) 0000004dfc2f9100: 00007ff7597d96db (non-virtual thunk to floppy_image_device::call_unload()+0x012b) 0000004dfc2f9150: 00007ff7599e5545 (device_image_interface::unload()+0x0145) 0000004dfc2f9310: 00007ff7599e802c (device_image_interface::load_internal[abi:cxx11](std::basic_string_view<char, std::char_traits<char> >, bool, int, util::option_resolution*)+0x005c) 0000004dfc2f93a0: 00007ff7599e8759 (device_image_interface::load[abi:cxx11](std::basic_string_view<char, std::char_traits<char> >)+0x0119) 0000004dfc2f9720: 00007ff75c9fe8d6 (image_manager::image_manager(running_machine&)+0x05b6) 0000004dfc2f9840: 00007ff75987c580 (running_machine::start()+0x06f0) 0000004dfc2f99c0: 00007ff75987fecc (running_machine::run(bool)+0x00cc) 0000004dfc2fefe0: 00007ff75c9d202c (mame_machine_manager::execute()+0x024c) 0000004dfc2ff3d0: 00007ff7606f03da (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) 0000004dfc2ff6e0: 00007ff7606f0a0a (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) 0000004dfc2ff740: 00007ff75c9ccdd7 (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) 0000004dfc2ffb10: 00007ff762385c51 (luaopen_lfs+0xc5e771) 0000004dfc2ffb60: 00007ff755ae12ee (__tmainCRTStartup+0x016e) 0000004dfc2ffb90: 00007ff755ae1406 (mainCRTStartup+0x0016) 0000004dfc2ffbc0: 00007ffb419c7374 (BaseThreadInitThunk+0x0014) 0000004dfc2ffc40: 00007ffb4219cc91 (RtlUserThreadStart+0x0021) |
||||
Github Commit | |||||
Flags | |||||
Regression Version | |||||
Affected Sets / Systems | mtu130 | ||||
Attached Files
|
|||||
Relationships
There are no relationship linked to this issue. |
Notes
1
![]() No.22674
Firewave Senior Tester
Dec 22, 2024, 23:38
|
With 0.272 on Linux==139856==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x577dfe38efaa bp 0x7ffc0e6d3db0 sp 0x7ffc0e6d3d00 T0) ==139856==The signal is caused by a READ memory access. ==139856==Hint: address points to the zero page. #0 0x577dfe38efaa in emu_timer::adjust(attotime, int, attotime const&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:142:6 #1 0x577df7f785de in floppy_image_device::mon_w(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/imagedev/floppy.cpp:796:18 #2 0x577df7f7740a in floppy_image_device::call_unload() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/imagedev/floppy.cpp:705:3 #3 0x577df7f7773f in non-virtual thunk to floppy_image_device::call_unload() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/imagedev/floppy.cpp #4 0x577dfac47c65 in device_image_interface::unload() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/diimage.cpp:1099:3 #5 0x577dfac46a22 in device_image_interface::load_internal[abi:cxx11](std::basic_string_view<char, std::char_traits<char>>, bool, int, util::option_resolution*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/diimage.cpp:831:2 #6 0x577dfac49c25 in device_image_interface::load[abi:cxx11](std::basic_string_view<char, std::char_traits<char>>) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/diimage.cpp:900:9 #7 0x577dfe20e19e in image_manager::image_manager(running_machine&) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/image.cpp:70:20 #8 0x577dfe26e5cc in make_unique<image_manager, running_machine &> /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/unique_ptr.h:1076:34 #9 0x577dfe26e5cc in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:193:12 #10 0x577dfe271046 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #11 0x577df9bb88b3 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #12 0x577dfa8fe057 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 #13 0x577dfa900a34 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 #14 0x577df9bbb43d 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 #15 0x577dfe4ae195 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #16 0x78c877834e07 in __libc_start_call_main /usr/src/debug/glibc/glibc/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #17 0x78c877834ecb in __libc_start_main /usr/src/debug/glibc/glibc/csu/../csu/libc-start.c:360:3 #18 0x577de0cfcce4 in _start (/home/user/CLionProjects/mame/mame+0x10867ce4) (BuildId: a76848f9c1b76b9e) |
---|