stepmania / stepmania

Advanced rhythm game for Windows, Linux and OS X. Designed for both home and arcade use.
https://www.stepmania.com/
1.86k stars 443 forks source link

Report Crash SM 5.0 beta 3 #212

Open minecrawler opened 10 years ago

minecrawler commented 10 years ago

This thing happens very often. At some point while playing a song, SM crashes and sound is bugging around. Sounds like there is something in some sound buffer which is repeated over and over until I restart my computer (but that piece of sound is just some 100ms long - sounds ugly).

Also I deleted hundreds of WARNINGS from the log which tell me that the compression is not supported. They all look like this: WARNING: .\RageFileDriverZip.cpp:237: File "Songs/Otaku's Dream Mix (Pad)/(Huzure) masterpiece (To Aru Majutsu no Index)/masterpiece.sm" in "/Packages/Otakus Dream Mix.zip" uses unsupported compression method 14

StepMania v5.0 beta 3 crash report (build 8, 20140224 @ 15:23:46 Central Standard Time)

Crash reason: 65824, 65536

Thread: Main thread GraphicsWindow.cpp:54 000617EA, 132, 00000000, 022403c5 GraphicsWindow.cpp:179 000617EA, 132, 00000000, 022403c5 GraphicsWindow.cpp:54 000617EA, 32, 000617ea, 02000001 GraphicsWindow.cpp:54 000617EA, 512, 00000000, 022403c5 GraphicsWindow.cpp:179 000617EA, 512, 00000000, 022403c5 Thread: Decode thread RageSoundDriver_Generic_Software.cpp:204 RageSoundDriver_Generic_Software.cpp:204 RageSoundDriver_Generic_Software.cpp:204 RageSoundDriver_Generic_Software.cpp:204 RageSoundDriver_Generic_Software.cpp:204 Thread: Mixer thread DSoundHelpers.cpp:571 65824, 65536 Thread: Music thread RageFileDriverDirectHelpers.cpp:227 C:/Users/marco_000/AppData/Roaming/StepMania 5/Themes/_fallback/Sounds/ RageFileDriverDirectHelpers.cpp:227 L:/Games/StepMania 5/Themes/_fallback/Sounds/ RageFileDriverDirectHelpers.cpp:227 C:/Users/marco_000/AppData/Roaming/StepMania 5/Themes/_fallback/Sounds/ RageFileDriverDirectHelpers.cpp:227 L:/Games/StepMania 5/Themes/_fallback/Sounds/ RageFileDriverDirectHelpers.cpp:227 C:/Users/marco_000/AppData/Roaming/StepMania 5/Themes/_fallback/Sounds/* Thread: Worker thread (MemoryCardWorker) Thread: Worker thread (/@mc1int/) Thread: Worker thread (/@mc2int/) Thread: DirectInput thread InputHandler_DirectInput.cpp:755 InputHandler_DirectInput.cpp:731 InputHandler_DirectInput.cpp:750 InputHandler_DirectInput.cpp:755 InputHandler_DirectInput.cpp:731 Thread: Streaming sound buffering

005aef1f: void CrashHandler::ForceCrash(char const ) [00400000+1aef00+1f] 0058f50c: void sm_crash(char const ) [00400000+18f4f0+1c] 00595da8: _int64 DSoundBuf::GetPosition(void)const () [00400000+195cb0+f8] 00596a69: void RageSoundDriver_DSound_Software::MixerThread(void) [00400000+196910+159] 00596ac9: int RageSoundDriver_DSound_Software::MixerThread_start(void *) [00400000+196ac0+9] 7761a8a1: ntdll!RtlInitializeExceptionChain [775d0000+4a847+5a]

Static log: StepMania v5.0 beta 3 Compiled 20140224 @ 15:23:46 Central Standard Time (build 8) Log starting 2014-07-03 00:19:19

Staticlog limit reached Mixing underruns: 1 Players joined: P1 Lost focus to: StepMania-SSE2.exe Top Screen: ScreenGameplay Language: de Current renderer: OpenGL Theme: default

Partial log: 15:27.859: 60 FPS, 60 av FPS, 1429 VPF, OpenGL 15:28.859: 60 FPS, 60 av FPS, 1433 VPF, OpenGL 15:29.875: 60 FPS, 59 av FPS, 1430 VPF, OpenGL 15:30.892: 60 FPS, 59 av FPS, 1433 VPF, OpenGL 15:31.892: 60 FPS, 60 av FPS, 1445 VPF, OpenGL 15:32.892: 60 FPS, 60 av FPS, 1466 VPF, OpenGL 15:33.892: 60 FPS, 60 av FPS, 1482 VPF, OpenGL 15:34.892: 60 FPS, 60 av FPS, 1477 VPF, OpenGL 15:35.892: 60 FPS, 60 av FPS, 1454 VPF, OpenGL 15:36.892: 60 FPS, 60 av FPS, 1444 VPF, OpenGL

-- End of report

minecrawler commented 10 years ago

Tried the suggested reference and compiled SM5 with VS2013. Same symptoms (crashes during song - audio breaks and hangs). This time the error report looks like this:

StepMania v5.0 beta 3 crash report (build 2, 20140704 @ 00:49:56 Mitteleuropäische Sommerzeit)

Crash reason: ƒÄ]ÃÌÌÌÌÌÌÌÌÌÌÌÌÌU‹ìjÿh\ˆ‰(GetThreadContext failed)

Thread: Main thread MovieTexture_Generic.cpp:477 MovieTexture_Generic.cpp:330 MovieTexture_FFMpeg.cpp:213 MovieTexture_FFMpeg.cpp:264 MovieTexture_FFMpeg.cpp:272 Thread: Decode thread RageSoundDriver_Generic_Software.cpp:204 RageSoundDriver_Generic_Software.cpp:204 RageSoundDriver_Generic_Software.cpp:204 RageSoundDriver_Generic_Software.cpp:204 RageSoundDriver_Generic_Software.cpp:204 Thread: Mixer thread DSoundHelpers.cpp:571 65552, 65536 Thread: Music thread RageFileDriverDirectHelpers.cpp:227 C:/Users/marco_000/AppData/Roaming/StepMania 5/Themes/_fallback/Sounds/ RageFileDriverDirectHelpers.cpp:227 C:/Users/marco_000/AppData/Roaming/StepMania 5/Themes/_fallback/Sounds/ RageFileDriverDirectHelpers.cpp:227 C:/Users/marco_000/AppData/Roaming/StepMania 5/Themes/_fallback/Sounds/ RageFileDriverDirectHelpers.cpp:227 C:/Users/marco_000/AppData/Roaming/StepMania 5/Themes/_fallback/Sounds/ RageFileDriverDirectHelpers.cpp:227 C:/Users/marco_000/AppData/Roaming/StepMania 5/Themes/_fallback/Sounds/* Thread: Worker thread (MemoryCardWorker) Thread: Worker thread (/@mc1int/) Thread: Worker thread (/@mc2int/) Thread: DirectInput thread InputHandler_DirectInput.cpp:755 InputHandler_DirectInput.cpp:731 InputHandler_DirectInput.cpp:750 InputHandler_DirectInput.cpp:755 InputHandler_DirectInput.cpp:731 Thread: Streaming sound buffering

0068c823: void CrashHandler::ForceDeadlock(class StdString::CStdStr,unsigned __int64) [00400000+28c630+1f3] 7717946f: ntdll!RtlReAllocateHeap [77150000+28d38+737] 771794a0: ntdll!RtlReAllocateHeap [77150000+28d38+768] 77178fec: ntdll!RtlReAllocateHeap [77150000+28d38+2b4] 7718dc8c: ntdll!NtCreateThreadEx [77150000+3dc80+c] 7518d100: KERNELBASE!CreateRemoteThreadEx [75170000+1cf0a+1f6] 7518d14f: KERNELBASE!CreateRemoteThreadEx [75170000+1cf0a+245] 028e1ad7: HsSrv!028e0000 028e1ad7: HsSrv!028e0000 77178de0: ntdll!RtlReAllocateHeap [77150000+28d38+a8] 77178e0b: ntdll!RtlReAllocateHeap [77150000+28d38+d3] 6dc0f747: MSVCR120!memcpy_s [6dc00000+f62f+118] 6dc11782: MSVCR120!errno [6dc00000+1177d+5] 6dc2c4e5: MSVCR120!_clean_type_info_names_internal [6dc00000+2c447+9e] 6dc84ad0: MSVCR120!vsnprintf_l [6dc00000+84a2e+a2] 6dc84a29: MSVCR120!vsnprintf [6dc00000+84a13+16] 00760fdf: class StdString::CStdStr vssprintf(char const ,char ) [00400000+360f70+6f] 00760fc9: class StdString::CStdStr vssprintf(char const ,char ) [00400000+360f70+59] 00760fc9: class StdString::CStdStr vssprintf(char const ,char ) [00400000+360f70+59] 006683cd: void sm_crash(char const ) [00400000+2683b0+1d] 006708cc: _int64 DSoundBuf::GetPosition(void)const () [00400000+2707a0+12c] 0067152b: void RageSoundDriver_DSound_Software::MixerThread(void) [00400000+2713b0+17b] 006713ab: int RageSoundDriver_DSound_Software::MixerThread_start(void ) [00400000+2713a0+b] 7719a8a1: ntdll!RtlInitializeExceptionChain [77150000+4a847+5a]

Static log: StepMania v5.0 beta 3 Compiled 20140704 @ 00:49:56 Mitteleuropäische Sommerzeit (build 2) Log starting 2014-07-05 00:32:37 WARNING: RageFileDriverZip.cpp:237: File "Songs/SOMEBODY STREEEEEAM!!! Episode 1/4Ever And 1Night/4Ever And 1Night.ogg" in "/Packages/Misc 3.zip" uses unsupported compression method 14

// Many more unsupported files...

Staticlog limit reached Mixing underruns: 1 Players joined: P1 Lost focus to: StepMania-SSE2.exe Top Screen: ScreenGameplay Language: de Current renderer: OpenGL Theme: default

Partial log: 53:29.328: 60 FPS, 60 av FPS, 1703 VPF, OpenGL 53:30.329: 60 FPS, 60 av FPS, 1692 VPF, OpenGL 53:31.329: 60 FPS, 60 av FPS, 1693 VPF, OpenGL 53:32.328: 60 FPS, 60 av FPS, 1700 VPF, OpenGL 53:33.328: 60 FPS, 60 av FPS, 1703 VPF, OpenGL 53:34.330: 60 FPS, 60 av FPS, 1702 VPF, OpenGL 53:35.330: 60 FPS, 60 av FPS, 1703 VPF, OpenGL 53:36.330: 60 FPS, 60 av FPS, 1703 VPF, OpenGL 53:37.329: 60 FPS, 60 av FPS, 1702 VPF, OpenGL 53:38.330: 60 FPS, 60 av FPS, 1703 VPF, OpenGL

-- End of report

roothorick commented 10 years ago

This looks suspiciously like misbehaving audio drivers. What sound chip, and driver/version? And OS? Does the WaveOut backend behave okay?

minecrawler commented 10 years ago

OS is Windows 8.1 Pro x64 Asus has a beta driver update. I will install it and play SM later. What do you mean by "WaveOut backend"? In general, I never had any problems with the sound card or its drivers.

\ Translation of first two labels ** 3D-Audiodriver Audio Driver Version


Sound Card Info

Edit: updated the driver. I'll test SM5 with the new driver and with my onboard chip (Realtek ALC892) if the Xonar driver update doesn't solve the problem.

Sound Card Info (Updated)

roothorick commented 10 years ago

Xonar... I've heard horror stories. Use your onboard audio for a while, does the problem go away?

wolfman2000 commented 9 years ago

Tied to issue #655 due to the gibberish text. May have to dive in.

SpoOkyMagician commented 6 years ago

I know this is a bit old now but, it may have to do with autogen. Partially anyway.