-
Notifications
You must be signed in to change notification settings - Fork 241
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
Aborting after deadlock #142
Comments
Some added info: When I reproduce the crash in my app, I notice that the call to When executed on an iOS device (as opposed to the iOS Simulator), the call to |
A little more info... now I've determined that it "sometimes" works on the iOS Simulator. It's definitely inconsistent. |
Hey @lukeadamson, I'm running into the same issue when using a simulator to test with webRTC. The root cause seems to be something with webRTC's audio handling. A couple of my findings:
I won't be able to provide much help with debugging the root cause within the webRTC library itself, but hopefully this helps you work around the issue. @stasel Do you have experience debugging the internals of webRTC or primarily just maintaining the distribution? |
Hey @stasel, I'm seeing a crash in my app that uses the WebRTC package, and I can reproduce that same crash in your demo app (WebRTC-iOS). I'm wondering if you've seen it before or have any idea what might be causing it:
The demo app is crashing in the iOS Simulator after logging:
Here are my repro steps:
After several seconds... the app on the Sim will log the above error about a deadlock and crash. Here's a screenshot of the crash, showing abort being called from one of the threads:
Sadly, I can't reproduce this reliably in your demo app (though it's happening very reliably for me in my real app). I thought it was 100% reproducible in the demo, but then it just started working on fine and continued to do so after several re-launches and re-attempts at crashing it.
Both the "...Apparently deadlocked" message and the intermittent nature of the crash give it a strong smell of a multithreading bug.
Any ideas?
The text was updated successfully, but these errors were encountered: