Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08480 Crash/Freeze Critical (emulator) Always Nov 4, 2022, 13:10 Nov 27, 2022, 17:18
Tester Firewave View Status Public Platform MAME (Self-compiled)
Assigned To hap Resolution Fixed OS Linux (64-bit)
Status [?] Resolved Driver
Version 0.249 Fixed in Version 0.250 Build 64-bit
Fixed in Git Commit 34b92cf Github Pull Request #
Summary 08480: cybrcycc, cybrcyccj, raverace, raveracej, raveraceja, ridgera2, ridgera28, ridgera2j, ridgera2ja: Segmentation fault
Description
AddressSanitizer:DEADLYSIGNAL
=================================================================
==12125==ERROR: AddressSanitizer: SEGV on unknown address 0x03e800002f5d (pc 0x7f5d31f2957c bp 0x000000002f5d sp 0x7f5d2e8a77e0 T0)
==12125==The signal is caused by a READ memory access.
    #0 0x7f5d31f2957c in __pthread_kill_implementation nptl/./nptl/pthread_kill.c:44:76
    #1 0x7f5d31edda01 in gsignal signal/../sysdeps/posix/raise.c:26:13
    #2 0x7f5d33ccf3c5  (/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0+0x13f3c5) (BuildId: 418f97e44d04d8ab9d3828e3cc45a8743439ecf7)
    #3 0x7f5d31edda9f  (/lib/x86_64-linux-gnu/libc.so.6+0x3da9f) (BuildId: 71a7c7b97bc0b3e349a3d8640252655552082bf5)
    #4 0x7f5d6cf2f326 in readbit /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/drawgfx.cpp
    #5 0x7f5d6cf2f326 in gfx_element::decode(unsigned int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/drawgfx.cpp:314:10
    #6 0x7f5d5164da37 in gfx_element::get_data(unsigned int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/drawgfx.h:193:47
    #7 0x7f5d5164d6f0 in tile_data::set(unsigned char, unsigned int, unsigned int, unsigned char) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/tilemap.h:390:19
    #8 0x7f5d59b029dd in namcos22_state::get_text_tile_info(tilemap_t&, tile_data&, unsigned int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/namco/namcos22_v.cpp:1754:11
    #9 0x7f5d73894a0d in util::detail::delegate_base<delegate_late_bind, void, tilemap_t&, tile_data&, unsigned int>::operator()(tilemap_t&, tile_data&, unsigned int) const /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11
    #10 0x7f5d7388bfad in tilemap_t::tile_update(unsigned int, unsigned int, unsigned int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/tilemap.cpp:804:2
    #11 0x7f5d738a3ed8 in void tilemap_t::draw_instance<bitmap_ind16>(screen_device&, bitmap_ind16&, tilemap_t::blit_parameters const&, int, int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/tilemap.cpp:1237:6
    #12 0x7f5d73895219 in void tilemap_t::draw_common<bitmap_ind16>(screen_device&, bitmap_ind16&, rectangle const&, unsigned int, unsigned char, unsigned char) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/tilemap.cpp:1023:5
    #13 0x7f5d7388e5c6 in tilemap_t::draw(screen_device&, bitmap_ind16&, rectangle const&, unsigned int, unsigned char, unsigned char) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/tilemap.cpp:1102:3
    #14 0x7f5d59b0bd6a in namcos22s_state::draw_text_layer(screen_device&, bitmap_rgb32&, rectangle const&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/namco/namcos22_v.cpp:2087:15
    #15 0x7f5d59b16b12 in namcos22s_state::screen_update_namcos22s(screen_device&, bitmap_rgb32&, rectangle const&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/mame/namco/namcos22_v.cpp:2395:17
    #16 0x7f5d68a8e7bd in util::detail::delegate_base<delegate_late_bind, unsigned int, screen_device&, bitmap_rgb32&, rectangle const&>::operator()(screen_device&, bitmap_rgb32&, rectangle const&) const /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11
    #17 0x7f5d73815201 in screen_device::update_partial(int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1216:41
    #18 0x7f5d73912bc9 in video_manager::finish_screen_updates() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:622:10
    #19 0x7f5d739119cb in video_manager::frame_update(bool) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:215:44
    #20 0x7f5d7380b7c8 in screen_device::vblank_begin(int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1646:21
    #21 0x7f5d737f4304 in operator() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11
    #22 0x7f5d737f4304 in device_scheduler::execute_timers() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5
    #23 0x7f5d737ef858 in device_scheduler::timeslice() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:505:2
    #24 0x7f5d736874a7 in running_machine::run(bool) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:329:17
    #25 0x7f5d767edf7f in mame_machine_manager::execute() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:290:19
    #26 0x7f5d769e28d6 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&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:275:22
    #27 0x7f5d769e641f 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> > > >&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/clifront.cpp:291:3
    #28 0x7f5d767f2d5f 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> > > >&) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:454:18
    #29 0x7f5d739c958b in main /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:191:9
    #30 0x7f5d31ec9209 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #31 0x7f5d31ec92bb in __libc_start_main csu/../csu/libc-start.c:389:3
    #32 0x7f5d51153260 in _start (/mnt/s/GitHub/mame/mame+0x1d397260) (BuildId: 603d3d1c300651feb2a8e3ac6e9cb58d3f85e77b)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV nptl/./nptl/pthread_kill.c:44:76 in __pthread_kill_implementation
==12125==ABORTING
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems cybrcycc, cybrcyccj, raverace, raveracej, raveraceja, ridgera2, ridgera28, ridgera2j, ridgera2ja
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.20696
Firewave
Senior Tester
Nov 4, 2022, 14:13
I did not experience any crash using the official 0.249 Windows binary.
User avatar
No.20704
hap
Developer
Nov 4, 2022, 17:31
I couldn't confirm any crash, but it's probably fixed with: https://github.com/mamedev/mame/commit/34b92cfc3de9386f691f3693292dee363275d7b3
User avatar
No.20705
Firewave
Senior Tester
Nov 4, 2022, 17:54
Cherry-picked and fix confirmed. Thanks.