- --
Viewing Issue Advanced Details
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
09118 | Crash/Freeze | Critical (emulator) | Always | 6 days ago | 35 minutes ago |
Tester | Augusto | View Status | Public | Platform | MAME (Unofficial Binary) |
Assigned To | Resolution | Open | OS | Linux (64-bit) | |
Status [?] | Confirmed | Driver | |||
Version | 0.274 | Fixed in Version | Build | 64-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 09118: wwfsstar, wwfsstaru4, wwfsstaru6, wwfsstaru7: after tag team champions stage happen freeze and crash | ||||
Description |
Hello. Thanks for reading my topic. After winning the tag team champion title has 2 screens. One has an journal with the champions and in the next screen happen an freeze in gameplay and sound. In some seconds MAME will crash not returning to MAME UI. That bug affect the main set and USA clones. However randomly in set wwfsstaru6 then winning the tag team champion title has an alternate screen compared with others sets. MAME not will freeze or crash, but happen something doing MAME use much cpu and emulation speed is will be locked to less of 50 %. The japanese set wwfsstarj is unaffected. Please load the save state with the main romset wwfsstar. Have an good day. |
||||
Steps To Reproduce | |||||
Additional Information | |||||
Github Commit | |||||
Flags | |||||
Regression Version | |||||
Affected Sets / Systems | wwfsstar, wwfsstaru4, wwfsstaru6, wwfsstaru7 | ||||
Attached Files
|
|||||
Relationships
|
Notes
15
![]() No.23000
Robbbert Moderator
6 days ago
|
I wasn't able to load your savestate because it has an invalid header. |
---|---|
![]() No.23001
JimCarlTay Tester
6 days ago
|
Same for me. I tried it in 0.274 and I also cannot load the save state due to the header issue. |
![]() No.23002
Augusto Tester
5 days ago
|
Here is used Linux Ubuntu 64 0.274 build. Please see the 2.zip if work. |
![]() No.23003
JimCarlTay Tester
5 days ago
edited on: 5 days ago |
Why the save states aren't working is because Robbbert and I are using Windows, not Linux. I would have to play through this game to ensure that I can reproduce the bug without using the faulty save states. |
![]() No.23004
Robbbert Moderator
5 days ago
edited on: 5 days ago |
Tried all 3 save states in 2.zip, but all were rejected same as before. I rarely use save states and had no clue that unix ones were incompatible. If that is true, then it's a poor decision by the designers. Sorry Augusto but you'll have to wait and hope that someone comes along who can make use of your save states. You said that it crashes? Does it show a message or a dump? If so, please paste that information here. |
![]() No.23005
Robbbert Moderator
5 days ago
edited on: 5 days ago |
Checked the code in emu\save.cpp to find where the failure occurs. It is at line 563, where signatures are compared. I have no idea what the signatures are for, but the expected signature for wwfsstaru6 is B29BA528, while the save state gives A32482DE (before little_endianize_int32 is applied). So it's never going to work. Also, the error log mentions an anonymous timer, so the save state is still not going to be reliable. However, I was able to save and load a save state without issue. The driver file states that save states are supported, even though that cannot be fully correct. |
![]() No.23006
hap Developer
5 days ago
|
Possibly, the Ubuntu release wasn't compiled from the 274 release tag? If Linux vs Windows savestates were incompatible, we'd have known before, unless there's a regression there. |
![]() No.23007
JimCarlTay Tester
5 days ago
|
I've never known about the savestate compatibility issue (if there was one) since the only OS I use is Windows. |
![]() No.23008
cuavas Administrator
5 days ago
|
Saved states with cheats enabled versus disabled used to be incompatible. I don’t know if that’s the case any more, or if there are other pitfalls. |
![]() No.23009
Augusto Tester
4 days ago
|
Thanks for all replies. MAME Linux Ubuntu version is from Cesare Falco PPA. He always make an new version only then MAME new version is released. https://launchpad.net/~c.falco/+archive/ubuntu/mame I not had used cheats in gameplay. Having cheats enabled even not using any cheats does problems in save states ? I have uploaded an third save state with cheats menu disabled. Try it. If the third save state not work try play the game. gameplay is easy ... Only 4 stages and when the energy is low insert credit and press start to recover energy. |
![]() No.23010
hap Developer
4 days ago
edited on: 4 days ago |
Your savestate still won't load on Windows MAME 0.274 release binary. I also tried playing it (with cheats) and can't repro it. However, I did see a palette OOB write at the exact point where you claim it crashes. Try again after this commit: https://github.com/mamedev/mame/commit/830461fad8adf4cec4b5a472817a0deefe25d5bc |
![]() No.23014
Augusto Tester
3 days ago
edited on: 3 days ago |
@hap Thanks for your reply. I not had knowledge save states between windows and linux builds are incompatible. I have created an video capture showing the bug, but when happen the bug the sound not is captured being an repetitive noise. The japanese set wwfsstarj is unaffected because use an alternate screen when happen the bug. I not known any way to download MAME linux builds using pre release source as you say in your reply. Here I not has any compile tools for Linux. Also is possible that bug happen only in Linux builds ? |
![]() No.23015
hap Developer
3 days ago
|
Ok, then please retry when you updated MAME after the next release. Whether or not Windows is more lenient to buffer overflow bugs, I don't know/I don't really care. Bugs like these are bad either way. |
![]() No.23017
Augusto Tester
2 days ago
|
Thanks for doing an better world using your talent in project. Have an nice week. |
![]() No.23026
Firewave Senior Tester
35 minutes ago
|
==69377==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x51b000057088 at pc 0x6292e4bb1356 bp 0x7fff54ce1110 sp 0x7fff54ce08d0 READ of size 1144 at 0x51b000057088 thread T0 #0 0x6292e4bb1355 in __asan_memcpy (/home/user/CLionProjects/mame/mame-asan+0x10950355) (BuildId: dd5b3932e72efdc3) #1 0x6293020765d2 in render_container::update_palette() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/render.cpp:891:4 #2 0x62930207df6e in render_target::add_container_primitives(render_primitive_list&, render_target::object_transform const&, render_target::object_transform const&, render_container&, int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/render.cpp:2428:12 #3 0x62930207d0af in render_target::get_primitives() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/render.cpp:1693:5 #4 0x62930229c9cb in osd::(anonymous namespace)::renderer_ogl::get_primitives() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/modules/render/drawogl.cpp:309:30 #5 0x6293024e2daf in sdl_window_info::update() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/window.cpp:765:50 #6 0x6293024dc2bf in sdl_osd_interface::update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/video.cpp:103:12 #7 0x62930220d2c7 in video_manager::frame_update(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/video.cpp:244:19 #8 0x6293021721bf in screen_device::vblank_begin(int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/screen.cpp:1644:21 #9 0x629302164d2d in operator() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/delegate.h:765:11 #10 0x629302164d2d in device_scheduler::execute_timers() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:951:5 #11 0x62930215fb68 in device_scheduler::timeslice() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/schedule.cpp:504:2 #12 0x62930203d65b in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:333:17 #13 0x6292fd984853 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #14 0x6292fe6c9ff7 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 #15 0x6292fe6cc9d4 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 #16 0x6292fd9873dd 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 0x62930227a135 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #18 0x7ac3cfa35487 (/usr/lib/libc.so.6+0x27487) (BuildId: 695cfc6aac7d0f77bb7caba0ef01b2e868762b02) #19 0x7ac3cfa3554b in __libc_start_main (/usr/lib/libc.so.6+0x2754b) (BuildId: 695cfc6aac7d0f77bb7caba0ef01b2e868762b02) #20 0x6292e4ac8ca4 in _start (/home/user/CLionProjects/mame/mame-asan+0x10867ca4) (BuildId: dd5b3932e72efdc3) 0x51b000057088 is located 0 bytes after 1544-byte region [0x51b000056a80,0x51b000057088) allocated by thread T0 here: #0 0x6292e4bfd7e2 in operator new(unsigned long) (/home/user/CLionProjects/mame/mame-asan+0x1099c7e2) (BuildId: dd5b3932e72efdc3) #1 0x6293039172ec in allocate /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/new_allocator.h:151:27 #2 0x6293039172ec in allocate /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/alloc_traits.h:478:20 #3 0x6293039172ec in _M_allocate /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/stl_vector.h:380:20 #4 0x6293039172ec in _M_create_storage /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/stl_vector.h:398:33 #5 0x6293039172ec in _Vector_base /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/stl_vector.h:334:9 #6 0x6293039172ec in vector /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/stl_vector.h:557:9 #7 0x6293039172ec in palette_t::palette_t(unsigned int, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/palette.cpp:213:3 #8 0x62930391701a in palette_t::alloc(unsigned int, unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/lib/util/palette.cpp:196:13 #9 0x6292fea66226 in device_palette_interface::allocate_palette(unsigned int) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/dipalette.cpp:352:14 #10 0x6292fea65883 in device_palette_interface::interface_pre_start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/dipalette.cpp:62:2 #11 0x6292fe9f3f14 in device_t::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/device.cpp:536:8 #12 0x62930203c411 in running_machine::start_all_devices() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:1013:13 #13 0x62930203aa41 in running_machine::start() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:215:2 #14 0x62930203cfe6 in running_machine::run(bool) /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:285:3 #15 0x6292fd984853 in mame_machine_manager::execute() /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:288:19 #16 0x6292fe6c9ff7 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 #17 0x6292fe6cc9d4 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 #18 0x6292fd9873dd 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 #19 0x62930227a135 in main /home/user/CLionProjects/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:100:9 #20 0x7ac3cfa35487 (/usr/lib/libc.so.6+0x27487) (BuildId: 695cfc6aac7d0f77bb7caba0ef01b2e868762b02) #21 0x7ac3cfa3554b in __libc_start_main (/usr/lib/libc.so.6+0x2754b) (BuildId: 695cfc6aac7d0f77bb7caba0ef01b2e868762b02) #22 0x6292e4ac8ca4 in _start (/home/user/CLionProjects/mame/mame-asan+0x10867ca4) (BuildId: dd5b3932e72efdc3) |