lihaosky / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

iOS Crash in [GCKDeviceManager appDidEnterBackground] #361

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Issue documented on SO: 
https://stackoverflow.com/questions/22678450/please-help-debug-ios-crash-in-gckd
evicemanager-appdidenterbackground

What steps will reproduce the problem?
 - Quickly opening and closing any iOS chromecast app or toggling airplane mode will trigger a crash

Original issue reported on code.google.com by nchourr...@gmail.com on 19 Aug 2014 at 9:19

GoogleCodeExporter commented 9 years ago
Which version of the iOS SDK is this using? 

Original comment by ccherub...@google.com on 26 Aug 2014 at 4:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have the same issue, on iOS 8 beta 5 (did not test iOS7 yet). This is with 
the iOS 2.3.0 SDK.

Thread : Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x00000001945a4c90 objc_msgSend + 16
1  **************                    0x00000001003261bc -[GCKDeviceManager 
appDidEnterBackground] (GCKDeviceManager.m:266)
2  CoreFoundation                 0x0000000184684434 
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
3  CoreFoundation                 0x00000001845c37e0 _CFXNotificationPost + 2060
4  Foundation                     0x000000018551f5c0 -[NSNotificationCenter 
postNotificationName:object:userInfo:] + 72
5  UIKit                          0x0000000188fa157c -[UIApplication 
_handleApplicationDectivationWithScene:shouldForceExit:transitionContext:complet
ion:] + 1132
6  UIKit                          0x0000000188fa9bc0 __88-[UIApplication 
_handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_i
nvoke + 92
7  UIKit                          0x0000000188fa9b48 -[UIApplication 
_handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 380
8  UIKit                          0x0000000188f9d310 -[UIApplication 
scene:didUpdateWithDiff:transitionContext:completion:] + 512
9  FrontBoardServices             0x000000018c7a06ac __31-[FBSSerialQueue 
performAsync:]_block_invoke + 28
10 CoreFoundation                 0x0000000184696360 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 20
11 CoreFoundation                 0x0000000184695468 __CFRunLoopDoBlocks + 312
12 CoreFoundation                 0x0000000184693a8c __CFRunLoopRun + 1756
13 CoreFoundation                 0x00000001845c1664 CFRunLoopRunSpecific + 396
14 GraphicsServices               0x000000018d5af5a4 GSEventRunModal + 168
15 UIKit                          0x0000000188d7a164 UIApplicationMain + 1488
16  **************                   0x0000000100050178 main (main.m:16)
17 libdyld.dylib                  0x0000000194c0aa08 start + 4

Original comment by s...@stefkampen.nl on 29 Aug 2014 at 9:45

GoogleCodeExporter commented 9 years ago
Thanks for the report, we have a fix for this issue, and will include it in the 
next version of the library. 

Original comment by ianbar...@google.com on 3 Sep 2014 at 7:47

GoogleCodeExporter commented 9 years ago
When are you going to release the next version of the library?

Original comment by ma...@swingdev.io on 9 Sep 2014 at 7:36

GoogleCodeExporter commented 9 years ago
The next version is available now! 
https://developers.google.com/cast/docs/downloads

Original comment by ianbar...@google.com on 25 Sep 2014 at 3:57

GoogleCodeExporter commented 9 years ago

Original comment by anad...@google.com on 25 Sep 2014 at 2:50

GoogleCodeExporter commented 9 years ago
we are having similar issues with the 2.4 iOS SDK and iOS 8 
here is the crash log :

Thread 0 Crashed:
0   libobjc.A.dylib                      0x32e87f46 objc_msgSend + 6
1   maxdome                              0x00220581 -[GCKDeviceManager 
appDidEnterBackground] (GCKDeviceManager.m:296)
2   CoreFoundation                       0x2565c281 
__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 10
3   CoreFoundation                       0x255b852d _CFXNotificationPost + 1782
4   Foundation                           0x262e8189 -[NSNotificationCenter 
postNotificationName:object:userInfo:] + 70
5   UIKit                                0x28dc7641 -[UIApplication 
_handleApplicationDectivationWithScene:shouldForceExit:transitionContext:complet
ion:] + 978
6   UIKit                                0x28dce821 __88-[UIApplication 
_handleApplicationLifecycleEventWithScene:transitionContext:completion:]_block_i
nvoke + 74
7   UIKit                                0x28dce7cd -[UIApplication 
_handleApplicationLifecycleEventWithScene:transitionContext:completion:] + 358
8   UIKit                                0x28dc3ab3 -[UIApplication 
scene:didUpdateWithDiff:transitionContext:completion:] + 476
9   FrontBoardServices                   0x2bde11f9 __80-[FBSSceneImpl 
updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2
 + 38
10  FrontBoardServices                   0x2bdf00e9 __31-[FBSSerialQueue 
performAsync:]_block_invoke + 10
11  CoreFoundation                       0x2566a39d 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 10
12  CoreFoundation                       0x25669661 __CFRunLoopDoBlocks + 214
13  CoreFoundation                       0x2566819b __CFRunLoopRun + 1712
14  CoreFoundation                       0x255b6211 CFRunLoopRunSpecific + 474
15  CoreFoundation                       0x255b6023 CFRunLoopRunInMode + 104
16  GraphicsServices                     0x2c96f0a9 GSEventRunModal + 134
17  UIKit                                0x28bc21d1 UIApplicationMain + 1438
18  maxdome                              0x000e5e6f main (main.m:15)
19  libdyld.dylib                        0x333fbaaf start + 0

i hope it's okay that i post this here. if i should create a new issue just let 
me know. 

Original comment by matthias...@prosiebensat1.com on 20 Nov 2014 at 9:17