open-webrtc-toolkit / owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
389 stars 181 forks source link

I find a question, sometime "in rtc::LogMessage::~LogMessage() ()" is deadlock. #354

Open grubbyJay opened 4 years ago

grubbyJay commented 4 years ago

when happen deadlock,I seen a strange stack

截屏2020-06-11 下午5 33 01

other thread is follow

截屏2020-06-11 下午7 01 24

It need show "rtc::GlobalLock::Lock"

platform: ios branch: master commit: 05f04431c044ccf0b7b84da2d293224e5804046e

jianjunz commented 4 years ago

Hi,

Thanks for reporting this issue. We fixed some deadlock issues recently, after rebasing libwebrtc to M83. But from what I know, there is no fix for this one specifically. If you have reproduce steps, please let us know. Thanks.