Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK Teardown crash #95

Closed
piyushtank opened this issue Mar 13, 2017 · 3 comments
Closed

SDK Teardown crash #95

piyushtank opened this issue Mar 13, 2017 · 3 comments
Assignees
Labels

Comments

@piyushtank
Copy link
Contributor

piyushtank commented Mar 13, 2017

Video SDK crashes occasionally on its teardown path. The SDK Crash is often observed if Room is destroyed right after the room.disconnect() API is called. Following is a stack trace reported caused by this bug -

(lldb) bt 
* thread #1: tid = 0xb0762, 0x0000000102c77bfc libdispatch.dylib`dispatch_semaphore_signal + 4, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=257, address=0x10317d29f) 
frame #0: 0x0000000102c77bfc libdispatch.dylib`dispatch_semaphore_signal + 4 
frame #1: 0x00000001019c5794 TwilioVideo`twilio::signaling::RoomSignalingImpl::notifyDisconnected(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, twilio::video::TwilioError) + 144 
frame #2: 0x00000001019cf420 TwilioVideo`rtc::MethodFunctor2<twilio::signaling::RoomSignalingImpl, void (twilio::signaling::RoomSignalingImpl::*)(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, twilio::video::TwilioError), void, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, twilio::video::TwilioError>::operator()() const + 112 
frame #3: 0x0000000102c7525c libdispatch.dylib`_dispatch_call_block_and_release + 24 
frame #4: 0x0000000102c7521c libdispatch.dylib`_dispatch_client_callout + 16 
frame #5: 0x0000000102c7a284 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 1200 
frame #6: 0x0000000193053f2c CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
frame #7: 0x0000000193051b18 CoreFoundation`__CFRunLoopRun + 1660 
frame #8: 0x0000000192f80048 CoreFoundation`CFRunLoopRunSpecific + 444 
frame #9: 0x0000000194a06198 GraphicsServices`GSEventRunModal + 180 
frame #10: 0x0000000198f6c2fc UIKit`-[UIApplication _run] + 684 
frame #11: 0x0000000198f67034 UIKit`UIApplicationMain + 208 
* frame #12: 0x00000001000c55c0 Pacify`main + 140 at AppDelegate.swift:14 
frame #13: 0x0000000191f645b8 libdyld.dylib`start + 4
@piyushtank piyushtank added the bug label Mar 13, 2017
@piyushtank piyushtank self-assigned this Mar 13, 2017
@piyushtank
Copy link
Contributor Author

We are working on this issue and planning to release the fix by the end of this week or early next week with our 1.0.0-beta11 release.

@theprojectabot
Copy link

theprojectabot commented Mar 13, 2017 via email

@ceaglest
Copy link
Contributor

We fixed this crash in 1.0.0-beta11, so workarounds should no longer be required.

https://www.twilio.com/docs/api/video/changelogs/ios#100-beta11-march-21-2017

paynerc pushed a commit that referenced this issue Jun 12, 2019
* Update console token link comments
* Make TokenUtils compatible with latest devEd servers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants