StarRubyをひさびさにビルドします

id:hajimehoshi さんより「なおった!」と教えていただいたので張り切ってビルド。環境はOSX10.6.4(32bit)。
で、へんな実行エラーがたくさんでた・・・わたしのMacのビルド環境壊れた?
環境立て直さないとだめかも・・・

ソース取得してextconf.rb

$ git clone git://github.com/hajimehoshi/starruby.git
$ mv starruby starruby-0.4.0-src
$ cd starruby-0.4.0-src
$ ruby extconf.rb 
checking for png.h... yes
checking for zlib.h... yes
checking for Mix_OpenAudio() in -lSDL_mixer... yes
checking for TTF_Init() in -lSDL_ttf... yes
checking for fontconfig/fontconfig.h... yes
checking for FcInit() in -lfontconfig... yes
checking for main() in -lGL... no

makeの実行

$ make
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -DHAVE_PNG_H -DHAVE_ZLIB_H -DHAVE_FONTCONFIG_FONTCONFIG_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-common  -I/opt/local/include/libpng12 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include   -finline-functions -Wall -W -Wpointer-arith -Wunused-parameter -pedantic -std=c99 -funit-at-a-time -arch i386 -c ./src/audio.c
./src/audio.c: In function ‘Audio_bgm_position’:
./src/audio.c:22: warning: unused parameter ‘self’
./src/audio.c: In function ‘Audio_bgm_volume’:
./src/audio.c:35: warning: unused parameter ‘self’
./src/audio.c: In function ‘Audio_bgm_volume_eq’:
./src/audio.c:41: warning: unused parameter ‘self’
./src/audio.c: In function ‘Audio_play_se’:
./src/audio.c:111: warning: unused parameter ‘self’
./src/audio.c: In function ‘Audio_playing_bgm’:
./src/audio.c:181: warning: unused parameter ‘self’
./src/audio.c: In function ‘Audio_playing_se_count’:
./src/audio.c:189: warning: unused parameter ‘self’
./src/audio.c: In function ‘Audio_stop_all_ses’:
./src/audio.c:198: warning: unused parameter ‘self’
./src/audio.c: In function ‘Audio_stop_bgm’:
./src/audio.c:224: warning: unused parameter ‘self’
./src/audio.c: In function ‘FreeChunkCacheItem’:
./src/audio.c:315: warning: unused parameter ‘rbKey’
./src/audio.c: In function ‘FreeMusicCacheItem’:
./src/audio.c:325: warning: unused parameter ‘rbKey’
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -DHAVE_PNG_H -DHAVE_ZLIB_H -DHAVE_FONTCONFIG_FONTCONFIG_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-common  -I/opt/local/include/libpng12 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include   -finline-functions -Wall -W -Wpointer-arith -Wunused-parameter -pedantic -std=c99 -funit-at-a-time -arch i386 -c ./src/color.c
./src/color.c: In function ‘Color_free’:
./src/color.c:70: warning: unused parameter ‘color’
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -DHAVE_PNG_H -DHAVE_ZLIB_H -DHAVE_FONTCONFIG_FONTCONFIG_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-common  -I/opt/local/include/libpng12 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include   -finline-functions -Wall -W -Wpointer-arith -Wunused-parameter -pedantic -std=c99 -funit-at-a-time -arch i386 -c ./src/font.c
./src/font.c: In function ‘Font_s_exist’:
./src/font.c:126: warning: unused parameter ‘self’
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -DHAVE_PNG_H -DHAVE_ZLIB_H -DHAVE_FONTCONFIG_FONTCONFIG_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-common  -I/opt/local/include/libpng12 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include   -finline-functions -Wall -W -Wpointer-arith -Wunused-parameter -pedantic -std=c99 -funit-at-a-time -arch i386 -c ./src/game.c
./src/game.c: In function ‘Game_s_ticks’:
./src/game.c:156: warning: unused parameter ‘self’
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -DHAVE_PNG_H -DHAVE_ZLIB_H -DHAVE_FONTCONFIG_FONTCONFIG_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-common  -I/opt/local/include/libpng12 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include   -finline-functions -Wall -W -Wpointer-arith -Wunused-parameter -pedantic -std=c99 -funit-at-a-time -arch i386 -c ./src/input.c
./src/input.c: In function ‘Input_gamepad_count’:
./src/input.c:47: warning: unused parameter ‘self’
./src/input.c: In function ‘Input_keys’:
./src/input.c:115: warning: unused parameter ‘self’
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -DHAVE_PNG_H -DHAVE_ZLIB_H -DHAVE_FONTCONFIG_FONTCONFIG_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-common  -I/opt/local/include/libpng12 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include   -finline-functions -Wall -W -Wpointer-arith -Wunused-parameter -pedantic -std=c99 -funit-at-a-time -arch i386 -c ./src/starruby.c
./src/starruby.c: In function ‘FinalizeStarRuby’:
./src/starruby.c:43: warning: unused parameter ‘unused’
/usr/bin/gcc-4.2 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin10 -I. -DHAVE_PNG_H -DHAVE_ZLIB_H -DHAVE_FONTCONFIG_FONTCONFIG_H -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE  -I/opt/local/include -fno-common -O2 -arch i386  -fno-common -pipe -fno-common  -I/opt/local/include/libpng12 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/opt/local/include   -finline-functions -Wall -W -Wpointer-arith -Wunused-parameter -pedantic -std=c99 -funit-at-a-time -arch i386 -c ./src/texture.c
/usr/bin/gcc-4.2 -dynamic -bundle -undefined suppress -flat_namespace -o starruby.bundle audio.o color.o font.o game.o input.o starruby.o texture.o -L. -L/opt/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries -L. -L/opt/local/lib -L/opt/local/lib -lpng12  -arch i386 -lpng12 -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -L/opt/local/lib -lfontconfig -lexpat -lfreetype -lz -liconv   -lruby -lGL -lfontconfig -lSDL_ttf -lSDL_mixer  -lpthread -ldl -lobjc  
ld: warning: duplicate dylib /opt/local/lib/libz.1.dylib

