-
Notifications
You must be signed in to change notification settings - Fork 178
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
Heap Corruption Crashes - Multiparty Rooms #74
Comments
Would you like each one as a separate GitHub issue, so it can be more easily tracked? |
@mknippen yes, that would be really helpful. Please add the stack trace for each and we'll start investigating. |
Thanks for filing issues with stack traces @mknippen. We have customers using the iOS SDK in production who are not seeing the kind of crash rates that you are, so we may contact you for more info on your particular use case. Nevertheless, there are some memory and threading bugs that we are still working to resolve, and will keep you in the loop as we address these issues. Best, |
@ceaglest absolutely, and sorry for the GitHub notification overload (I'm sure). I'm here to help in anyway that I can. I'm able to hop on a phone call or screenshare to show you what I'm doing at any point if you would like. To the best of my knowledge, I'm not hacking anything or using anything outside of the SDK you published. I make no reference to AVFoundation or AudioToolbox at all, and let the framework handle it all directly. |
@mknippen Other than #78, and #85 it looks the issues have the same underlying problem - heap corruption. Each crashing call is trying to allocate some memory, but the system libraries are detecting corruption and crashing from there. Edit: To provide a little more info about the use case, these crashes are seen in multi-party Rooms sharing audio. |
Crash in consume_record. Biggest crash on the demo. 8 crashes from 6 users in 30 minutes. |
Crash in |
Crash in 4 crashes from 4 users in 30 minutes. |
Crash in 2 crashes from 2 users in 30 minutes |
Crash in |
Crash in |
Crash in |
Crash in |
Crash in |
@mknippen our latest 1.0.0-beta11 release should address the source of these heap corruption crashes. Give it a try if you have the chance. |
Closing out this issue, since we haven't gotten any new reports of this type of crash since |
We performed tests with six users, and almost all of us had crashes with the current version (beta 8). Crashlytics noted at least 7 different crashes in the TwilioVideo codebase. I will be happy to provide stack traces for each one.
The text was updated successfully, but these errors were encountered: