Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
01499 Multisession Critical (emulator) Always Mar 14, 2008, 01:43 Mar 16, 2008, 04:32
Tester john_iv View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Fixed OS Windows XP/Vista 64-bit
Status [?] Resolved Driver
Version 0.123u5 Fixed in Version 0.123u6 Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 01499: Various Drivers: Launching games from in-game [TAB] menu 2-3 times in a row throws access violation.
Description Looks like you can only start 2 to 3 games in a row from the [TAB] UI before you get an access violation. More easily seen in MameUI but repro’d from commandline. 32bit or 64bit.

Tafoid: I was not able to duplicate unless I had the -MT command line switch active. Even then it was not 100%, but crashes almost all the time after 2-3 tries as described. 32-Bit Build.
Steps To Reproduce 1. launch 'mame.exe dkong'
2. Go to [TAB] menu.
3. Select new game
4. Choose whatever random game appears first.
5. Will either access violate at this point or again if you repeat steps 2-4.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems Various Drivers
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.00166
Firewave
Senior Tester
Mar 15, 2008, 04:20
edited on: Mar 15, 2008, 04:32
The conbination of games, that cause crashes are definitely necessary. Without those it is not possible to properly look into these issues.

I am able to reproduce a crash everytime with choosing "numanatj" after running "dkong" in 32-bit debug build without the "-mt" switch:

-----------------------------------------------------
Exception at EIP=009F203D (input_port_seq+0x0009): ACCESS VIOLATION
While attempting to read memory at 0EF5145C
-----------------------------------------------------
EAX=0EF51450 EBX=00000000 ECX=00000000 EDX=00000000
ESI=97DA38A0 EDI=00000000 EBP=0658F7E8 ESP=0658F7C0
-----------------------------------------------------
Stack crawl:
exception-> 009F203D (input_port_seq+0x0009)
  0658F7EC: 009F2DA7 (input_port_update_defaults+0x0752)
  0658F89C: 0097A494 (osd_update+0x0390)
  0658F8AC: 009C9A86 (mame_frame_update+0x0025)
  0658F8CC: 009D042B (video_frame_update+0x01a2)
  0658F91C: 00A5E623 (ui_set_startup_text+0x00ca)
  0658F96C: 00A23FEA (rom_next_chunk+0x0684)
  0658FFF8: 00401280 (mainCRTStartup+0x0000)

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x009f203d in input_port_seq (port=0xed91450, seqtype=SEQ_TYPE_STANDARD)
    at src/emu/inptport.c:2608
2608 if (port->unused)
(gdb) bt full
#0 0x009f203d in input_port_seq (port=0xed91450, seqtype=SEQ_TYPE_STANDARD)
    at src/emu/inptport.c:2608
        portseq = (input_seq *) 0x0
        ip_none = {code = {2147483648, 0 <repeats 15 times>}}
#1 0x009f203d in input_port_seq (port=0x1f, seqtype=4062136652)
    at src/emu/inptport.c:2608
        portseq = (input_seq *) 0x28b9b50
        ip_none = {code = {2147483648, 0 <repeats 15 times>}}
Backtrace stopped: frame did not save the PC

Also happens with (I think in all cases the whole sourcefile is affected):
tempest3
xybotsf
User avatar
No.00167
Firewave
Senior Tester
Mar 15, 2008, 04:25
With "cham24" after "dkong" I once had this crash (not reproducible):

-----------------------------------------------------
Exception at EIP=00C208AD (ui_menu_is_force_game_select+0x4ee1): INTEGER OVERFLO
W
-----------------------------------------------------
EAX=FF990FA6 EBX=0314A896 ECX=07983059 EDX=0933BE8D
ESI=F867CFA7 EDI=FFFFFFFF EBP=0658FAA8 ESP=0658F8B0
-----------------------------------------------------
Stack crawl:
exception-> 00C208AD (ui_menu_is_force_game_select+0x4ee1)
  0658FAAC: 00C2390F (mame_validitychecks+0x00ed)
  0658FE1C: 009C943E (mame_execute+0x00ae)
  0658FE7C: 00C00463 (cli_execute+0x01e3)
  0658FEEC: 0097950B (utf8_main+0x00ea)
  0658FF1C: 01246189 (main+0x00e9)
  0658FF6C: 0040124B (__image_base__+0x124b)
  0658FFB4: 00401298 (mainCRTStartup+0x0018)