Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
00629 Crash/Freeze Critical (emulation) Always Jan 31, 2008, 19:27 Feb 4, 2008, 11:28
Tester -Misc Reporters- View Status Public Platform
Assigned To Resolution Fixed OS
Status [?] Resolved Driver
Version 0.114u3 Fixed in Version 0.114u4 Build
Fixed in Git Commit Github Pull Request #
Summary 00629: Crash in game with "-samples 0"
Description All games use samples: Crash in the game play with -samples 0.
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254             chan->source = sample->data;
(gdb) bt full
#0  0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1  0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2  0x009587e7 in mario_sh3_w (offset=7, data=1 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
1') at src/mame/audio/mario.c:60 state = {0, 0, 0, 0, 0, 0, 0, 1} data = 1 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
1' #3 0x00ea388b in program_write_byte_8 (address=7, data=1 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
1') at src/emu/memory.c:2723 entry = 73 data = 1 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
1' #4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041 No locals. #5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578 op = 18 #6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180) at src/emu/cpuintrf.c:1385 ran = 0 #7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502 target = {seconds = 6, subseconds = 301041666666666404} base = {seconds = 6, subseconds = 300657552076881460} cpunum = 0 ran = 456 #8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346 settingsloaded = 1 machine = (running_machine *) 0x4087a80 error = 0 firstrun = 0 mame = (mame_private *) 0x4087d14 cb = (callback_item *) 0x41904f0 #9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0) at src/emu/clifront.c:268 exename = 0x4190500 "mame" sourcename = 0x419a440 "mario" gamename = 0x4199460 "mario" driver = (const game_driver *) 0x14c5ed0 drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0, cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>, 0x94a87a <construct_map_writemem>}, {0, 0}, { 0xea0787 <construct_map_0>, 0x94b0e4 <construct_map_mario_writeport>}}, vblank_interrupt = 0xe9db93 <nmi_line_pulse>, vblank_interrupts_per_frame = 1, timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, { cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{ 0x94b162 <construct_map_readmem_sound>, 0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, { 0x94b230 <construct_map_readport_sound>, 0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0, timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, { cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0, timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0, timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, { cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0, timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0, timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, { cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0, timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0, timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}}, cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0, machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0, nvram_handler = 0, memcard_handler = 0, video_attributes = 0, gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320, default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0, defstate = {width = 256, height = 256, visarea = {min_x = 0, max_x = 255, min_y = 16, max_y = 239}, oldstyle_vblank_supplied = 1 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
1', refresh = 16666666666666666, vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0, palette_base = 0, defstate = {width = 0, height = 0, visarea = { min_x = 0, max_x = 0, min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
', refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0, defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0, min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
', refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0, defstate = {width = 0, height = 0, visarea = { min_x = 0, max_x = 0, min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
', refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0, defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0, min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
', refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0, defstate = {width = 0, height = 0, visarea = { min_x = 0, max_x = 0, min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
', refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0, defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0, min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
', refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0, defstate = {width = 0, height = 0, visarea = { min_x = 0, max_x = 0, min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '
(gdb) run mario
Starting program: C:\mame/mame.exe mario

Program received signal SIGSEGV, Segmentation fault.
0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
254 chan->source = sample->data;
(gdb) bt full
#0 0x01393b6c in sample_start_n (num=0, channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:254
        info = (struct samples_info *) 0x41a2be0
        chan = (struct sample_channel *) 0x41a2c48
        sample = (struct loaded_sample *) 0x1c
#1 0x01393c37 in sample_start (channel=2, samplenum=2, loop=0)
    at src/emu/sound/samples.c:266
No locals.
#2 0x009587e7 in mario_sh3_w (offset=7, data=1 '\001')
    at src/mame/audio/mario.c:60
        state = {0, 0, 0, 0, 0, 0, 0, 1}
        data = 1 '\001'
#3 0x00ea388b in program_write_byte_8 (address=7, data=1 '\001')
    at src/emu/memory.c:2723
        entry = 73
        data = 1 '\001'
#4 0x012e1a9e in op_12 () at src/emu/cpu/z80/z80.c:3041
No locals.
#5 0x012e6226 in z80_execute (cycles=1180) at src/emu/cpu/z80/z80.c:3578
        op = 18
#6 0x00eb2750 in cpunum_execute (cpunum=0, cycles=1180)
    at src/emu/cpuintrf.c:1385
        ran = 0
#7 0x00efa116 in cpuexec_timeslice () at src/emu/cpuexec.c:502
        target = {seconds = 6, subseconds = 301041666666666404}
        base = {seconds = 6, subseconds = 300657552076881460}
        cpunum = 0
        ran = 456
#8 0x00e91699 in run_game (driver=0x14c5ed0) at src/emu/mame.c:346
        settingsloaded = 1
        machine = (running_machine *) 0x4087a80
        error = 0
        firstrun = 0
        mame = (mame_private *) 0x4087d14
        cb = (callback_item *) 0x41904f0
