Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05772 Crash/Freeze Critical (emulator) Always Oct 31, 2014, 17:18 Oct 31, 2014, 21:55
Tester Firewave View Status Public Platform MESS (Self-compiled)
Assigned To mahlemiut Resolution Fixed OS Linux
Status [?] Resolved Driver gimix.cpp
Version 0.155 Fixed in Version 0.156 Build Debug
Summary MESS-specific 05772: gimix: Segmentation fault with "-ramsize 57344"
Description
ASAN:SIGSEGV
=================================================================
==31218==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x0000058a3818 bp 0x7fff0e873a10 sp 0x7fff0e873a00 T0)
    #0 0x58a3817 in memory_bank::set_base(void*) /home/notroot/trunk/src/emu/memory.c:3990:2
    #1 0x239d901 in gimix_state::machine_reset() /home/notroot/trunk/src/mess/drivers/gimix.c:488:2
    #2 0x575896b in driver_device::device_reset_after_children() /home/notroot/trunk/src/emu/driver.c:255:3
    #3 0x56cb8cc in device_t::reset() /home/notroot/trunk/src/emu/device.c:260:2
    #4 0x588228f in running_machine::reset_all_devices() /home/notroot/trunk/src/emu/machine.c:1125:2
    #5 0x5880fd1 in delegate_base<void, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam, _noparam>::operator()() const /home/notroot/trunk/src/lib/util/delegate.h:649:42
    #6 0x5880fd1 in running_machine::call_notifiers(machine_notification) /home/notroot/trunk/src/emu/machine.c:868
    #7 0x5880fd1 in running_machine::soft_reset(void*, int) /home/notroot/trunk/src/emu/machine.c:973
    #8 0x5883066 in running_machine::run(bool) /home/notroot/trunk/src/emu/machine.c:362:3
    #9 0x587b59a in machine_manager::execute() /home/notroot/trunk/src/emu/mame.c:216:11
    #10 0x56af8e1 in cli_frontend::execute(int, char**) /home/notroot/trunk/src/emu/clifront.c:244:15
    #11 0x2d64529 in main /home/notroot/trunk/src/osd/sdl/sdlmain.c:335:9
    #12 0x7f6203da5ec4 in __libc_start_main /build/buildd/eglibc-2.19/csu/libc-start.c:287
    #13 0xe3373c in _start (/home/notroot/trunk/mess64d+0xe3373c)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/notroot/trunk/src/emu/memory.c:3990 memory_bank::set_base(void*)
Steps To Reproduce
Additional Information
Flags
Regression Version
Affected Sets / Systems gimix
Attached Files
 
Relationships
There are no relationsihp linked to this issue.
Notes
1
User avatar
No.11200
mahlemiut
Developer
Oct 31, 2014, 21:28
Pushed a fix for this, the upper_ram bank should only be used with more than 56k.