wavefree / google-cast-sdk

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

[GCKFramework 1.0.5] Crash when endSession EXC_BAD_ACCESS #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run latest https://github.com/googlecast/cast-ios-demo-player.git with 
GCKFramework 1.0.5
2. Cast a movie for a while then click endSession
3. Crash

What is the expected output? What do you see instead?
Session ended without error.

What version of the product are you using? On what operating system?
Xcode 4.6, OS X 10.8.5, GCKFramework 1.0.5

Please provide any additional information below.

* thread #1: tid = 0x1c03, 0x0114d09b libobjc.A.dylib`objc_msgSend + 15, stop 
reason = EXC_BAD_ACCESS (code=2, address=0x17)
    frame #0: 0x0114d09b libobjc.A.dylib`objc_msgSend + 15
    frame #1: 0x00027b08 DemoCastPlayer`-[GCKWebSocket forceCloseWithError:](, _cmd=0x0002d97c) + 87 at GCKWebSocket.m:235
    frame #2: 0x00027a43 DemoCastPlayer`-[GCKWebSocket disconnect](, _cmd=0x03ad00cb) + 398 at GCKWebSocket.m:220
    frame #3: 0x0000ac50 DemoCastPlayer`-[GCKApplicationChannel disconnect](, _cmd=0x03ad00cb) + 116 at GCKApplicationChannel.m:74
    frame #4: 0x0000d639 DemoCastPlayer`-[GCKApplicationSession tearDownSessionWithError:](, _cmd=0x0002dcd0, error=0x00000000) + 594 at GCKApplicationSession.m:321
    frame #5: 0x0000c783 DemoCastPlayer`-[GCKApplicationSession endSession](self=0x072bfe80, _cmd=0x0067c140) + 70 at GCKApplicationSession.m:168
    frame #6: 0x00004a18 DemoCastPlayer`-[CastViewController endSession:](self=0x072b1350, _cmd=0x0002cc9a, sender=0x075839b0) + 200 at CastViewController.m:130
    frame #7: 0x0114f705 libobjc.A.dylib`-[NSObject performSelector:withObject:withObject:] + 77
    frame #8: 0x00086920 UIKit`-[UIApplication sendAction:to:from:forEvent:] + 96
    frame #9: 0x000868b8 UIKit`-[UIApplication sendAction:toTarget:fromSender:forEvent:] + 61
    frame #10: 0x00147671 UIKit`-[UIControl sendAction:to:forEvent:] + 66
    frame #11: 0x00147bcf UIKit`-[UIControl(Internal) _sendActionsForEvents:withEvent:] + 578
    frame #12: 0x00146872 UIKit`-[UIControl touchesBegan:withEvent:] + 250
    frame #13: 0x000b616d UIKit`-[UIWindow _sendTouchesForEvent:] + 380
    frame #14: 0x000b6552 UIKit`-[UIWindow sendEvent:] + 273
    frame #15: 0x000943aa UIKit`-[UIApplication sendEvent:] + 436
    frame #16: 0x00085cf8 UIKit`_UIApplicationHandleEvent + 9874
    frame #17: 0x01c59df9 GraphicsServices`_PurpleEventCallback + 339
    frame #18: 0x01c59ad0 GraphicsServices`PurpleEventCallback + 46
    frame #19: 0x01c73bf5 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
    frame #20: 0x01c73962 CoreFoundation`__CFRunLoopDoSource1 + 146
    frame #21: 0x01ca4bb6 CoreFoundation`__CFRunLoopRun + 2118
    frame #22: 0x01ca3f44 CoreFoundation`CFRunLoopRunSpecific + 276
    frame #23: 0x01ca3e1b CoreFoundation`CFRunLoopRunInMode + 123
    frame #24: 0x01c587e3 GraphicsServices`GSEventRunModal + 88
    frame #25: 0x01c58668 GraphicsServices`GSEventRun + 104
    frame #26: 0x0008365c UIKit`UIApplicationMain + 1211
    frame #27: 0x0000228d DemoCastPlayer`main(argc=1, argv=0xbfffeeec) + 141 at main.m:22
    frame #28: 0x000021b5 DemoCastPlayer`start + 53

Original issue reported on code.google.com by nkli...@gmail.com on 26 Sep 2013 at 10:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thank you for your support of Chromecast.  We've just released a major update 
to the Google Cast SDK and will be closing your issue.

Take a look at http://googledevelopers.blogspot.com/ for more information.

Original comment by javaclimber@google.com on 3 Feb 2014 at 11:18