Forums » StepMania Releases » StepMania Crashes under OS X 10.10

Hi, all. So I decided to try out the OS X 10.10 Yosemite beta, and it looks like StepMania 5 beta 3 (and StepMania 4 alpha 5) crash on startup:

StepMania v5.0 beta 3 crash report (build 35, Mon Feb 24 15:07:47 EST 2014 @ )
--------------------------------------

Architecture: Mac OS X (i386)
Crash reason: Segmentation fault - address not mapped at 0x00000004
Crashed thread: Main thread

Checkpoints:
Thread: GUI thread
Thread: Main thread
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:245
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:20
Thread: Decode thread

Thread: Main thread
9aa786b6: CFRunLoopAddObserver (CoreFoundation)
00453966: RageSoundDriver_AU::Init()
00464a90: RageSoundDriver::Create(StdString::CStdStr<char> const&)
00017e9b: RageSoundManager::Init()
000c5c83: SM_main
0044069b: std::_Rb_tree<LocalizedString*, LocalizedString*, std::_Identity<LocalizedString*>, std::less<LocalizedString*>, std::allocator<LocalizedString*> >::_M_insert_unique(LocalizedString* const&)

Static log:
StepMania v5.0 beta 3
Compiled Mon Feb 24 15:07:47 EST 2014 @ (build 35)
Log starting 2014-07-25 01:57:46
Loading window: macosx
Model: MacBookPro8,3 (8/8)
Clock speed 2.30 GHz
Mac OS X 10.10
Memory: 8.00 GB
Language: en
Theme: default

Partial log:
00:00.742: IniFile.ReadFile( Save/ThemePrefs.ini )
00:00.742: ThemePrefs.Init: not loading from disk
00:00.742: GameplayFooter doesn't exist, creating
00:00.742: FlashyCombo doesn't exist, creating
00:00.742: ComboOnRolls doesn't exist, creating
00:00.742: LongFail doesn't exist, creating
00:00.742: FancyUIBG doesn't exist, creating
00:00.742: Loading "/Themes/default/Scripts/03 Gameplay.lua" ...
00:00.742: Loading "/Themes/default/Scripts/04 Other.lua" ...
00:00.777: Starting thread: Decode thread

-- End of report

