stepmania / stepmania

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

Crash Report #237

Closed nundu48 closed 10 years ago

nundu48 commented 10 years ago

Crash Report Log

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

Crash reason: Assertion 'v.size() > 0' failed

Thread: Main thread RageFileDriverDirectHelpers.cpp:227 C:/Users/Ada/AppData/Roaming/StepMania 5/Themes/_fallback/Scripts/ IniFile.cpp:21 Reading 'Themes/_fallback/ThemeInfo.ini' RageFileDriverDirectHelpers.cpp:227 C:/Users/Ada/Documents/StepMania 5/Themes/default/Scripts/ RageFileDriverDirectHelpers.cpp:227 C:/Users/Ada/AppData/Roaming/StepMania 5/Themes/default/Scripts/* CommonMetrics.cpp:41 Assertion 'v.size() > 0' failed

005aef1f: void CrashHandler::ForceCrash(char const ) [00400000+1aef00+1f] 0058f50c: void sm_crash(char const ) [00400000+18f4f0+1c] 004cace7: void ThemeMetricDifficultiesToShow::Read(void) [00400000+cab40+1a7] 00673d55: void RageMutex::Unlock(void) [00400000+273d40+15] 0070b960: void ThemeManager::SwitchThemeAndLanguage(class StdString::CStdStr const &,class StdString::CStdStr const &,bool,bool) [00400000+30b680+2e0] 6fd76403: MSVCP90!std::basic_string<char,std::char_traits,std::allocator >::assign [6fd70000+63c3+40] 00590802: void StepMania::ChangeCurrentGame(struct Game const ) [00400000+190550+2b2] 00590826: void StepMania::ChangeCurrentGame(struct Game const ) [00400000+190550+2d6] 71e23c3a: MSVCR90!free [71dc0000+63b4e+ec] 71e23c3a: MSVCR90!free [71dc0000+63b4e+ec] 006e2935: bool NoteSkinManager::DoNoteSkinsExistForGame(struct Game const ) [00400000+2e28c0+75] 00590c69: void SwitchToLastPlayedGame(void) [00400000+190b90+d9] 00593033: main() [00400000+1927f0+843] 71e26430: MSVCR90!realloc [71dc0000+66415+1b] 71e267ab: MSVCR90!realloc [71dc0000+66415+396] 71de36c5: MSVCR90!_set_flsgetvalue [71dc0000+236b6+f] 71de38b3: MSVCR90!initptd [71dc0000+23753+160] 005ae4d4: int GetWin32CmdLine(char * \ &) [00400000+1ae420+b4] 005ae255: WinMain@16() [00400000+1ae240+15] 0079678f: __tmainCRTStartup() [00400000+39664f+140] 77379f45: ntdll!RtlInitializeExceptionChain [77340000+39f0f+36]

Static log: StepMania v5.0 beta 3 Compiled 20140224 @ 15:23:46 Central Standard Time (build 8) Log starting 2014-07-24 04:01:55 Loading window: win32 Windows 6.1 (Win7) build 7601 [Service Pack 1] Memory: 3691mb total, 4095mb swap (4095mb swap avail) Video driver: AMD Radeon HD 6320 Graphics [Advanced Micro Devices, Inc.] 8.930.13.6000, 3-21-2012 [pci\ven_1002&dev_9806&subsys_104c1043] Drive: "ST9500325AS 0003" Driver: amd_sata DMA: N/A Drive: "SlimtypeDVD A DS8A8SH KAA2" Driver: amd_sata DMA: N/A Sound device 0: Speakers (Realtek High Definiti, 6.1, MID 1, PID 100 Language: en Theme: default

Partial log: 00:00.620: ThemePrefs.Init: not loading from disk 00:00.620: GameplayFooter doesn't exist, creating 00:00.620: TimingDisplay doesn't exist, creating 00:00.620: FlashyCombo doesn't exist, creating 00:00.620: AutoSetStyle doesn't exist, creating 00:00.620: ComboOnRolls doesn't exist, creating 00:00.620: LongFail doesn't exist, creating 00:00.620: FancyUIBG doesn't exist, creating 00:00.620: Loading "/Themes/default/Scripts/03 Gameplay.lua" ... 00:00.621: Loading "/Themes/default/Scripts/04 Other.lua" ...

-- End of report

kyzentun commented 10 years ago

Did you modify the default or _fallback metrics.ini at all? That assert is probably from DifficultiesToShow being blank.

nundu48 commented 10 years ago

I added some other themes to the folder, but I didn't touch the _fallback folder at all. What's supposed to show in the blank area? On Jul 24, 2014 4:13 AM, "kyzentun" notifications@github.com wrote:

Did you modify the default or _fallback metrics.ini at all? That assert is probably from DifficultiesToShow being blank.

— Reply to this email directly or view it on GitHub https://github.com/stepmania/stepmania/issues/237#issuecomment-49979204.

nundu48 commented 10 years ago

If it helps I copied the other themes from the 3.9 version that I've had for years.

kyzentun commented 10 years ago

No themes from SM 3.9 will work, ever. Use themes made specifically for SM5.

nundu48 commented 10 years ago

They're all SM5 themes, that's why I upgraded.

kyzentun commented 10 years ago

Oh, I thought you meant you were trying to use a theme made for 3.9. What theme are you trying to use?

kyzentun commented 10 years ago

If it's not the default theme, (and I'm pretty sure it's not because I have default open and running right now on a nightly build), it's not a problem for the stepmania devs, it's a problem for the author of the theme you're trying to use.

Jousway commented 10 years ago

1) if you take a theme directly from 3.9 and put it in the sm5 theme folder it wont work, they are 2 completely different versions and need to be ported to sm5 to make it work

2) if a theme doesn't work with sm5, as in making sm5 crash, its not handy to report it here because we cant do anything about it, its the themer/creator that needs to fix it

nundu48 commented 10 years ago

I was trying to run the new moonlight upgrade for SM5. I just unistalled SM5 and I'm going to reinstall it, and then directly download the the theme into the folder instead of coping it from my older version. I think I might have copied the old default folder from 3.9, and I'm pretty sure that's the problem.

freem commented 10 years ago

yeah you should never touch the default theme :s

as for moonlight, I need to look into if that still works or not on SM5b3

nundu48 commented 10 years ago

....Thanks for stating the obvious. I pulled a noob move, I am well aware you should never touch the default file.