[mythtv-commits] Ticket #10188: Deadlocks constantly

MythTV noreply at mythtv.org
Wed Nov 30 07:34:01 UTC 2011


#10188: Deadlocks constantly
----------------------------------------+----------------------------
 Reporter:  yurko@…                     |          Owner:
     Type:  Bug Report - Hang/Deadlock  |         Status:  new
 Priority:  major                       |      Milestone:  unknown
Component:  MythTV - General            |        Version:  Trunk Head
 Severity:  medium                      |     Resolution:
 Keywords:  Dead Lock                   |  Ticket locked:  0
----------------------------------------+----------------------------

Comment (by Robert Verspuy <robert@…>):

 I've recompiled mythtv yesterday morning (double checked that I had the
 latest git changes including the volatile patch). And restarted the BE. I
 could connect with the FE on my notebook without issues (but that was also
 working before). But after 24 hours (and 2 recordings were started
 yesterday evening), this morning I could not connect to the BE anymore.
 But it does look like it's a bit different then before.

 The FE is not complaining about a the mythtv protocol, but it appears it
 does not get any reponse to the QUERY_RECORDINGS Unsorted

 On the FE I see:
 {{{
 2011-11-30 08:28:16.491286 I  MythCoreContext: Connecting to backend
 server: 10.84.100.60:6543 (try 1 of 1)
 2011-11-30 08:28:16.491735 I  MythSocket(7f3c24015a40:-1): attempting
 connect() to (10.84.100.60:6543)
 2011-11-30 08:28:16.491746 I  MSocketDevice::connect: setting Protocol to
 IPv4
 2011-11-30 08:28:16.491799 I  MSocketDevice::connect: attempting to create
 new socket
 2011-11-30 08:28:16.492364 I  MythSocket(7f3c24015a40:51): write -> 51 30
 MYTH_PROTO_VERSION 69 63835135
 2011-11-30 08:28:16.502992 I  MythSocket(7f3c24015a40:51): read  <- 51 13
 ACCEPT[]:[]69
 2011-11-30 08:28:16.503007 I  Using protocol version 69
 2011-11-30 08:28:16.503016 I  MythSocket(7f3c24015a40:51): write -> 51 44
 ANN Monitor titanium.intern.exa-omicron.nl 0
 2011-11-30 08:28:16.503445 I  MythSocket(7f3c24015a40:51): read  <- 51 2
 OK
 2011-11-30 08:28:16.503665 I  MythSocket(7f3c2400bb50:-1): attempting
 connect() to (10.84.100.60:6543)
 2011-11-30 08:28:16.503670 I  MSocketDevice::connect: setting Protocol to
 IPv4
 2011-11-30 08:28:16.503672 I  MSocketDevice::connect: attempting to create
 new socket
 2011-11-30 08:28:16.504006 I  MythSocket(7f3c2400bb50:62): write -> 62 44
 ANN Monitor titanium.intern.exa-omicron.nl 1
 2011-11-30 08:28:16.504552 I  MythSocket(7f3c2400bb50:62): read  <- 62 2
 OK
 2011-11-30 08:28:16.504599 I  MythSocket(7f3c24015a40:51): write -> 51 25
 QUERY_RECORDINGS Unsorted
 2011-11-30 08:28:46.505376 E  MythSocket(7f3c24015a40:51): readStringList:
 Error, timed out after 30000 ms.
 2011-11-30 08:28:46.505451 C  Reconnection to backend server failed
 }}}


 On the BE I see:
 {{{
 2011-11-30 08:28:16.501037 I  MainServer::ANN Monitor
 2011-11-30 08:28:16.501040 I  adding: titanium.intern.exa-omicron.nl as a
 client (events: 0)
 2011-11-30 08:28:16.501060 I  MythSocket(dfe400:122): write -> 122 2
 OK
 2011-11-30 08:28:16.502052 I  MythSocket(e8cf20:125): read  <- 125 44
 ANN Monitor titanium.intern.exa-omicron.nl 1
 2011-11-30 08:28:16.502066 I  MainServer::ANN Monitor
 2011-11-30 08:28:16.502074 I  adding: titanium.intern.exa-omicron.nl as a
 client (events: 1)
 2011-11-30 08:28:16.502083 I  MythEvent: SYSTEM_EVENT CLIENT_CONNECTED
 HOSTNAME titanium.intern.exa-omicron.nl SENDER orion.intern.robmir.nl
 2011-11-30 08:28:16.502103 I  MythSocket(e8cf20:125): write -> 125 2
 OK
 2011-11-30 08:28:16.502154 I  MythSocket(f80e70:113): write -> 113 129
 BACKEND_MESSAGE[]:[]SYSTEM_EVENT CLIENT_CONNECTED HOSTNAME titan...
 2011-11-30 08:28:16.502617 I  MythSocket(dfe400:122): read  <- 122 25
 QUERY_RECORDINGS Unsorted
 2011-11-30 08:28:31.446002 I  Cardid 1: max bitrate 162597 KB/min
 2011-11-30 08:28:31.446013 I  Maximal bitrate of busy encoders is 162597
 KB/min
 2011-11-30 08:28:46.445915 I  Cardid 1: max bitrate 162597 KB/min
 2011-11-30 08:28:46.445925 I  Maximal bitrate of busy encoders is 162597
 KB/min
 2011-11-30 08:28:46.515033 I  MythSocket(e79f50:126): read  <- 126 30
 MYTH_PROTO_VERSION 69 63835135
 2011-11-30 08:28:46.515050 I  MythSocket(e79f50:126): write -> 126 13
 ACCEPT[]:[]69
 2011-11-30 08:28:46.515604 I  MythSocketThread(sock 0xf80e70:113): socket
 closed
 2011-11-30 08:28:46.515626 I  MythEvent: SYSTEM_EVENT CLIENT_DISCONNECTED
 HOSTNAME titanium.intern.exa-omicron.nl SENDER orion.intern.robmir.nl
 2011-11-30 08:28:46.515642 I  MythEvent:
 LOCAL_SLAVE_BACKEND_ENCODERS_OFFLINE
 2011-11-30 08:28:46.515711 I  MythSocket(e8cf20:125): write -> 125 132
 BACKEND_MESSAGE[]:[]SYSTEM_EVENT CLIENT_DISCONNECTED HOSTNAME ti...
 2011-11-30 08:28:46.515748 I  MythSocket(e79f50:126): read  <- 126 44
 ANN Monitor titanium.intern.exa-omicron.nl 0
 2011-11-30 08:28:46.515766 I  MainServer::ANN Monitor
 2011-11-30 08:28:46.515772 I  adding: titanium.intern.exa-omicron.nl as a
 client (events: 0)
 2011-11-30 08:28:46.515785 I  MythSocket(e79f50:126): write -> 126 2
 OK
 2011-11-30 08:28:46.516441 I  MythSocket(e79f50:126): read  <- 126 21
 QUERY_FREE_SPACE_LIST
 2011-11-30 08:28:46.516490 I  MythSocket(e79f50:126): write -> 126 243
 orion.intern.robmir.nl[]:[]orion:/data0/mythtv/livetv,orion:/dat...
 2011-11-30 08:28:46.517158 I  Cardid 1: max bitrate 162597 KB/min
 2011-11-30 08:28:46.517165 I  Maximal bitrate of busy encoders is 162597
 KB/min
 2011-11-30 08:28:54.222175 I  MythSocket(e79f50:126): read  <- 126 58
 QUERY_IS_ACTIVE_BACKEND[]:[]titanium.intern.exa-omicron.nl
 2011-11-30 08:28:54.222199 I  MythSocket(e79f50:126): write -> 126 5
 FALSE
 2011-11-30 08:28:57.386540 I  MythSocketThread(sock 0xe79f50:126): socket
 closed
 2011-11-30 08:28:57.386582 I  MythEvent: SYSTEM_EVENT CLIENT_DISCONNECTED
 HOSTNAME titanium.intern.exa-omicron.nl SENDER orion.intern.robmir.nl
 2011-11-30 08:28:57.386602 I  MythEvent:
 LOCAL_SLAVE_BACKEND_ENCODERS_OFFLINE
 2011-11-30 08:28:57.386688 I  MythSocket(e8cf20:125): write -> 125 132
 BACKEND_MESSAGE[]:[]SYSTEM_EVENT CLIENT_DISCONNECTED HOSTNAME ti...
 2011-11-30 08:28:57.572864 I  MythSocketThread(sock 0xe8cf20:125): socket
 closed
 2011-11-30 08:28:57.572893 I  MythEvent: SYSTEM_EVENT CLIENT_DISCONNECTED
 HOSTNAME titanium.intern.exa-omicron.nl SENDER orion.intern.robmir.nl
 2011-11-30 08:28:57.572916 I  MythEvent:
 LOCAL_SLAVE_BACKEND_ENCODERS_OFFLINE
 }}}

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10188#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list