# All videos freeze after 60-ish minutes, "boost: mutex lock failed"

**URL:** <https://discourse.lynckia.com/t/all-videos-freeze-after-60-ish-minutes-boost-mutex-lock-failed/209>\
**Category:** Uncategorized\
**Created:** [October 12, 2016, 11:30pm UTC](https://discourse.lynckia.com/t/all-videos-freeze-after-60-ish-minutes-boost-mutex-lock-failed/209 "2016-10-12T23:30:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chad\_Phillips](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/chad_phillips/32/27_2.png) [@Chad\_Phillips](https://discourse.lynckia.com/u/Chad_Phillips)\
**Post date:** [October 12, 2016, 11:30pm UTC](https://discourse.lynckia.com/t/all-videos-freeze-after-60-ish-minutes-boost-mutex-lock-failed/209/1 "2016-10-12T23:30:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Javier](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/javier/32/20_2.png) [@Javier](https://discourse.lynckia.com/u/Javier)\
**Post date:** [November 30, 2016, 4:19pm UTC](https://discourse.lynckia.com/t/all-videos-freeze-after-60-ish-minutes-boost-mutex-lock-failed/209/2 "2016-11-30T16:19:20Z")

</div>

@Chad_Phillips are you still seeing this issue?

---

<div class="post-metadata">

**Author:** ![Chad\_Phillips](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/chad_phillips/32/27_2.png) [@Chad\_Phillips](https://discourse.lynckia.com/u/Chad_Phillips)\
**Post date:** [November 30, 2016, 4:33pm UTC](https://discourse.lynckia.com/t/all-videos-freeze-after-60-ish-minutes-boost-mutex-lock-failed/209/3 "2016-11-30T16:33:56Z")

</div>

No, I haven’t seen it in awhile
