Viewing Issue Advanced Details Jump to Notes ] [ View Source: mquake.c ]
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04440 Crash/Freeze Critical (emulator) Always 2011-07-28 02:40 2011-07-29 14:44
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To smf Resolution Fixed OS Windows XP (32-bit)
Status [?] Resolved   Driver mquake.c
Version 0.143u2 Fixed in Version 0.143u3 Build Normal
Summary 04440: mquake: Crash before OK
Description Using either a normal build or symbols/debug build, I get no stack crawl from this crash as it only shows:
"-----------------------------------------------------"
Steps To Reproduce
Additional Information With GDB, I can get a crash of something to show ON EXIT:

warning: HEAP[mamesymbols143u2.exe]:
warning: Invalid Address specified to RtlFreeHeap( 003F0000, 1E72DFD0 )


Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) bt
#0 0x7c90120f in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1 0x7c96ee31 in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#2 0x7c96f26e in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#3 0x7c970456 in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#4 0x7c94bafc in ntdll!LdrFindEntryForAddress ()
   from C:\WINDOWS\system32\ntdll.dll
#5 0x003f0000 in ?? ()
#6 0x7c91a1ba in ntdll!RtlpUnWaitCriticalSection ()
   from C:\WINDOWS\system32\ntdll.dll
#7 0x77c2c2de in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
#8 0x003f0000 in ?? ()
#9 0x02af3c4b in osd_close (file=0x1e72dfd0) at src/osd/windows/winfile.c:252
#10 0x02a90560 in core_fclose (file=0x20cb3a38) at src/lib/util/corefile.c:246
#11 0x026f7133 in emu_file::close (this=0x22eb30) at src/emu/fileio.c:410
#12 0x026f612e in emu_file::~emu_file (this=0x22eb30,
    __in_chrg=<optimized out>) at src/emu/fileio.c:208
#13 0x0262c68f in nvram_save (machine=...) at src/emu/machine/generic.c:391
#14 0x02574ab3 in running_machine::run (this=0x22ee48, firstrun=true)
    at src/emu/machine.c:431
#15 0x0262fe74 in mame_execute (options=..., osd=...) at src/emu/mame.c:176
#16 0x028e01a1 in cli_frontend::execute (this=0x22fe98, argc=4, argv=0x3f49c0)
    at src/emu/clifront.c:249
#17 0x01e5bd51 in utf8_main (argc=4, argv=0x3f49c0)
    at src/osd/windows/winmain.c:475
#18 0x02af1776 in wmain (argc=4, argv=0x3f4438) at src/osd/windows/main.c:82
#19 0x00401422 in __tmainCRTStartup () at ../mingw-w64-crt/crt/crtexe.c:282
#20 0x7c817077 in RegisterWaitForInputIdle ()
   from C:\WINDOWS\system32\kernel32.dll
#21 0x00000000 in ?? ()
Flags
Regression Version 0.143u2
Affected Sets / Systems mquake
Attached Files
 


-  Notes
User avatar (07658)
Fujix (Administrator)
2011-07-28 07:36

No crash confirmed on my 64-bit normal build.
Does anyone else have the same issue on 32-bit?
User avatar (07661)
Tafoid (Administrator)
2011-07-29 14:44
edited on: 2011-07-29 14:44

Increase of cothread stack size made this disappear for me.