Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
01957 Crash/Freeze Critical (emulator) Always Jun 30, 2008, 12:08 Jun 30, 2008, 15:03
Tester Firewave View Status Public Platform MAME (Self-compiled)
Assigned To aaron Resolution Fixed OS Windows XP/Vista 64-bit
Status [?] Resolved Driver
Version 0.125u8 Fixed in Version 0.125u9 Build Debug
Fixed in Git Commit Github Pull Request #
Summary 01957: [debug] Access Violation on hardreset with -debug
Description When doing a hardreset with activated debugger (even after closing it) MAME crashes. Here is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x009e3e4f in input_type_seq (machine=0xb381f3c, type=116, player=0,
    seqtype=SEQ_TYPE_STANDARD) at src/emu/inptport.c:1077
1077 input_type_state *typestate = portdata->type_to_typestat
e[type][player];
(gdb) bt full
#0 0x009e3e4f in input_type_seq (machine=0xb381f3c, type=116, player=0,
    seqtype=SEQ_TYPE_STANDARD) at src/emu/inptport.c:1077
        portdata = (input_port_private *) 0x0
        typestate = (input_type_state *) 0x0
        ip_none = {code = {2147483648, 0 <repeats 15 times>}}
#1 0x009e406c in input_ui_pressed_repeat (machine=0xb381f3c, code=116,
    speed=0) at src/emu/inptport.c:1166
        portdata = (input_port_private *) 0x0
        pressed = 0
#2 0x009e3ff4 in input_ui_pressed (machine=0xb381f3c, code=116)
    at src/emu/inptport.c:1146
No locals.
#3 0x0099a279 in debugwin_update_during_game ()
    at src/osd/windows/debugwin.c:429
No locals.
#4 0x009926a8 in winwindow_process_events (machine=0xb381f3c, ingame=1)
    at src/osd/windows/window.c:356
        message = {hwnd = 0x0, message = 0, wParam = 0, lParam = 0, time = 0,
  pt = {x = 0, y = 0}}
#5 0x00992613 in winwindow_process_events_periodic (machine=0xb381f3c)
    at src/osd/windows/window.c:321
        currticks = 415564484
#6 0x009961dd in wininput_poll (machine=0xb381f3c)
    at src/osd/windows/input.c:544
        hasfocus = 1
#7 0x00996148 in wininput_init (machine=0xb381f3c)
    at src/osd/windows/input.c:497
No locals.
#8 0x00990b4d in osd_init (machine=0xb381f3c)
    at src/osd/windows/winmain.c:289
        watchdog = 0
#9 0x009f108d in init_machine (machine=0xb381f3c) at src/emu/mame.c:1549
        mame = (mame_private *) 0xb391d68
        newbase = 166141856
        num = 141106952
#10 0x009ef57f in mame_execute (options=0x8661e58) at src/emu/mame.c:368
        settingsloaded = 1
        driver = (const game_driver *) 0x1bde620
        machine = (running_machine *) 0xb381f3c
        mame = (mame_private *) 0xb391d68
        cb = (callback_item *) 0x0
        gamename = (astring *) 0xb381f00
        exit_pending = 0
        error = 0
        firstgame = 0
        firstrun = 0
#11 0x00c1ae03 in cli_execute (argc=6, argv=0x85c1fe8, osd_options=0x21c72f0)
    at src/emu/clifront.c:171
        options = (core_options *) 0x8661e58
        gamename = (astring *) 0x8641f00
        exename = (astring *) 0x8651f00
        gamename_option = 0x8691f08 "pacman"
        driver = (const game_driver *) 0x1bde620
        result = -1
#12 0x00990aa1 in utf8_main (argc=6, argv=0x85c1fe8)
    at src/osd/windows/winmain.c:257
        ext = 0x28c35b8 ".map"
#13 0x012c141a in main (argc=6, a_argv=0x6a826c0) at src/osd/windows/main.c:72
        i = 6
        rc = -1
        utf8_argv = (char **) 0x85c1fe8
        argv = (TCHAR **) 0x6a82738
        wenviron = (WCHAR **) 0x6a84e08
        startupinfo = 111683264
Steps To Reproduce - start a game with -debug set
- type "hardreset" in the debugger
- Access Violation
Additional Information
Github Commit
Flags Debug build specific
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.