Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02822 Multisession Critical (emulator) Always Jan 13, 2009, 15:38 Apr 23, 2009, 17:00
Tester Tafoid View Status Public Platform MAME (Official Binary)
Assigned To Resolution Unable to reproduce OS Windows 2000
Status [?] Closed Driver
Version 0.129 Fixed in Version Build Normal
Fixed in Git Commit Github Pull Request #
Summary 02822: mwalk: Crash when starting second game
Description When using the "Select New Game" menu and even sometimes with simply with a hard reset (SHIFT+F3), all sets in this driver will crash with Access Violation.
Steps To Reproduce With MWALK.ZIP artwork in artwork folder..
- "mame mwalk"
- letting it start - then choose MWALK again via mame's menu
- it crashes after the game indentification screen
Additional Information I was able to crash with simply using doing a MAME ASTORM - then when the game starts - starting this game again via menu. Here is a backtrace:

Remapping:
  000000-003FFF (00C000) = I/O space
  000000-001FFF (00E000) = color RAM
  000000-00FFFF (000000) = tile RAM
  000000-000FFF (00F000) = text RAM
  000000-0007FF (00F800) = object RAM
  000000-003FFF (00C000) = work RAM
  000000-00000F (00FFF0) = VDP
  000000-00FFFF (000000) = ROM 1
  000000-00FFFF (000000) = ROM 0

Program received signal SIGSEGV, Segmentation fault.
0x00cdc85e in memory_decrypted_read_word (space=0x342c1750, byteaddress=0)
    at src/emu/memory.h:1126
1126 return *(UINT16 *)&space->direct.decrypted[byteaddress &
 space->direct.mask];
(gdb) bt full
#0 0x00cdc85e in memory_decrypted_read_word (space=0x342c1750, byteaddress=0)
    at src/emu/memory.h:1126
No locals.
#1 0x00cdc85e in memory_decrypted_read_word (space=0x342c1750, byteaddress=0)
    at src/emu/memory.h:1126
No locals.
#2 0x00cdc85e in memory_decrypted_read_word (space=0x34ac15a4, byteaddress=0)
    at src/emu/memory.h:1126
No locals.
#3 0x00cdc85e in memory_decrypted_read_word (space=0x2a451f7c,
    byteaddress=147458) at src/emu/memory.h:1126
No locals.
#4 0x00cdc85e in memory_decrypted_read_word (space=0x2a451f7c,
    byteaddress=131075) at src/emu/memory.h:1126
No locals.
#5 0x00cdc85e in memory_decrypted_read_word (space=0x2a451f7c, byteaddress=0)
    at src/emu/memory.h:1126
No locals.
#6 0x00cdc85e in memory_decrypted_read_word (space=0x2a401efc, byteaddress=1)
    at src/emu/memory.h:1126
No locals.
#7 0x00cdc85e in memory_decrypted_read_word (space=0x2a401efc, byteaddress=0)
    at src/emu/memory.h:1126
No locals.
#8 0x00cdc85e in memory_decrypted_read_word (space=0x68e1e58,
    byteaddress=109911816) at src/emu/memory.h:1126
No locals.
#9 0x00cdc85e in memory_decrypted_read_word (space=0x3,
    byteaddress=109518836) at src/emu/memory.h:1126
No locals.
#10 0x00cdc85e in memory_decrypted_read_word (space=0x3,
    byteaddress=109518836) at src/emu/memory.h:1126
No locals.
#11 0x00cdc85e in memory_decrypted_read_word (space=0x7ffdf000, byteaddress=0)
    at src/emu/memory.h:1126
No locals.
#12 0x00cdc85e in memory_decrypted_read_word (space=0x1, byteaddress=9)
    at src/emu/memory.h:1126
No locals.
#13 0x00cdc85e in memory_decrypted_read_word (space=0x0, byteaddress=0)
    at src/emu/memory.h:1126
No locals.
#14 0x00cdc85e in memory_decrypted_read_word (space=0x401280, byteaddress=0)
    at src/emu/memory.h:1126
No locals.
Github Commit
Flags
Regression Version 0.128u4
Affected Sets / Systems mwalk
Attached Files
zip file icon mwalk.zip (1,854,203 bytes) Jan 14, 2009, 03:38
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.03573
Fujix
Administrator
Jan 13, 2009, 23:39
Multi session of segas18.c games works for me.
User avatar
No.03578
Tafoid
Administrator
Jan 14, 2009, 03:35
edited on: Jan 14, 2009, 04:42
More testing tells me the crash is related to having artwork in the system - if that's possible. If I take the artwork out completely and multisession - it works. With MWALK.ZIP artwork and doing a "mame mwalk" - letting it start - then choosing another game - it crashes.

Is this a wider problem with setting up video? The problem started in 0.128u4 w/artwork. It's apparently not related to that other multisession crash.

EDIT: I uploaded the artwork file for people to test.
EDIT2: Got a backtrace when using ASTORM in multisession, which doesn't use artwork. Now I'm confused :)
User avatar
No.03598
etabeta
Developer
Jan 16, 2009, 13:24
fwiw, the crash is not reproducible on sdlmame 0.129 (artwork present, tested both with artwork on and off)
User avatar
No.04251
Tafoid
Administrator
Apr 23, 2009, 17:00
This doesn't duplicate for me anymore. Not sure what the issue was, but it seems it was corrected

Tested in 0.131 for mwalk and astorm.