Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05514 Crash/Freeze Critical (emulator) Always Apr 10, 2014, 22:30 14 days ago
Tester Firewave View Status Public Platform MESS (Self-compiled)
Assigned To Resolution Open OS Linux
Status [?] Confirmed Driver
Version 0.153 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 05514: jaguarcd: Crash when loading a cart
Description The cartslot memory share doesn't exist in the jaguarcd address map. The cart slot exists via the CD add-on and needs to be implemented over that.

==2762==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000dad529 sp 0x7fff64b1c538 bp 0x7fff64b1cda0 T0)
    #0 0xdad528 in __sanitizer::internal_memcpy(void*, void const*, unsigned long) /home/ben/development/llvm/3.4/final/llvm.src/projects/compiler-rt/lib/sanitizer_common/sanitizer_libc.cc:44
    #1 0xd903d7 in memcpy /home/ben/development/llvm/3.4/final/llvm.src/projects/compiler-rt/lib/asan/asan_interceptors.cc:383
    #2 0x2ec4b61 in jaguar_state::cart_load(device_image_interface&) /home/notroot/trunk/src/mame/drivers/jaguar.c:2086
    #3 0x2ec4a48 in jaguar_state::device_image_load_jaguar_cart(device_image_interface&) /home/notroot/trunk/src/mame/drivers/jaguar.c:2061
    #4 0x58a33dd in delegate_base<int, device_image_interface&, _noparam, _noparam, _noparam, _noparam>::operator()(device_image_interface&) const /home/notroot/trunk/src/emu/delegate.h:511
    #5 0x58a33dd in cartslot_image_device::call_load() /home/notroot/trunk/src/emu/imagedev/cartslot.c:217
    #6 0x58a33dd in non-virtual thunk to cartslot_image_device::call_load() /home/notroot/trunk/src/emu/imagedev/cartslot.c:221
    #7 0x5444796 in device_image_interface::finish_load() /home/notroot/trunk/src/emu/diimage.c:1089
    #8 0x54d7657 in image_postdevice_init(running_machine&) /home/notroot/trunk/src/emu/image.c:268
    #9 0x54b33dd in driver_device::device_start() /home/notroot/trunk/src/emu/driver.c:241
    #10 0x5431133 in device_t::start() /home/notroot/trunk/src/emu/device.c:393
    #11 0x564faeb in running_machine::start_all_devices() /home/notroot/trunk/src/emu/machine.c:1111
    #12 0x564c92d in running_machine::start() /home/notroot/trunk/src/emu/machine.c:297
    #13 0x56504c1 in running_machine::run(bool) /home/notroot/trunk/src/emu/machine.c:365
    #14 0x5647b50 in mame_execute(emu_options&, osd_interface&) /home/notroot/trunk/src/emu/mame.c:192
    #15 0x53f6be9 in cli_frontend::execute(int, char**) /home/notroot/trunk/src/emu/clifront.c:233
    #16 0x31069b9 in main /home/notroot/trunk/src/osd/sdl/sdlmain.c:380
    #17 0x7f924b4e4de4 in __libc_start_main /build/buildd/eglibc-2.17/csu/libc-start.c:260
    #18 0xdb62ac in _start (/home/notroot/trunk/mess64d+0xdb62ac)
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems jaguarcd
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.22552
Robbbert
Moderator
14 days ago
Tested this yesterday. There's no crash, however carts are ignored, where at one time they worked.