Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02232 Compiling Critical (emulator) Always Sep 12, 2008, 01:53 Feb 3, 2009, 20:10
Tester Terryn View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Fixed OS Windows XP/Vista 32-bit
Status [?] Resolved Driver
Version 0.127u3 Fixed in Version 0.129u1 Build C2D
Fixed in Git Commit Github Pull Request #
Summary 02232: ARCHOPT -msse4.1 combined with -O3 produces broken binary
Description Compiling MAME with SSE 4.1 set and with an optimize level of 3 breaks the binary, throwing an access violation at binary load. This is, as far as I can tell, only caused by this combination of compiler settings. -march settings do not affect the outcome, nor does making the build a debug build, and any level of optimisation below 3 (I tested 0 and 2) yields a working binary with SSE 4.1.

Tested with binutils 2.18.50.20080109. Compilers 4.3.0-mingw and 4.3.2-tdm-1 (mingw) yield the same result on an e8400 in Windows XP SP3 (32-bit).

-----------------------------------------------------
Exception at EIP=00AAA9E8: ACCESS VIOLATION
While attempting to read memory at FFFFFFFF
-----------------------------------------------------
EAX=00000030 EBX=00AAA820 ECX=00000000 EDX=02B2044C
ESI=00000000 EDI=021AE95F EBP=0022FDD8 ESP=0022FD40
Steps To Reproduce Compile with -O3 and ARCHOPTS = -msse4.1 flags (GCC 4.3.0+ / binutils 2.18+), and run on a SSE 4.1 capable processor.
Additional Information FWIW, this could definitely be a compiler bug, but if so it has persisted among 4.3.X GCC versions. It's definitely a strong enough possibility for the Possible flag.
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
7
User avatar
No.02428
Tafoid
Administrator
Sep 12, 2008, 02:16
If you are not using the compilation tools authorized by MAME, fitness of the binary nor the resulting emulation results cannot be guaranteed. A list of the official tools can be seen here: http://mamedev.org/tools

Report left for Developers to respond, assist or close as they see fit.
User avatar
No.02429
Fujix
Administrator
Sep 12, 2008, 04:22
I have never heard MAME has ever supported these compiling options. Of course it is not mentioned but it doesn't mean it supports.
In history, updating compiler caused many compiling issues, it is known that MAME is very sensitive and small optimization may cause problems easily.

I think you should make an update to send in it to devs for the future of the project unless you don't break anything.
User avatar
No.02430
Terryn
Tester
Sep 12, 2008, 05:42
edited on: Sep 12, 2008, 05:42
Understood on that point, and I am well aware that they are not the authorised compilation tools, hence the large caveat. This is one reason I use the official binaries as much as possible when considering a report (too bad mame's preferred mingw version, 4.2.1-sjlj, destroyed about every backtrace I'd ever done for a program), and one reason why I don't use MAMEUI anymore. However, I wouldn't have even considered trying this myself until I looked in the makefile. It lists some architecture-specific optimisation profiles (for example, a profile for a C2D-optimised build lists ARCHOPTS="-march=pentium-m -msse3"); therefore, it's at least implicit that some of the parameters have been tested and not entirely frowned upon. -O3 is default for a normal build. SSE4.1 is a different story, understandably, as it is less than a year old, but I just wanted to report this as thoroughly as I could for posterity, whether it's currently worth a dev's time or not.
User avatar
No.02431
Firewave
Senior Tester
Sep 12, 2008, 09:26
edited on: Sep 12, 2008, 09:27
Please try to enable the options, that -O3 implies one by one to find out which of the optimizations is responsible for the crash.
You can find the various switches in the GCC manual entry for -O3:

http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Optimize-Options.html#Optimize-Options

If you would be able to produce a somewhat useful backtrace of the crash it might help as well.
User avatar
No.02434
Terryn
Tester
Sep 13, 2008, 06:36
edited on: Sep 13, 2008, 06:43
Well, I went through a _lot_ of compile options and configurations and MAME compiles, and here's what I have found.

