- --
Viewing Issue Advanced Details
ID | Category [?] | Severity [?] | Reproducibility | Date Submitted | Last Update |
---|---|---|---|---|---|
00993 | Crash/Freeze | Critical (emulator) | Have not tried | Feb 8, 2008, 05:53 | Feb 10, 2011, 18:11 |
Tester | Lord Nightmare | View Status | Public | Platform | |
Assigned To | Phil Bennett | Resolution | Fixed | OS | |
Status [?] | Resolved | Driver | |||
Version | 0.119 | Fixed in Version | 0.136u3 | Build | |
Fixed in Git Commit | Github Pull Request # | ||||
Summary | 00993: sharrier: [debug] Crashes when a specific sample is being played during gameplay. | ||||
Description |
Crashes when a specific sample is being played during gameplay: the 'announcer' saying "You're doin' great!" when you beat a boss in debug build. Using self-built with old gcc3 based build tools build of mame 0.119, with arch set to PM, symbols on, debugger on but disabled by command line param (-nodebug), not fullscreen (-window) backtrace follows: C:\mame>gdb -f mamed.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"... (gdb) run sharrier -window -nodebug Starting program: C:\mame/mamed.exe sharrier -window -nodebug Program received signal SIGSEGV, Segmentation fault. 0x014991c2 in SEGAPCM_update (param=0x100f1fdc, inputs=0x0, buffer=0x10161ff8, length=1250) at src/emu/sound/segapcm.c:63 ??C:/mame/src/emu/sound/segapcm.c:63:1526:beg:0x14991c2 (gdb) bt #0 0x014991c2 in SEGAPCM_update (param=0x100f1fdc, inputs=0x0, buffer=0x10161ff8, length=1250) at src/emu/sound/segapcm.c:63 #1 0x00f49a44 in generate_samples (stream=0x10111fa8, samples=1250) at src/emu/streams.c:761 #2 0x00f4927d in stream_update (stream=0x10111fa8) at src/emu/streams.c:474 #3 0x00f49998 in generate_samples (stream=0x10231fa8, samples=960) at src/emu/streams.c:746 #4 0x00f4927d in stream_update (stream=0x10231fa8) at src/emu/streams.c:474 #5 0x00f494ab in stream_get_output_since_last_update (stream=0x10231fa8, outputnum=0, numsamples=0x23fcfc) at src/emu/streams.c:569 #6 0x00f36d6b in sound_update (machine=0x70f1d70, param=0) at src/emu/sound.c:690 #7 0x00f2b8ed in mame_timer_set_global_time (newbase= {seconds = 99, subseconds = 340000000000000000}) at src/emu/timer.c:342 #8 0x00f31ca7 in cpuexec_timeslice () at src/emu/cpuexec.c:554 #9 0x00ec6223 in mame_execute (options=0x45b1e58) at src/emu/mame.c:378 #10 0x00f6bda4 in cli_execute (argc=4, argv=0x4541ff0, osd_options=0x2286c20) at src/emu/clifront.c:169 #11 0x00e7cf35 in utf8_main (argc=4, argv=0x4541ff0) at src/osd/windows/winmain.c:251 #12 0x0150148b in main (argc=4, a_argv=0x33d98) at src/osd/windows/main.c:72 (gdb) Alternate backtrace for after beating third level (instead of after first level, as above was): Program received signal SIGSEGV, Segmentation fault. 0x014991c2 in SEGAPCM_update (param=0xfe71fdc, inputs=0x0, buffer=0xfee1ff8, length=1090) at src/emu/sound/segapcm.c:63 ??C:/mame/src/emu/sound/segapcm.c:63:1526:beg:0x14991c2 (gdb) bt #0 0x014991c2 in SEGAPCM_update (param=0xfe71fdc, inputs=0x0, buffer=0xfee1ff8, length=1090) at src/emu/sound/segapcm.c:63 #1 0x00f49a44 in generate_samples (stream=0xfe91fa8, samples=1090) at src/emu/streams.c:761 #2 0x00f4927d in stream_update (stream=0xfe91fa8) at src/emu/streams.c:474 #3 0x00f49998 in generate_samples (stream=0xffa1fa8, samples=960) at src/emu/streams.c:746 #4 0x00f4927d in stream_update (stream=0xffa1fa8) at src/emu/streams.c:474 #5 0x00f494ab in stream_get_output_since_last_update (stream=0xffa1fa8, outputnum=0, numsamples=0x23fcfc) at src/emu/streams.c:569 #6 0x00f36d6b in sound_update (machine=0x70f1d70, param=0) at src/emu/sound.c:690 #7 0x00f2b8ed in mame_timer_set_global_time (newbase= {seconds = 669, subseconds = 80000000000000000}) at src/emu/timer.c:342 #8 0x00f31ca7 in cpuexec_timeslice () at src/emu/cpuexec.c:554 #9 0x00ec6223 in mame_execute (options=0x45b1e58) at src/emu/mame.c:378 #10 0x00f6bda4 in cli_execute (argc=4, argv=0x4541ff0, osd_options=0x2286c20) at src/emu/clifront.c:169 #11 0x00e7cf35 in utf8_main (argc=4, argv=0x4541ff0) at src/osd/windows/winmain.c:251 #12 0x0150148b in main (argc=4, a_argv=0x33d98) at src/osd/windows/main.c:72 Backtrace from 0.118u6: Program received signal SIGSEGV, Segmentation fault. 0x01497342 in SEGAPCM_update (param=0x10131fdc, inputs=0x0, buffer=0x101b1ff8, length=959) at src/emu/sound/segapcm.c:63 ??C:/mame/src/emu/sound/segapcm.c:63:1526:beg:0x1497342 (gdb) bt #0 0x01497342 in SEGAPCM_update (param=0x10131fdc, inputs=0x0, buffer=0x101b1ff8, length=959) at src/emu/sound/segapcm.c:63 #1 0x00f47bc4 in generate_samples (stream=0x10151fa8, samples=959) at src/emu/streams.c:761 #2 0x00f473fd in stream_update (stream=0x10151fa8) at src/emu/streams.c:474 #3 0x00f47b18 in generate_samples (stream=0x10271fa8, samples=960) at src/emu/streams.c:746 #4 0x00f473fd in stream_update (stream=0x10271fa8) at src/emu/streams.c:474 #5 0x00f4762b in stream_get_output_since_last_update (stream=0x10271fa8, outputnum=0, numsamples=0x23fcfc) at src/emu/streams.c:569 #6 0x00f34f3b in sound_update (machine=0x70f1d70, param=0) at src/emu/sound.c:690 #7 0x00f29abd in mame_timer_set_global_time (newbase= {seconds = 347, subseconds = 100000000000000000}) at src/emu/timer.c:342 #8 0x00f2fe77 in cpuexec_timeslice () at src/emu/cpuexec.c:554 #9 0x00ec43f3 in mame_execute (options=0x45b1e58) at src/emu/mame.c:378 #10 0x00f69f24 in cli_execute (argc=4, argv=0x4541ff0, osd_options=0x2282de0) at src/emu/clifront.c:169 #11 0x00e7b095 in utf8_main (argc=4, argv=0x4541ff0) at src/osd/windows/winmain.c:251 #12 0x014ff45b in main (argc=4, a_argv=0x33d98) at src/osd/windows/main.c:72 |
||||
Steps To Reproduce | |||||
Additional Information | |||||
Github Commit | |||||
Flags | Debug build specific | ||||
Regression Version | |||||
Affected Sets / Systems | sharrier | ||||
Attached Files
|
|||||
Relationships
There are no relationship linked to this issue. |
Notes
4
No.04555
Tafoid Administrator
Jun 24, 2009, 17:04
|
In M1, this is sample #134. I'm unable to trigger it in test mode of the game (It only had 2 voice samples to test). In order for the sound to trigger on my last play, you need play to and kill the 2nd boss (Multiple Faces). You start to hear the sound and the game comes to a crashing halt. |
---|---|
No.05596
Tafoid Administrator
Jan 29, 2010, 22:50
|
I tried with 0.136u2 with normal and debug/symbols/map build and I was unable to crash either. The change of tools might have fixed this issue, or other recent fixes related to streams.. |
No.05601
Tafoid Administrator
Jan 30, 2010, 19:13
|
Doing some more digging and comparing MAME's output with M1's .. MAME has a noticeable noise in playing the sample - "You're doing [noise] great!". There might be an issue with MAME's currently implementation compared to M1's (which likely is from an older MAME source). Thanks to Phil_B for the heads-up. |
No.07184
Lord Nightmare Developer
Feb 10, 2011, 18:11
|
The recent rewrite of segapcm mirroring/looping may have 'completely' fixed this bug |