我遇到了 rubygame 和 OSX 的启动时崩溃问题。
有谁知道可能是什么原因造成的,以及如何解决?
版本:OSX 10.5.7,ruby 1.8.7(2009-06-12 补丁级别 174)[i686-darwin9],从 rubygem 安装的 rubygame 2.5.3,大多数软件安装 MacPorts(最新)。
不同版本的 ruby 和 rubygame 似乎有相同的问题。谷歌搜索没有帮助。Pygame 在同一台机器上工作,所以 SDL 应该没问题。有任何想法吗?这是堆栈跟踪。
$ ruby -e '需要“红宝石”;需要“rubygame”;Rubygame.init' 2009-07-30 18:13:20.416 ruby[66473:10b] * _NSAutoreleaseNoPool(): Object 0x116ebb0 of class NSCFNumber autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c309 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.418 ruby[66473:10b]_NSAutoreleaseNoPool(): Object 0x116f030 of class NSCFNumber autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c341 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.418 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x116f6e0 of class NSCFNumber autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c37b 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.419 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x116f340 of class NSCFDictionary autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c3de 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.420 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05ceb84 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.421 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x116fa90 of class NSCFNumber autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x95967b6a 0x9493c48d 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07- 30 18:13:20.422 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05ceb94 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.423 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x116f6f0 of class NSCFNumber autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x95967b6a 0x9493c48d 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07- 30 18:13:20.423 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05ceba4 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.424 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x116aac0 of class NSCFNumber autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x95967b6a 0x9493c48d 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07- 30 18:13:20.425 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05cebb4 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.426 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x116aac0 of class NSCFNumber autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x95967b6a 0x9493c48d 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07- 30 18:13:20.427 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05ceba4 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.428 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05cebb4 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.428 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05ceba4 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.429 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05cebb4 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.430 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05ceba4 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.430 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05ceba4 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.431 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa05ceba4 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c444 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.432 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x115bce0 of class NSCFNumber autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9493c55d 0x95e818b8 0x95e80239 0x95e906d6 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.434 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x11703f0 of class __NSFontTypefaceInfo autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9495240e 0x94952280 0x94951b27 0x94999773 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.435 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x1171450 of class NSAffineTransform autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x94952916 0x95e818b8 0x95e80239 0x95e906d6 0x94951d3a 0x94999773 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07 -30 18:13:20.436 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x1171900 of class NSFont autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x94952842 0x94951d3a 0x94999773 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18 :13:20.436 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x1171a40 of class NSFont autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x94951e07 0x94999773 0x94998753 0x94996959 0x9499669e 0x9499604d 0x94995b8c 0x94993b88 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18: 13:20.438 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x11726b0 of class NSCFArray autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9499f9fa 0x9499f91b 0x9499f85b 0x9499f648 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.439红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x11735f0 of class NSCFSet autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x90135eb0 0x9499fb66 0x9499f91b 0x9499f85b 0x9499f648 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13: 20.440 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x11737d0 of class NSCFArray autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9013601f 0x9499fb66 0x9499f91b 0x9499f85b 0x9499f648 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13: 20.441 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x11738b0 of class NSCFArray autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x90135118 0x9499f961 0x9499f85b 0x9499f648 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.441红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x1171a40 of class NSFont autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x94951a41 0x9499f882 0x9499f648 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.443 ruby [66473:10b]_NSAutoreleaseNoPool(): Object 0xa001ce20 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x95983c08 0x94965d1c 0x949a0b2d 0x949a056e 0x949a03e6 0x949a0317 0x949a01b7 0x9499f8a7 0x9499f648 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.444 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0xa00159a0 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x95983c08 0x94965d1c 0x949a0c36 0x949a0590 0x949a03e6 0x949a0317 0x949a01b7 0x9499f8a7 0x9499f648 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13:20.444 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x114c300 of class NSCFNumber autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x949a0670 0x949a03e6 0x949a0317 0x949a01b7 0x9499f8a7 0x9499f648 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13 :20.445 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x1175390 of class NSCalibratedWhiteColor autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x94aafba3 0x94aafaa3 0x94aaf17b 0x94aaed97 0x949a0294 0x9499f8a7 0x9499f648 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18: 13:20.446 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x1175630 of class NSCFArray autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9499f9fa 0x94ab2773 0x94ab255b 0x94ab0f6a 0x94ab0d1d 0x9499f661 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18:13 :20.447 红宝石[66473:10b]_NSAutoreleaseNoPool(): Object 0x11756f0 of class NSCFSet autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x90135eb0 0x9499fb66 0x94ab2773 0x94ab255b 0x94ab0f6a 0x94ab0d1d 0x9499f661 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18: 13:20.447 红宝石[66473:10b] *_NSAutoreleaseNoPool(): Object 0x1175650 of class NSCFArray autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9013601f 0x9499fb66 0x94ab2773 0x94ab255b 0x94ab0f6a 0x94ab0d1d 0x9499f661 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a) 2009-07-30 18: 13:20.448 ruby[66473:10b] *** _NSAutoreleaseNoPool(): Object 0x1175b20 of class NSCFDictionary autoreleased with no pool in place - just leaking Stack: (0x95a58f0f 0x95965442 0x9013c27e 0x94ab5606 0x94ab53fd 0x94ab0d92 0x9499f661 0x94993bee 0x6546a6 0x64a65b 0x61e670 0x61e6a7 0xa2e89 0x10b972 0x10c57c 0x109eb7 0x119d27 0x119d66 0x119d9a)