Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
03710 Crash/Freeze Critical (emulation) Always Feb 4, 2010, 22:21 May 22, 2010, 17:07
Tester fallicanet View Status Public Platform MAMEUI
Assigned To Kale Resolution Fixed OS Windows XP (32-bit)
Status [?] Resolved Driver
Version 0.136u2 Fixed in Version 0.138u1 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 03710: sokyugrt: Game crash after player select
Description Game crash after player select...

P.S.: the game start with 2 credits
Steps To Reproduce
Additional Information stv.c merged into saturn.c in 0.142u2

Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x008f6c3f in stv_vdp2_draw_basic_bitmap (machine=0x24eac8,
    bitmap=0x10c905b0, cliprect=0x22f794) at src/mame/video/stvvdp2.c:2928
2928 *BITMA
ADDR16(bitmap, ycnt, xcnt+1) = machine->pens[((gfxdata[0] & 0x0f) >> 0) | (stv
current_tilemap.bitmap_palette_number * 0x100) | pal_color_offset];
Current language: auto
The current source language is "auto; currently c++".
(gdb) bt
#0 0x008f6c3f in stv_vdp2_draw_basic_bitmap (machine=0x24eac8,
    bitmap=0x10c905b0, cliprect=0x22f794) at src/mame/video/stvvdp2.c:2928
#1 0x008fa353 in stv_vdp2_check_tilemap (machine=0x24eac8,
    bitmap=0x10c905b0, cliprect=0x22f8dc) at src/mame/video/stvvdp2.c:3982
#2 0x008fd1a4 in stv_vdp2_draw_rotation_screen (machine=0x24eac8,
    bitmap=0x10c905b0, cliprect=0x22f8dc, iRP=1)
    at src/mame/video/stvvdp2.c:4851
#3 0x008fd8d0 in stv_vdp2_draw_RBG0 (machine=0x24eac8, bitmap=0x10c905b0,
    cliprect=0x22f8dc) at src/mame/video/stvvdp2.c:5018
#4 0x0090198f in video_update_stv_vdp2 (screen=0x2509d8, bitmap=0x10c905b0,
    cliprect=0x22f8dc) at src/mame/video/stvvdp2.c:6287
#5 0x00d9ee1a in video_screen_update_partial (screen=0x2509d8, scanline=223)
    at src/emu/video.c:654
#6 0x00da2059 in finish_screen_updates (machine=0x24eac8)
    at src/emu/video.c:1358
#7 0x00da1d8d in video_frame_update (machine=0x24eac8, debug=0)
    at src/emu/video.c:1290
#8 0x00da1a0a in vblank_end_callback (machine=0x24eac8, ptr=0x2509d8,
    param=0) at src/emu/video.c:1212
#9 0x00dba4fc in timer_execute_timers (machine=0x24eac8)
    at src/emu/timer.c:406
#10 0x00d98a3e in cpuexec_timeslice (machine=0x24eac8)
    at src/emu/cpuexec.c:375
#11 0x00d861f3 in mame_execute (options=0xfa847d8) at src/emu/mame.c:317
#12 0x00ff0a19 in cli_execute (argc=3, argv=0xfa84690, osd_options=0x29e9ea0)
    at src/emu/clifront.c:176
#13 0x00cc364c in utf8_main (argc=3, argv=0xfa84690)
    at src/osd/windows/winmain.c:318
#14 0x01871d2a in wmain (argc=3, argv=0xfa82610) at src/osd/windows/main.c:82
#15 0x004013d1 in __tmainCRTStartup () at ../mingw-w64-crt/crt/crtexe.c:268
#16 0x7c5989d5 in ProcessIdToSessionId () from C:\WINNT\system32\KERNEL32.DLL
#17 0x00000000 in ?? ()
Github Commit
Flags
Regression Version
Affected Sets / Systems sokyugrt
Attached Files
 
Relationships
related to 03445ResolvedKale  znpwfv: Segmentation Fault 
Notes
2
User avatar
No.05875
Robbbert
Senior Tester
Mar 14, 2010, 03:06
I've noticed in 0.137, when it crashes, MAME simply outputs a line of dashes and returns to the prompt. No register dump or message.

I'm using the build from the official download page, normal 32-bit, not optimised for anything. Running on XP 32-bit.
User avatar
No.06161
Kale
Developer
May 22, 2010, 17:07
For whatever reason, ST-V bitmaps never had x/y boundaries checking, which made this to crash.