Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
01940 Crash/Freeze Critical (emulation) Always Jun 27, 2008, 20:14 Jun 30, 2008, 16:22
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 01940: All cps3.c sets: Access Violation
Description Program received signal SIGSEGV, Segmentation fault.
0x0048bbee in copy_from_nvram (machine=0xb381f3c)
    at src/mame/drivers/cps3.c:2580
2580 romdata[i/4] = data;
(gdb) bt full
#0 0x0048bbee in copy_from_nvram (machine=0xb381f3c)
    at src/mame/drivers/cps3.c:2580
        data = 4294967295
        ptr2 = (UINT8 *) 0x1c6d1000 ' ' <repeats 200 times>...
        ptr4 = (UINT8 *) 0x1ce01000 ' ' <repeats 200 times>...
        ptr1 = (UINT8 *) 0x1c341000 ' ' <repeats 200 times>...
        ptr3 = (UINT8 *) 0x1ca71000 ' ' <repeats 200 times>...
        romdata = (UINT32 *) 0x13871000
        romdata2 = (UINT32 *) 0x1b4e1000
        i = 4
#1 0x0048be16 in nvram_handler_cps3 (machine=0xb381f3c, file=0x0,
    read_or_write=0) at src/mame/drivers/cps3.c:2656
        i = 141106952
#2 0x009edb23 in nvram_load (machine=0xb381f3c)
    at src/emu/machine/generic.c:276
        nvram_file = (mame_file *) 0x0
#3 0x009ef598 in mame_execute (options=0x8661e58) at src/emu/mame.c:372
        settingsloaded = 0
        driver = (const game_driver *) 0x14c87b0
        machine = (running_machine *) 0xb381f3c
        mame = (mame_private *) 0xb391d68
        cb = (callback_item *) 0x8661e58
        gamename = (astring *) 0xb381f00
        exit_pending = 0
        error = 0
        firstgame = 0
        firstrun = 1
#4 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 "sfiii3a"
        driver = (const game_driver *) 0x14c87b0
        result = -1
#5 0x00990aa1 in utf8_main (argc=6, argv=0x85c1fe8)
    at src/osd/windows/winmain.c:257
        ext = 0x28c35b8 ".map"
#6 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 **) 0x6a84db8
        startupinfo = 111683264
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version 0.125u7
Affected Sets / Systems All cps3.c sets
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.01409
mahlemiut
Developer
Jun 27, 2008, 22:02
Access Violation occurs for me also during startup, on 0.125u8.
User avatar
No.01415
Jdurg
Tester
Jun 28, 2008, 15:14
I can also add that this will occur whether you have an old nvram file in your nvram directory, or you completely wipe away the nvram file and attempt to start from scratch. This was verified on the latest MAMEUI64 standard build.
User avatar
No.01443
Haze
Senior Tester
Jun 29, 2008, 19:24
I don't have time for this, whoever broke it can fix it.
User avatar
No.01445
Firewave
Senior Tester
Jun 29, 2008, 22:55
I added the running_machine parameter to the nvram_load() functions. Maybe it is related to that.