Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02488 Multisession Critical (emulator) Always Oct 4, 2008, 23:59 Oct 9, 2008, 09:10
Tester incog View Status Public Platform MAME (Self-compiled)
Assigned To aaron Resolution Fixed OS Windows XP/Vista 32-bit
Status [?] Resolved Driver
Version 0.127u6 Fixed in Version 0.127u7 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 02488: All sets with using 2+ monitors: Crash to desktop on second play.
Description PlayChoice-10 driver crashes to desktop on second playthough

Tafoid: Larger issue is that this seems to effect all multi-monitor drivers.
Steps To Reproduce Start up any PlayChoice-10 game (w/ -refreshspeed) and reselect a new Playchoice-10 game.
Additional Information
-----------------------------------------------------
Exception at EIP=012767A5: INTEGER DIVIDE BY ZERO
-----------------------------------------------------
EAX=00000001 EBX=00000000 ECX=00000000 EDX=00000000
ESI=00000000 EDI=00000000 EBP=0022FC78 ESP=0022FC48

--------------------

(gdb) run pc_smb -refreshspeed -window
Starting program: F:\MAMESRC/mamesymbols.exe pc_smb -refreshspeed -window
Loaded symbols for C:\WINNT\system32\ADVAPI32.DLL
Loaded symbols for C:\WINNT\system32\KERNEL32.DLL
Loaded symbols for C:\WINNT\system32\rpcrt4.dll
Loaded symbols for C:\WINNT\system32\secur32.dll
Loaded symbols for C:\WINNT\system32\comctl32.dll
Loaded symbols for C:\WINNT\system32\GDI32.DLL
Loaded symbols for C:\WINNT\system32\USER32.DLL
Loaded symbols for C:\WINNT\system32\dinput.dll
Loaded symbols for C:\WINNT\system32\msvcrt.dll
Loaded symbols for C:\WINNT\system32\winmm.dll
Loaded symbols for C:\WINNT\system32\dsound.dll
Loaded symbols for C:\WINNT\system32\OLE32.DLL
Loaded symbols for C:\WINNT\system32\version.dll
Loaded symbols for C:\WINNT\system32\lz32.dll
Loaded symbols for C:\WINNT\system32\SHLWAPI.DLL
Average speed: 95.48% (10 seconds)

Program received signal SIGFPE, Arithmetic exception.
0x012d97e5 in __divdi3 (u=0, v=0) at ../../gcc-4.2.1/gcc/libgcc2.c:875
875 ../../gcc-4.2.1/gcc/libgcc2.c: No such file or directory.
        in ../../gcc-4.2.1/gcc/libgcc2.c
(gdb) bt full
#0 0x012d97e5 in __divdi3 (u=0, v=0) at ../../gcc-4.2.1/gcc/libgcc2.c:87
        c = 0
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#1 0x012d97e5 in __divdi3 (u=136703744, v=-5025548062047600640)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 0
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#2 0x012d97e5 in __divdi3 (u=1099632010064, v=517038316395168006)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = -1170101590
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#3 0x012d97e5 in __divdi3 (u=517039690905084752, v=197520460701761556)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 2293184
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#4 0x012d97e5 in __divdi3 (u=152383541423238912, v=6532645257217)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 34
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#5 0x012d97e5 in __divdi3 (u=152381290860375808, v=644245094401)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 1
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#6 0x012d97e5 in __divdi3 (u=509534544791223304, v=644273900752)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 136703744
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#7 0x012d97e5 in __divdi3 (u=509510836453113860, v=8647793436509672000)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 2293512
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#8 0x012d97e5 in __divdi3 (u=509510836453113860, v=-4292673664)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 35459648
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#9 0x012d97e5 in __divdi3 (u=2147348480, v=18034511843622832)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 2293632
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#10 0x012d97e5 in __divdi3 (u=38654705665, v=8960344481553645552)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 2293668
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#11 0x012d97e5 in __divdi3 (u=0, v=2147348480)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 0
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
#12 0x012d97e5 in __divdi3 (u=4199040, v=1099511627976)
    at ../../gcc-4.2.1/gcc/libgcc2.c:875
        c = 2147348480
        uu = <value optimized out>
        vv = <value optimized out>
        w = <value optimized out>
Github Commit
Flags
Regression Version 0.127u3
Affected Sets / Systems All sets with using 2+ monitors
Attached Files
txt file icon multiplemonitorsets.txt (1,691 bytes) Oct 5, 2008, 15:48
[Show Content]
Relationships
duplicate of 01742Resolvedaaron  punchout, armwrest + many vsnes.c and playch10.c games: Refreshspeed causes fatal exception in punchout 
related to 02439Resolvedaaron  tx1: TX1 quits out on second launch. 
related to 02266Resolvedaaron  tceptor: Thunder Ceptor crashes out when run as the second game. 
Notes
3
User avatar
No.02694
Tafoid
Administrator
Oct 5, 2008, 01:08
I can't duplicate this. I tried with a couple different mario games: pc_smb, pc_smb3 and also tried with pc_cvnia - no crash for me on 32-bit - Windows 2000.

Can you try without your MAME.INI.. and does it replicate without one?
User avatar
No.02695
incog
Tester
Oct 5, 2008, 01:18
edited on: Oct 5, 2008, 01:35
Yeah, deleting MAME.INI solves it, using refreshspeed is what crashes them out. Looks like 01742 again.
User avatar
No.02696
Tafoid
Administrator
Oct 5, 2008, 01:35
edited on: Oct 5, 2008, 17:13
Confirmed. I forgot about that one :)
Hmm, it was resolved? Must be a re-regression.

EDIT: More testing reveals this to be a -refreshspeed problem with all multi-monitor games.

EDIT2: Added backtrace using pc_smb