Been having issues occasionally with all videos in a room freezing after 60
minutes or so. Looking at one of the erizo logs today, I see it terminated
with a “boost: mutex lock failed” error. Other similar freezes just showed
no error messages, but clearly the erizo log stopped suddenly.
Including the last few lines from today’s freeze below:
2016-10-12 15:26:15,498 - INFO: NiceConnection - video - NICE State
Changing from 2 to 3 0x1aa0910
2016-10-12 15:26:15,498 - DEBUG: NiceConnection - Unrefing loop
2016-10-12 15:26:15,498 - DEBUG: NiceConnection - Finished g_main_loop
0x1aa0910
2016-10-12 15:26:15,498 - DEBUG: NiceConnection - m_thread join 0x1aa0910
2016-10-12 15:26:15,498 - DEBUG: NiceConnection - Sending empty packet,
NiceConnection won’t send more packets
2016-10-12 15:26:15,498 - DEBUG: NiceConnection - Unrefing agent
2016-10-12 15:26:15,498 - DEBUG: DtlsTransport - Got an ending packet,
will finish getPacket loop
2016-10-12 15:26:15,498 - DEBUG: NiceConnection - Unrefing context
2016-10-12 15:26:15,498 - DEBUG: NiceConnection - Nice Closed 0x1aa0910
2016-10-12 15:26:15,498 - DEBUG: DtlsTransport - Finished closing
DtlsTransport
2016-10-12 15:26:15,498 - INFO: WebRtcConnection - WebRtcConnection
Destructor END
2016-10-12 15:26:15,498 - DEBUG: DtlsTransport - DtlsTransport destructor
2016-10-12 15:26:15,498 - DEBUG: DtlsTransport - DTLSTransport destructor
END
2016-10-12 15:26:15,498 - DEBUG: Resender - Resender destructor
2016-10-12 15:26:15,498 - DEBUG: Resender - Resender destructor, joining
thread
2016-10-12 15:26:15,498 - DEBUG: Resender - Resender thread terminated on
destructor
2016-10-12 15:26:15,498 - DEBUG: dtls.DtlsSocket - Deleting Socket
2016-10-12 15:26:15,498 - DEBUG: dtls.DtlsSocket - Invalidated Timer
2016-10-12 15:26:15,498 - DEBUG: dtls.DtlsSocket - SSL Shutdown
2016-10-12 15:26:15,498 - DEBUG: dtls.SSL - SSL3 alert 256 - write;
warning : close notify
2016-10-12 15:26:15,499 - DEBUG: NiceConnection - NiceConnection Destructor
2016-10-12 15:26:15,499 - DEBUG: NiceConnection - NiceConnection
Destructor END
2016-10-12 15:26:15,499 - INFO: WebRtcConnection - WebRtcConnection
Destructor
2016-10-12 15:26:15,499 - DEBUG: DtlsTransport - Closing DTLSTransport
2016-10-12 15:26:15,499 - DEBUG: NiceConnection - Closing nice 0x33784a0
2016-10-12 15:26:15,499 - INFO: NiceConnection - video - NICE State
Changing from 2 to 3 0x33784a0
2016-10-12 15:26:15,499 - DEBUG: NiceConnection - Unrefing loop
2016-10-12 15:26:15,499 - DEBUG: NiceConnection - m_thread join 0x33784a0
2016-10-12 15:26:15,499 - DEBUG: NiceConnection - Finished g_main_loop
0x33784a0
2016-10-12 15:26:15,499 - DEBUG: NiceConnection - Unrefing agent
2016-10-12 15:26:15,499 - DEBUG: NiceConnection - Unrefing context
2016-10-12 15:26:15,499 - DEBUG: NiceConnection - Nice Closed 0x33784a0
2016-10-12 15:26:15,500 - DEBUG: DtlsTransport - video - Received DTLS
message from 1
terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::lock_error
’
what(): boost: mutex lock failed in pthread_mutex_lock: Invalid argument