(Sorry to submit this here and not as a bug report proper, but I didn't see where to add a new issue on that site.) Beta OS is beta, but I wanted to call it out. :)
Reply
I am also experiencing the same problem.

StepMania v5.0 beta 3 crash report (build 35, Mon Feb 24 15:07:47 EST 2014 @ )

--------------------------------------

Architecture: Mac OS X (i386)
Crash reason: Segmentation fault - address not mapped at 0x00000004
Crashed thread: Main thread

Checkpoints:
Thread: GUI thread
Thread: Main thread
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:245
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:20
Thread: Decode thread

Thread: Main thread
9747a6b6: CFRunLoopAddObserver (CoreFoundation)
00453966: RageSoundDriver_AU::Init()
00464a90: RageSoundDriver::Create(StdString::CStdStr<char> const&)
00017e9b: RageSoundManager::Init()
000c5c83: SM_main
0044069b: std::_Rb_tree<LocalizedString*, LocalizedString*, std::_Identity<LocalizedString*>, std::less<LocalizedString*>, std::allocator<LocalizedString*> >::_M_insert_unique(LocalizedString* const&)

Static log:
StepMania v5.0 beta 3
Compiled Mon Feb 24 15:07:47 EST 2014 @ (build 35)
Log starting 2014-07-26 00:05:55
Loading window: macosx
Model: MacBookAir6,1 (4/4)
Clock speed 1.30 GHz
Mac OS X 10.10
Memory: 4.00 GB
Language: en
Theme: default

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

-- End of report
Reply
Crashing for me as well.

StepMania v5.0 beta 3 crash report (build 35, Mon Feb 24 15:07:47 EST 2014 @ )
--------------------------------------

Architecture: Mac OS X (i386)
Crash reason: Segmentation fault - address not mapped at 0x00000004
Crashed thread: Main thread

Checkpoints:
Thread: GUI thread
Thread: Main thread
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:245
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:20
Thread: Decode thread

Thread: Main thread
9a30f6b6: CFRunLoopAddObserver (CoreFoundation)
00453966: RageSoundDriver_AU::Init()
00464a90: RageSoundDriver::Create(StdString::CStdStr<char> const&)
00017e9b: RageSoundManager::Init()
000c5c83: SM_main
0044069b: std::_Rb_tree<LocalizedString*, LocalizedString*, std::_Identity<LocalizedString*>, std::less<LocalizedString*>, std::allocator<LocalizedString*> >::_M_insert_unique(LocalizedString* const&)
00006b3b: RageDisplay::FindPixelFormat(int, unsigned int, unsigned int, unsigned int, unsigned int, bool)

Static log:
StepMania v5.0 beta 3
Compiled Mon Feb 24 15:07:47 EST 2014 @ (build 35)
Log starting 2014-08-15 16:41:28
Loading window: macosx
Model: iMac11,1 (8/8)
Clock speed 2.67 GHz
Mac OS X 10.10
Memory: 6.00 GB
Language: en
Theme: default

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

-- End of report
Reply
Can someone running 10.10 try this version of StepMania 5: http://www.mediafire.com/download/u5ru56jbu7gba9r/StepMania-v5.0-beta-3-mac--Aug-11-2014.dmg

It's a newer build of SM5 and was built using Xcode 5 instead of 4. I don't expect it to work with 10.10, but you never know...
Reply
Still crashing with the Xcode 5 build. I don't know anything about the SM codebase, but maybe RageSoundDriver could use an update?

StepMania v5.0 beta 3 crash report (build 83, Mon Aug 11 15:25:30 EDT 2014 @ )

--------------------------------------

Architecture: Mac OS X (i386)
Crash reason: Segmentation fault - address not mapped at 0x00000004
Crashed thread: Main thread

Checkpoints:
Thread: GUI thread
Thread: Main thread
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:245
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:20
RageSurface_Load_PNG.cpp:20
Thread: Decode thread

Thread: Main thread
95a6ba56: CFRunLoopAddObserver (CoreFoundation)
004896be: RageSoundDriver_AU::Init()
0049b3a1: RageSoundDriver::Create(StdString::CStdStr<char> const&)
0001907f: RageSoundManager::Init()
000d5b6b: SM_main
0047624b: -[SMMain startGame:]
0000700b: RageDisplay::PreMultMatrix(RageMatrix const&)

Static log:
StepMania v5.0 beta 3
Compiled Mon Aug 11 15:25:30 EDT 2014 @ (build 83)
Log starting 2014-08-16 14:37:57
Loading window: macosx
Model: MacBookPro6,2 (4/4)
Clock speed 2.40 GHz
Mac OS X 10.10
Memory: 8.00 GB
WARNING: ReadFile(Save/ThemePrefs.ini): No such file or directory
Language: fi
Theme: default

Partial log:
00:00.462: FlashyCombo doesn't exist, creating
00:00.462: AutoSetStyle doesn't exist, creating
00:00.462: ComboOnRolls doesn't exist, creating
00:00.462: LongFail doesn't exist, creating
00:00.462: GameplayShowStepsDisplay doesn't exist, creating
00:00.462: FancyUIBG doesn't exist, creating
00:00.462: ComboUnderField doesn't exist, creating
00:00.462: Loading "/Themes/default/Scripts/03 Gameplay.lua" ...
00:00.462: Loading "/Themes/default/Scripts/04 Other.lua" ...
00:00.659: Starting thread: Decode thread

-- End of report
Reply
Like I said, I didn't expect building with Xcode 5 to have magically fixed anything. There is a partially implemented pull request on GitHub that might fix this, but it's just that: partially implemented. If is anyone reading this is familiar with low level OS X programming, speak now or there may not be support for 10.10 for a while.
Reply
Hi there. I tried to build SM5-beta3 for 10.10, but got stuck with 2 compiler errors:
stepmania-SM5-beta3/src/arch/InputHandler/InputHandler_MacOSX_HID.cpp:416:70: Use of undeclared identifier 'smScriptKeys'
and
stepmania-SM5-beta3/src/arch/InputHandler/InputHandler_MacOSX_HID.cpp:469:11: Use of undeclared identifier 'KeyTranslate'
Unfortunately, my C++ knowledge is too basic and isn't enough to fix them.
Reply
So according to Github, the issue has finally been fixed.

Would anyone be willing to compile a Yosemite-compatible build?
Reply