installの実行

$ sudo make install
/usr/bin/install -c -m 0755 starruby.bundle /opt/local/lib/ruby/site_ruby/1.8/i686-darwin10

テストスクリプト

require 'starruby'
include StarRuby

FONT = Font.new("Osaka", 48)
FORECOLOR = Color.new(255, 255, 255, 127)

Game.run(320, 120, :title => "A", :cursor => true) do |game|
  game.screen.clear
  game.screen.render_text("B", 10, 10, FONT, FORECOLOR)
end

実行するとエラーがいっぱい

$ /opt/local/bin/ruby test.rb 2>log.txt
Trace/BPT trap
$ cat log.txt
2010-09-01 10:33:47.408 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x650720 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.412 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x650c90 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.412 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6906060 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.413 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x650e10 of class NSCFDictionary autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.414 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1eed0ec of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.415 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x64c0f0 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.415 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2c1c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.416 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x64c080 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.416 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.417 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x654350 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.418 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2f8c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.418 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x654350 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.419 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.420 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2f8c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.420 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.421 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2f8c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.421 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.422 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.423 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ef2c8c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.423 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x634150 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.427 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x656150 of class __NSFontTypefaceInfo autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.428 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6912090 of class NSAffineTransform autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.429 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x69133a0 of class NSFont autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.430 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6913110 of class NSFont autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.438 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6571a0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.439 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x657890 of class NSCFArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.439 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x657970 of class NSCFSet autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.440 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x657a00 of class NSCFArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.441 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x657ab0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.441 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6915a70 of class NSCFSet autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.442 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x150ef28 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.442 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1514e18 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.443 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1515d68 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.444 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6914e50 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.444 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x69150b0 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.445 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1514708 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.446 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1510038 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.446 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1510a08 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.447 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x15154c8 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.448 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1514988 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.448 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x657210 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.449 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x150e6b8 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.450 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6915200 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.450 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x657ba0 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.451 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6915070 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.452 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6913110 of class NSFont autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.453 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x15159b8 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.454 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x150e9d8 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.455 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x633170 of class NSCFNumber autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.456 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6916150 of class NSCalibratedWhiteColor autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.457 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x69169e0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.458 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x658ec0 of class NSCFDictionary autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.473 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x660170 of class NSMutableParagraphStyle autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.474 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x69000d0 of class NSCFDictionary autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.475 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6608b0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.476 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6917a60 of class __NSFontTypefaceInfo autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.477 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6917d30 of class NSFont autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.478 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x660900 of class NSFont autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.479 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ee732c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.480 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6916b70 of class _NSThemeCloseWidget autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.481 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x660b80 of class NSCFArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.481 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x660900 of class NSFont autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.482 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ee732c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.483 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6609b0 of class _NSThemeWidget autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.484 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x660970 of class NSCFArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.485 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x660900 of class NSFont autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.485 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x1ee732c of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.486 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x660e30 of class _NSThemeWidget autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.487 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x65dea0 of class NSCFArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.488 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x660ef0 of class NSTrackingArea autoreleased with no pool in place - just leaking
Wed Sep  1 10:33:47 saitou-daisuke-no-MacBook.local ruby[44856] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
Wed Sep  1 10:33:47 saitou-daisuke-no-MacBook.local ruby[44856] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
2010-09-01 10:33:47.490 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6917e30 of class NSTrackingArea autoreleased with no pool in place - just leaking
Wed Sep  1 10:33:47 saitou-daisuke-no-MacBook.local ruby[44856] <Error>: kCGErrorInvalidConnection: CGSGetCurrentCursorLocation: Invalid connection
Wed Sep  1 10:33:47 saitou-daisuke-no-MacBook.local ruby[44856] <Error>: kCGErrorInvalidConnection: CGSNewWindowWithOpaqueShape: Invalid connection
2010-09-01 10:33:47.490 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x69185f0 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.491 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6918a10 of class NSException autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.491 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6918b40 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.491 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6919440 of class _NSCallStackArray autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.491 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x6918c60 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.494 ruby[44856:903] *** __NSAutoreleaseNoPool(): Object 0x866c00 of class NSCFString autoreleased with no pool in place - just leaking
2010-09-01 10:33:47.494 ruby[44856:903] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x0145dbba __raiseError + 410
	1   libobjc.A.dylib                     0x00320509 objc_exception_throw + 56
	2   CoreFoundation                      0x0145d8e8 +[NSException raise:format:arguments:] + 136
	3   CoreFoundation                      0x0145d85a +[NSException raise:format:] + 58
	4   AppKit                              0x01694c9a _NSCreateWindowWithOpaqueShape2 + 519
	5   AppKit                              0x01619bbe -[NSWindow _commonAwake] + 1624
	6   AppKit                              0x01616886 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 1524
	7   AppKit                              0x016154d9 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1568
	8   AppKit                              0x01614eb3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 71
	9   libSDL-1.2.0.dylib                  0x005b37df -[SDL_QuartzWindow initWithContentRect:styleMask:backing:defer:] + 335
	10  libSDL-1.2.0.dylib                  0x005b088b QZ_SetVideoMode + 1163
	11  libSDL-1.2.0.dylib                  0x005a6761 SDL_SetVideoMode + 545
	12  starruby.bundle                     0x0053ebf9 InitializeScreen + 233
	13  starruby.bundle                     0x0053ff9d Game_initialize + 669
	14  libruby.dylib                       0x0001dd35 call_cfunc + 581
	15  libruby.dylib                       0x0002a246 rb_call0 + 3334
	16  libruby.dylib                       0x0002a503 rb_call + 147
	17  libruby.dylib                       0x0002a822 rb_obj_call_init + 82
	18  libruby.dylib                       0x0005777a rb_class_new_instance + 42
	19  libruby.dylib                       0x0001dd35 call_cfunc + 581
	20  libruby.dylib                       0x0002a246 rb_call0 + 3334
	21  libruby.dylib                       0x0002a503 rb_call + 147
	22  starruby.bundle                     0x0053f168 Game_s_run + 56
	23  libruby.dylib                       0x0001dd35 call_cfunc + 581
	24  libruby.dylib                       0x0002a246 rb_call0 + 3334
	25  libruby.dylib                       0x0002a503 rb_call + 147
	26  libruby.dylib                       0x00023f0b rb_eval + 1691
	27  libruby.dylib                       0x0002733a rb_eval + 15050
	28  libruby.dylib                       0x00036627 ruby_exec_internal + 151
	29  libruby.dylib                       0x00036666 ruby_exec + 22
	30  libruby.dylib                       0x0003669a ruby_run + 42
	31  ruby                                0x00001f4d main + 45
	32  ruby                                0x00001f15 start + 53
)