*The original issue actually extends to ALL SSE instruction set support being compiled in, not just SSE 4.1. The MMX option is unaffected, though, so it doesn't apply to all instruction set implementation.
*The problem presents itself only with a combination of at least three optimization options; "-ftree-vectorize" is the only one I found for certain to be part of the problem. The lowest level of optimization which creates the problem is Os/O2. I tried pairing the Os options with "-ftree-vectorize" one-at-a-time, and none caused a broken binary. (Building an O1 binary threw compile warnings - even without the -ftree-vectorize option - but otherwise worked fine. I will detail in another bug report only if you feel it necessary, since it's a lot more likely that O0 or O3 will be picked for a compile.) I don't have the know-how to make an educated guess on what the other infringing options are, sorry.
*The problem is only in mingw builds of binutils 2.18.50 (in both mingw sub-versions provided on sf). 2.17.50 has no problem with instituting all supported SSE instructions, but cannot test SSE 4.1 (unsupported). The outcome is the same on GCC 4-3-0-mingw and GCC 4-3-2-tdm-1.

Because of the last point, I'm increasingly of the mind that it's a binutils problem and not MAME's at all. (Is SDLMAME too much of a deviation to help tell whether it's a mingw-specific binutils bug or a binutils bug in general?) However, here is the best backtrace I'd gotten, just in case it is a MAME issue.

Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512                     code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0  0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0?'7
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0\b
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0", "I
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0\b?\"
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0@", "?206
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
00?, "~\a?\"
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0??202", "
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0\b
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
03f?001", "
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
2
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
2
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0(?\a", "
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
00?\a\b?", "\"
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0wJ0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0(?", "\a|J0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0
Program received signal SIGSEGV, Segmentation fault.
0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
512 code_pressed_memory[memnum] = INPUT_CODE_INVALID;
(gdb) bt full
#0 0x0088eca0 in input_init (machine=0x77ee228) at src/emu/input.c:512
        map = {map = {"\000?'\207\000\b\000\000", "I\000\000\000\b?\"\000@",
    "?206\000\000\000\000\000\020?, "~\a?\"\000??202",
    "\000\b\000\000\000\223f?001", "\002\002\000\000(?\a",
    "\000\000\000\020?\a\b?", "\"\000wJ\210\000(?",
    "\a|J\210\000\000\000\000"}}
#1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502
        settingsloaded = <value optimized out>
        driver = <value optimized out>
        machine = (running_machine *) 0x77ee228
        mame = (mame_private *) 0x77ee310
        cb = <value optimized out>
        gamename = <value optimized out>
        error = 0
        firstgame = <value optimized out>
        firstrun = 1
#2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720)
    at src/emu/clifront.c:171
        options = (core_options *) 0x3f3c10
        gamename = (astring *) 0x3f2710
        exename = (astring *) 0x3f3af8
        gamename_option = 0x3f3f68 ""
        driver = (const game_driver *) 0x0
        result = 32949737
#3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690)
    at src/osd/windows/winmain.c:257
No locals.
#4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72
        i = 2
        rc = <value optimized out>
0"}} #1 0x0082f19f in mame_execute (options=0x3f3c10) at src/emu/mame.c:1502 settingsloaded = <value optimized out> driver = <value optimized out> machine = (running_machine *) 0x77ee228 mame = (mame_private *) 0x77ee310 cb = <value optimized out> gamename = <value optimized out> error = 0 firstgame = <value optimized out> firstrun = 1 #2 0x00993563 in cli_execute (argc=2, argv=0x3f2690, osd_options=0x1e00720) at src/emu/clifront.c:171 options = (core_options *) 0x3f3c10 gamename = (astring *) 0x3f2710 exename = (astring *) 0x3f3af8 gamename_option = 0x3f3f68 "" driver = (const game_driver *) 0x0 result = 32949737 #3 0x007e1ca6 in utf8_main (argc=2, argv=0x3f2690) at src/osd/windows/winmain.c:257 No locals. #4 0x00f1966a in main (argc=2, a_argv=0x3f2638) at src/osd/windows/main.c:72 i = 2 rc = <value optimized out>
User avatar
No.03716
Terryn
Tester
Feb 3, 2009, 19:44
Hi. This problem no longer exists for me; compiling .0129 with binutils 2.18+, -O3 and any processor instruction set breaks the binary as shown above, but compiling .129u1 under the same conditions does not (and therefore works). It seems to be fixed by changes done in .129u1.

Regardless, I can now keep a clean, current toolchain and have the marginal effects of SSE4.1 in MAME, so this is fixed as far as it was a problem for me.
User avatar
No.03717
etabeta
Developer
Feb 3, 2009, 20:10
not clear what was causing the problem, but it's cool when obscure compiler problems get fixed. it means the source is cleaner :)