-
Notifications
You must be signed in to change notification settings - Fork 117
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
Crash: OTSession initWithToken:error: #275
Comments
Does this happen with any session id and token combination? Can you try with a new set of credentials? |
Hello, yes with different session and token it happens. thread #1, queue = 'com.apple.main-thread'
|
Trying to reproduce , using the token you have above I get an "invalid token format". Thanks |
@IGitGotIt We just realized today there is a typo in the provided email address vonge.com instead of vonage.com. The email was resent to jaideep.shah@vonage.com |
I tried our Basic App (https://github.com/opentok/opentok-ios-sdk-samples/tree/main/Basic-Video-Chat or swift one https://github.com/opentok/opentok-ios-sdk-samples-swift/tree/main/Basic-Video-Chat) with the credential you send me using 2.22.0 and 2.24.2 on a simulator (intel) and a device . Both worked ok w/o any token crash (2.22.0 has a background capture warning - which can be neglected for our tests). Can you try the Basic app with those versions and lmk. Thanks |
Describe the bug
When I'm start working with connect session via token, after init flow of OTSession instance catch the crash.
It start raise error when update OpenTok version from 2.21.3 to 2.22.0 or 2.23.0 or 2.24.0
To Reproduce
Related to sdk version 2.22.0
OTError *result = nil;
if (session.sessionConnectionStatus == OTSessionConnectionStatusConnected) { return; }
[session connectWithToken:token error:&error];
Application(11135,0x170373000) malloc: *** error for object 0x2822a1b48: pointer being freed was not allocated
Application(11135,0x170373000) malloc: *** error for object 0x2822a1b48: pointer being freed was not allocated
Application(11135,0x170373000) malloc: *** set a breakpoint in malloc_error_break to debug
Screenshots
Device (please compete the following information):
On version 2.21.3 all works fine.
The text was updated successfully, but these errors were encountered: