- --
Viewing Issue Advanced Details
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
08448 | Crash/Freeze | Critical (emulator) | Sometimes | Oct 19, 2022, 06:21 | Nov 2, 2022, 10:07 |
Tester | Firewave | View Status | Public | Platform | MAME (Official Binary) |
Assigned To | Resolution | Open | OS | Windows 10/11 (64-bit) | |
Status [?] | Confirmed | Driver | |||
Version | 0.248 | Fixed in Version | Build | 64-bit | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 08448: snes [super8]: Access Violation | ||||
Description |
----------------------------------------------------- Exception at EIP=00007ff7107d47e7 (+0x107d47e7): ACCESS VIOLATION While attempting to read memory at 0000019d4d11a0a8 ----------------------------------------------------- RAX=76616c6c65746153 RBX=0000019d455eb950 RCX=0000019d455eb950 RDX=582d534220776569 RSI=0000019d4d1120e0 RDI=0000019d4d11a0a0 RBP=0000000000007fc0 RSP=0000001eec6f8e80 R8=0000000000002000 R9=c6a4a7935bd1e995 R10=0000000000007fc0 R11=0000001eec6f8f58 R12=0000019d455eb950 R13=0000001eec6f90c0 R14=0000019d4d1120e0 R15=0000019d455ebc58 ----------------------------------------------------- Stack crawl: 0000001eec6f9080: 00007ff7107d47e7 (+0x107d47e7) 0000001eec6f9210: 00007ff7107dd467 (+0x107dd467) 0000001eec6f9250: 00007ff70de43935 (+0xde43935) 0000001eec6f9360: 00007ff711486978 (+0x11486978) 0000001eec6f93a0: 00007ff70dc37f01 (+0xdc37f01) 0000001eec6f94d0: 00007ff70dc06983 (+0xdc06983) 0000001eec6f9600: 00007ff70de21ca8 (+0xde21ca8) 0000001eec6f9720: 00007ff70de27a06 (+0xde27a06) 0000001eec6f9880: 00007ff70de29885 (+0xde29885) 0000001eec6fed00: 00007ff71143c19b (+0x1143c19b) 0000001eec6ff0e0: 00007ff713d4d54f (+0x13d4d54f) 0000001eec6ff3a0: 00007ff713d4db5d (+0x13d4db5d) 0000001eec6ff400: 00007ff711436849 (+0x11436849) 0000001eec6ff7d0: 00007ff714ea6df7 (+0x14ea6df7) 0000001eec6ff8a0: 00007ff7094a13b1 (+0x94a13b1) 0000001eec6ff8d0: 00007ff7094a14e6 (+0x94a14e6) 0000001eec6ff900: 00007ffd1b8a7034 (BaseThreadInitThunk+0x0014) 0000001eec6ff980: 00007ffd1d8826a1 (RtlUserThreadStart+0x0021) Sometimes it just shows a black screen. Using "-str 2" it crashes more reliably. |
||||
Steps To Reproduce | |||||
Additional Information | |||||
Github Commit | |||||
Flags | |||||
Regression Version | |||||
Affected Sets / Systems | snes [super8] | ||||
Attached Files
|
|||||
Relationships
Notes
3
No.20621
Foxhack Tester
Oct 19, 2022, 07:41
|
Relationship needed: https://mametesters.org/view.php?id=8449 Super 8 was the US name for this device. |
---|---|
No.20625
Robbbert Senior Tester
Oct 19, 2022, 11:49
|
Dump is useless. Please provide one with symbols. |
No.20688
Firewave Senior Tester
Nov 2, 2022, 10:07
edited on: Nov 2, 2022, 22:54 |
0.249 reports this:================================================================= ==32051==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6250000ee0c0 at pc 0x7f5cab3557c6 bp 0x7fffeda37960 sp 0x7fffeda37110 READ of size 21 at 0x6250000ee0c0 thread T0 #0 0x7f5cab3557c5 in MemcmpInterceptorCommon(void*, int (*)(void const*, void const*, unsigned long), void const*, void const*, unsigned long) (/mnt/s/GitHub/mame/mame+0x1d3b17c5) (BuildId: 603d3d1c300651feb2a8e3ac6e9cb58d3f85e77b) #1 0x7f5cab355d19 in bcmp (/mnt/s/GitHub/mame/mame+0x1d3b1d19) (BuildId: 603d3d1c300651feb2a8e3ac6e9cb58d3f85e77b) #2 0x7f5cbc3e1c89 in base_sns_cart_slot_device::internal_header_logging(unsigned char*, unsigned int) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/bus/snes/snes_slot.cpp:1303:7 #3 0x7f5cbc3d5cd5 in base_sns_cart_slot_device::call_load() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/bus/snes/snes_slot.cpp:727:3 #4 0x7f5cbc3e45bf in non-virtual thunk to base_sns_cart_slot_device::call_load() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/bus/snes/snes_slot.cpp #5 0x7f5cc707df4b in device_image_interface::finish_load() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/diimage.cpp:880:11 #6 0x7f5ccd80f923 in image_manager::postdevice_init() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/image.cpp:244:36 #7 0x7f5cc71fd70b in driver_device::device_start() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/driver.cpp:211:20 #8 0x7f5cc704b410 in device_t::start() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/device.cpp:562:2 #9 0x7f5ccd86e2df in running_machine::start_all_devices() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:1013:13 #10 0x7f5ccd86c2b4 in running_machine::start() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:211:2 #11 0x7f5ccd86f0dc in running_machine::run(bool) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/machine.cpp:281:3 #12 0x7f5cd09d5f7f in mame_machine_manager::execute() /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/frontend/mame/mame.cpp:290:19 #13 0x7f5cd0bca8d6 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 #14 0x7f5cd0bce41f 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 #15 0x7f5cd09dad5f 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 #16 0x7f5ccdbb158b in main /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/osd/sdl/sdlmain.cpp:191:9 #17 0x7f5c8c0b9209 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16 #18 0x7f5c8c0b92bb in __libc_start_main csu/../csu/libc-start.c:389:3 #19 0x7f5cab33b260 in _start (/mnt/s/GitHub/mame/mame+0x1d397260) (BuildId: 603d3d1c300651feb2a8e3ac6e9cb58d3f85e77b) 0x6250000ee0c0 is located 4160 bytes to the right of 8064-byte region [0x6250000eb100,0x6250000ed080) allocated by thread T0 here: #0 0x7f5cab3be298 in calloc (/mnt/s/GitHub/mame/mame+0x1d41a298) (BuildId: 603d3d1c300651feb2a8e3ac6e9cb58d3f85e77b) #1 0x7f5c8c6a1ea3 in XOpenDisplay (/usr/lib/x86_64-linux-gnu/libX11.so.6+0x33ea3) (BuildId: 692ceb08bd361ef2ea7caaa0926de19466d6f3ad) SUMMARY: AddressSanitizer: heap-buffer-overflow (/mnt/s/GitHub/mame/mame+0x1d3b17c5) (BuildId: 603d3d1c300651feb2a8e3ac6e9cb58d3f85e77b) in MemcmpInterceptorCommon(void*, int (*)(void const*, void const*, unsigned long), void const*, void const*, unsigned long) Shadow bytes around the buggy address: 0x0c4a80015bc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a80015bd0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a80015be0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a80015bf0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a80015c00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa =>0x0c4a80015c10: fa fa fa fa fa fa fa fa[fa]fa fa fa fa fa fa fa 0x0c4a80015c20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a80015c30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a80015c40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a80015c50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c4a80015c60: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==32051==ABORTING |