4 Replies Latest reply: Nov 7, 2013 8:02 AM by Jay.SnakeheadGames RSS

    GameCenter iOS 7 Crash

    Ollie Edge Community Member

      Hey Everyone,

       

      I've been trying to get to the bottom of this for sometime now, it seems that the GameCenter ANEs, both MilkManGames and Adobe Gaming SDK ones have problems with loading achievements. By which I mean when you go to update an achievement a second or so after the responce the app crashes. These are the only parts of the extensions that I've tested which crash. When reloading the app after a crash, I can see that the achievement in question has been unlocked.

       

      The XCode logs are below but to me it really is meaningless - the error line is just something in the CoreFoundation.

       

      If anyone has had similiar problems or knows anything about this please do shed some light on it for me, this is the 5th and hopefully the last major problem I've experienced with iOS 7.

       

       

      Incident Identifier: E97AF462-2E9E-418C-B792-A57EBF4BDA0E
      CrashReporter Key:   bc15286a22432a96da64f585348a05a73a980270
      Hardware Model:      iPad3,4
      Process:             AudioBrush [621]
      Path:                /var/mobile/Applications/62240AD6-4926-4711-8BEE-7D5E4B600D1E/AudioBrush.app/AudioBrush
      Identifier:          com.edgington.audiobrush
      Version:             1.0.35 (1.0.35)
      Code Type:           ARM (Native)
      Parent Process:      launchd [1]
      
      Date/Time:           2013-10-14 01:10:57.224 +0100
      OS Version:          iOS 7.0.2 (11A501)
      Report Version:      104
      
      Exception Type:  EXC_CRASH (SIGABRT)
      Exception Codes: 0x0000000000000000, 0x0000000000000000
      Triggered by Thread:  0
      
      Last Exception Backtrace:
      0   CoreFoundation                          0x2df3de86 __exceptionPreprocess + 126
      1   libobjc.A.dylib                         0x385856c2 objc_exception_throw + 34
      2   CoreFoundation                          0x2de78850 -[__NSArrayM replaceObjectAtIndex:withObject:] + 352
      3   AudioBrush                              0x005c7416 0x12000 + 5985302
      4   GameCenterFoundation                    0x2eaa7158 __103+[GKAchievement loadAchievementsForGame:players:includeUnreported:includeHidden:withCompletionHandler:]_block_invoke_3 + 228
      5   CoreFoundation                          0x2de868ce __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 46
      6   CoreFoundation                          0x2de802e8 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 216
      7   GameCenterFoundation                    0x2eaa7052 __103+[GKAchievement loadAchievementsForGame:players:includeUnreported:includeHidden:withCompletionHandler:]_block_invoke_2 + 102
      8   CoreFoundation                          0x2df413d0 __invoking___ + 64
      9   CoreFoundation                          0x2de8b792 -[NSInvocation invoke] + 282
      10  GameCenterFoundation                    0x2eaa45b8 -[NSInvocation(GKProxyHelpers) _gkInvokeOnce] + 20
      11  GameCenterFoundation                    0x2ead1080 __53-[GKDaemonProxy connection:handleInvocation:isReply:]_block_invoke + 20
      12  libdispatch.dylib                       0x38a6a0fe _dispatch_call_block_and_release + 6
      13  libdispatch.dylib                       0x38a6a0ea _dispatch_client_callout + 18
      14  libdispatch.dylib                       0x38a6c9a4 _dispatch_main_queue_callback_4CF + 264
      15  CoreFoundation                          0x2df085b4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 4
      16  CoreFoundation                          0x2df06e80 __CFRunLoopRun + 1304
      17  CoreFoundation                          0x2de7153c CFRunLoopRunSpecific + 520
      18  CoreFoundation                          0x2de7131e CFRunLoopRunInMode + 102
      19  GraphicsServices                        0x32b752e6 GSEventRunModal + 134
      20  UIKit                                   0x307281e0 UIApplicationMain + 1132
      21  AudioBrush                              0x0011bcb0 0x12000 + 1088688
      22  AudioBrush                              0x005a4400 0x12000 + 5841920
      
      
      Thread 0 Crashed:
      0   libsystem_kernel.dylib                  0x38b351fc __pthread_kill + 8
      1   libsystem_pthread.dylib                 0x38b9ca4e pthread_kill + 54
      2   libsystem_c.dylib                       0x38ae6028 abort + 72
      3   libc++abi.dylib                         0x37f3498a abort_message + 70
      4   libc++abi.dylib                         0x37f4d6e2 default_terminate_handler() + 250
      5   libobjc.A.dylib                         0x38585936 _objc_terminate() + 190
      6   libc++abi.dylib                         0x37f4b1b0 std::__terminate(void (*)()) + 76
      7   libc++abi.dylib                         0x37f4aa04 __cxa_throw + 112
      8   libobjc.A.dylib                         0x38585796 objc_exception_throw + 246
      9   CoreFoundation                          0x2de78850 -[__NSArrayM replaceObjectAtIndex:withObject:] + 352
      10  AudioBrush                              0x005c7416 0x12000 + 5985302
      11  GameCenterFoundation                    0x2eaa7158 __103+[GKAchievement loadAchievementsForGame:players:includeUnreported:includeHidden:withCompletionHandler:]_block_invoke_3 + 228
      12  CoreFoundation                          0x2de868d0 __53-[__NSArrayI enumerateObjectsWithOptions:usingBlock:]_block_invoke + 48
      13  CoreFoundation                          0x2de802ea -[__NSArrayI enumerateObjectsWithOptions:usingBlock:] + 218
      14  GameCenterFoundation                    0x2eaa7052 __103+[GKAchievement loadAchievementsForGame:players:includeUnreported:includeHidden:withCompletionHandler:]_block_invoke_2 + 102
      15  CoreFoundation                          0x2df413d0 __invoking___ + 64
      16  CoreFoundation                          0x2de8b792 -[NSInvocation invoke] + 282
      17  GameCenterFoundation                    0x2eaa45b8 -[NSInvocation(GKProxyHelpers) _gkInvokeOnce] + 20
      18  GameCenterFoundation                    0x2ead1080 __53-[GKDaemonProxy connection:handleInvocation:isReply:]_block_invoke + 20
      19  libdispatch.dylib                       0x38a6a100 _dispatch_call_block_and_release + 8
      20  libdispatch.dylib                       0x38a6a0ec _dispatch_client_callout + 20
      21  libdispatch.dylib                       0x38a6c9a4 _dispatch_main_queue_callback_4CF + 264
      22  CoreFoundation                          0x2df085b4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 4
      23  CoreFoundation                          0x2df06e80 __CFRunLoopRun + 1304
      24  CoreFoundation                          0x2de7153c CFRunLoopRunSpecific + 520
      25  CoreFoundation                          0x2de7131e CFRunLoopRunInMode + 102
      26  GraphicsServices                        0x32b752e6 GSEventRunModal + 134
      27  UIKit                                   0x307281e0 UIApplicationMain + 1132
      28  AudioBrush                              0x0011bcb0 0x12000 + 1088688
      29  AudioBrush                              0x005a4400 0x12000 + 5841920
      
      

       

       

      Cheers,

      Ollie.

        • 1. Re: GameCenter iOS 7 Crash
          ideas.t Community Member

          Unfortunately, I don't have any insight -- but I can confirm that I'm getting the same issue with GameCenter ANE from MilkMan Games, but it's only with iOS7, and it also does not seem to crash when using GameCenter sandbox.  Disabling GameCenter fixes the issue.

          • 2. Re: GameCenter iOS 7 Crash
            MilkmanGames Community Member

            Milkman Games released updates prior to iOS 7 for these extensions - it sounds like you might be a version behind.  All customers receive free updates, if you're not sure you're on the latest please feel free to email us at support at milkmangames dot com .

            • 3. Re: GameCenter iOS 7 Crash
              Jay.SnakeheadGames Community Member

              Hey MMG,

               

              I can confirm, even with the newest version of the ANE, that we are still having issues regarding reporting achievements in iOS 7. Specifically, when we send incremental achievement reports (either single or bulk), the app hard crashes. I can confirm with 100% certainty that this is the issue because when I run the same code, but without sending any achievement increment reports, no crash occurs. I suspect the same thing happens when sending regular achievements as well.

               

              If I can be of any assistance to resolve this issue, please let me know.

              • 4. Re: GameCenter iOS 7 Crash
                Jay.SnakeheadGames Community Member

                Hey guys,

                 

                Thanks to MMG for this info. It appears that there is an issue with MMG's GoViral ANE prior to version 3.0.7 that could cause Game Center to crash on iOS 7. If you update to the 3.0.7 ANE for GoViral, and the 2.0.1 update of Game Center, I can confirm on iOS 7.0.2 that Game Center no longer crashes.