#9 0x00f1d870 in cli_execute (argc=2, argv=0x41904c0, osd_options=0x21405a0)
    at src/emu/clifront.c:268
        exename = 0x4190500 "mame"
        sourcename = 0x419a440 "mario"
        gamename = 0x4199460 "mario"
        driver = (const game_driver *) 0x14c5ed0
        drv = {driver_data_size = 0, cpu = {{cpu_type = 1, cpu_flags = 0,
      cpu_clock = 3072000, construct_map = {{0x94a6ab <construct_map_readmem>,
          0x94a87a <construct_map_writemem>}, {0, 0}, {
          0xea0787 <construct_map_0>,
          0x94b0e4 <construct_map_mario_writeport>}},
      vblank_interrupt = 0xe9db93 <nmi_line_pulse>,
      vblank_interrupts_per_frame = 1, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 29, cpu_flags = 0, cpu_clock = 730000, construct_map = {{
          0x94b162 <construct_map_readmem_sound>,
          0x94b1c9 <construct_map_writemem_sound>}, {0, 0}, {
          0x94b230 <construct_map_readport_sound>,
          0x94b387 <construct_map_writeport_sound>}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}, {
      cpu_type = 0, cpu_flags = 0, cpu_clock = 0, construct_map = {{0, 0}, {0,
          0}, {0, 0}}, vblank_interrupt = 0, vblank_interrupts_per_frame = 0,
      timed_interrupt = 0, timed_interrupt_period = 0, reset_param = 0x0,
      tag = 0x0}, {cpu_type = 0, cpu_flags = 0, cpu_clock = 0,
      construct_map = {{0, 0}, {0, 0}, {0, 0}}, vblank_interrupt = 0,
      vblank_interrupts_per_frame = 0, timed_interrupt = 0,
      timed_interrupt_period = 0, reset_param = 0x0, tag = 0x0}},
  cpu_slices_per_frame = 0, watchdog_vblank_count = 0, watchdog_time = 0,
  machine_start = 0x94a480 <machine_start_mario>, machine_reset = 0,
  nvram_handler = 0, memcard_handler = 0, video_attributes = 0,
  gfxdecodeinfo = 0x1c361e0, total_colors = 256, color_table_len = 320,
  default_layout = 0x0, screen = {{tag = 0x2146160 "main", palette_base = 0,
      defstate = {width = 256, height = 256, visarea = {min_x = 0,
          max_x = 255, min_y = 16, max_y = 239},
        oldstyle_vblank_supplied = 1 '\001', refresh = 16666666666666666,
        vblank = 0, format = BITMAP_FORMAT_INDEXED16}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}, {tag = 0x0, palette_base = 0,
      defstate = {width = 0, height = 0, visarea = {min_x = 0, max_x = 0,
          min_y = 0, max_y = 0}, oldstyle_vblank_supplied = 0 '\0',
        refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}, {tag = 0x0,
      palette_base = 0, defstate = {width = 0, height = 0, visarea = {
          min_x = 0, max_x = 0, min_y = 0, max_y = 0},
        oldstyle_vblank_supplied = 0 '\0', refresh = 0, vblank = 0,
        format = BITMAP_FORMAT_INVALID}}},
  init_palette = 0x957f10 <palette_init_mario>,
  video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0,
  video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3,
      clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0,
      config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1,
          target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0,
          gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0,
      config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0,
          gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{
      tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0,
      z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0,
      z = 0}}, sound_start = 0, sound_reset = 0}
        result = -1
#10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0)
    at src/osd/windows/winmain.c:280
        ext = 0x26f95d4 ".map"
#11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67
        i = 2
        rc = 65404408
        utf8_argv = (char **) 0x41904c0
        argv = (TCHAR **) 0x4190450
', refresh = 0, vblank = 0, format = BITMAP_FORMAT_INVALID}}}, init_palette = 0x957f10 <palette_init_mario>, video_start = 0x95843f <video_start_mario>, video_reset = 0, video_eof = 0, video_update = 0x9585f0 <video_update_mario>, sound = {{sound_type = 3, clock = 0, config = 0x0, tag = 0x0, routes = 1, route = {{output = -1, target = 0x1c36289 "mono", gain = 1}, {output = 0, target = 0x0, gain = 0} <repeats 15 times>}}, {sound_type = 2, clock = 0, config = 0x14c5eb4, tag = 0x0, routes = 1, route = {{output = -1, target = 0x1c36289 "mono", gain = 0.25}, {output = 0, target = 0x0, gain = 0} <repeats 15 times>}}, {sound_type = 0, clock = 0, config = 0x0, tag = 0x0, routes = 0, route = {{output = 0, target = 0x0, gain = 0} <repeats 16 times>}} <repeats 30 times>}, speaker = {{ tag = 0x1c36289 "mono", x = 0, y = 0, z = 1}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}, {tag = 0x0, x = 0, y = 0, z = 0}}, sound_start = 0, sound_reset = 0} result = -1 #10 0x00e4e689 in utf8_main (argc=2, argv=0x41904c0) at src/osd/windows/winmain.c:280 ext = 0x26f95d4 ".map" #11 0x01432841 in main (argc=2, a_argv=0x4190450) at src/osd/windows/main.c:67 i = 2 rc = 65404408 utf8_argv = (char **) 0x41904c0 argv = (TCHAR **) 0x4190450
Steps To Reproduce Posted by Anton Belenki / twisty
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
0
There are no notes attached to this issue.