Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09119 Crash/Freeze Critical (emulator) Always 1 day ago 43 minutes ago
Tester JimCarlTay View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows 10/11 (64-bit)
Status [?] Confirmed Driver
Version 0.274 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 09119: racjamdx: Game causes MAME to close itself without warning during bootup
Description This is a non-working game, but since emulator crashes are permitted for bug reports, any attempt to load the game will cause MAME to crash without warning.

This occurs during the section of the bootup with a flashing pattern of three lines, a triangle, and a wavy sheet, on a background of colored noise.
Steps To Reproduce Load the game and wait until the pattern appears. Then, you may see MAME close itself/crash without any warning or error message.
Additional Information
Github Commit
Flags
Regression Version 0.234
Affected Sets / Systems racjamdx
Attached Files
png file icon 0000.png (527,743 bytes) 1 day ago Uploaded by JimCarlTay
The pattern itself, moments before MAME crashes
JimCarlTay
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.23019
Osso
Moderator
1 day ago
Started exiting in 0.234. Up to 0.233 it just stood stuck at a black screen with some numbers.
The change to set_maximum_quantum() seems to be the cause. It could be argued this is actually an improvement, though, since the game gets a bit further.
User avatar
No.23025
Firewave
Senior Tester
43 minutes ago
==67571==ERROR: AddressSanitizer: SEGV on unknown address 0x78771007ba24 (pc 0x5a3eff26541b bp 0x78771087aa40 sp 0x78771087a9b0 T21)
==67571==The signal is caused by a READ memory access.
    #0 0x5a3eff26541b in texture_fetch /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/konami/cobra.cpp:717:19
    #1 0x5a3eff26541b in (anonymous namespace)::cobra_renderer::render_texture_scan(int, poly_manager<float, (anonymous namespace)::cobra_polydata, 8, (unsigned char)0>::extent_t const&, (anonymous namespace)::cobra_polydata const&, int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/konami/cobra.cpp:813:20
    #2 0x5a3eff267fae in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11
    #3 0x5a3eff267fae in poly_manager<float, (anonymous namespace)::cobra_polydata, 8, (unsigned char)0>::work_item_callback(void*, int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/video/poly.h:625:4
    #4 0x5a3f1968f1fe in worker_thread_process(osd_work_queue*, work_thread_info*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/osdsync.cpp:772:19
    #5 0x5a3f1968e4ca in worker_thread_entry(void*) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/osdsync.cpp:700:4
    #6 0x5a3f19690280 in __invoke_impl<void *, void *(*)(void *), work_thread_info *> /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/invoke.h:61:14
    #7 0x5a3f19690280 in __invoke<void *(*)(void *), work_thread_info *> /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/invoke.h:96:14
    #8 0x5a3f19690280 in _M_invoke<0UL, 1UL> /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/std_thread.h:301:13
    #9 0x5a3f19690280 in operator() /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/std_thread.h:308:11
    #10 0x5a3f19690280 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void* (*)(void*), work_thread_info*>>>::_M_run() /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/std_thread.h:253:13
    #11 0x7877468e1f73 in execute_native_thread_routine /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:104:18
    #12 0x5a3ef9b5023d in asan_thread_start(void*) (/home/user/CLionProjects/mame/mame-asan+0x1089023d) (BuildId: dd5b3932e72efdc3)
    #13 0x7877466a3709  (/usr/lib/libc.so.6+0x95709) (BuildId: 695cfc6aac7d0f77bb7caba0ef01b2e868762b02)
    #14 0x787746727aab  (/usr/lib/libc.so.6+0x119aab) (BuildId: 695cfc6aac7d0f77bb7caba0ef01b2e868762b02)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/konami/cobra.cpp:717:19 in texture_fetch
Thread T21 created by T0 here:
    #0 0x5a3ef9c0b963 in pthread_create (/home/user/CLionProjects/mame/mame-asan+0x1094b963) (BuildId: dd5b3932e72efdc3)
    #1 0x7877468e2071 in __gthread_create /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:676:35
    #2 0x7877468e2071 in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State>>, void (*)()) /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:172:37
    #3 0x5a3f1968defa in thread<void *(&)(void *), work_thread_info *&, void> /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/std_thread.h:173:2
    #4 0x5a3f1968defa in osd_work_queue_alloc(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/osdsync.cpp:305:24
    #5 0x5a3eff270528 in poly_manager /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/video/poly.h:474:13
    #6 0x5a3eff270528 in cobra_renderer /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/konami/cobra.cpp:371:5
    #7 0x5a3eff270528 in make_unique<(anonymous namespace)::cobra_renderer, screen_device &> /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/unique_ptr.h:1076:34
    #8 0x5a3eff270528 in (anonymous namespace)::cobra_state::video_start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/konami/cobra.cpp:935:15
    #9 0x5a3f13b88772 in driver_device::device_start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/driver.cpp:226:3
    #10 0x5a3f13a52fc2 in device_t::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/device.cpp:542:2
    #11 0x5a3f1709b411 in running_machine::start_all_devices() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:1013:13
    #12 0x5a3f17099a41 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:215:2
    #13 0x5a3f1709bfe6 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3
    #14 0x5a3f129e3853 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19
    #15 0x5a3f13728ff7 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
    #16 0x5a3f1372b9d4 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
    #17 0x5a3f129e63dd 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
    #18 0x5a3f172d9135 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9
    #19 0x787746635487  (/usr/lib/libc.so.6+0x27487) (BuildId: 695cfc6aac7d0f77bb7caba0ef01b2e868762b02)
    #20 0x78774663554b in __libc_start_main (/usr/lib/libc.so.6+0x2754b) (BuildId: 695cfc6aac7d0f77bb7caba0ef01b2e868762b02)
    #21 0x5a3ef9b27ca4 in _start (/home/user/CLionProjects/mame/mame-asan+0x10867ca4) (BuildId: dd5b3932e72efdc3)