[mythtv] [mythtv-commits] Ticket #1805: Backend not responding, with backtrace and log

Tom Lichti tom at redpepperracing.com
Sat May 13 13:44:51 UTC 2006


Jim Westfall wrote:
> MythTV <mythtv at cvs.mythtv.org> wrote [05.13.06]:
>   
>>  See attached backtrace and backend log from around where it happened. I
>>  was experimenting with de-interlace and XvMC settings, so I was going in
>>  and out of live tv a number of times just before it happened. Not sure if
>>  that is related. It also seems to happen around the turn of the hour when
>>  a couple of recordings start. Also of note is that the recordings continue
>>  to actually record until I stop and restart the backend process, and
>>  resume when it comes up.
>>     
> I assume you have a slave backend too?  
>
> Looking at the backtrace (your master backend?) it appears to have a lock 
> on the socket that is waiting for a slave backend to respond about 
> generating a pixmap.  At the same time the main app thread is trying to 
> process a customEvent, which is blocked trying to get the lock on the 
> same socket.  The main app thread being blocked like this is likely 
> causing all qt event processing to stop.
>
> jim
>   
Interesting. I do have a slave, the logs included are indeed from the 
master. The both backends are backend only, and the frontend is 
dedicated as well.  I have the backend log from the slave, but no 
backtrace, as I didn't realize it was part of the problem. The log 
doesn't show much from that time (see below). What I think I did was 
pressed record while in live tv to start recording the hockey game (that 
started at 8pm) so I could let it get a bit ahead. I exited out, and 
went to watch a previously recorded show, and that's when the backend 
stopped responding. If it happens again I;ll try and get a backtrace 
from the slave, unless there is enough info in the ticket to figure out 
what's happening.

Tom

2006-05-11 20:04:50.683 Expiring "NHL Hockey" from Thu May 11 19:00:00 
2006, 15 MBytes, forced expire (LiveTV recording)
2006-05-11 20:05:17.387 TVRec(6): SetLiveRecording(1)
2006-05-11 20:05:17.394 TVRec(6): SetLiveRecording() -- record
2006-05-11 20:05:17.662 TVRec(6): ClearFlags(CancelNextRecording,) -> 
FrontendReady,RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
2006-05-11 20:05:21.068 StopLiveTV(void) curRec: 0xacf4ec40 pseudoRec: 
0xacf3a3d8
2006-05-11 20:05:21.111 TVRec(6): Changing from WatchingLiveTV to 
RecordingOnly
2006-05-11 20:05:21.114 TVRec(6): 
ClearFlags(FrontendReady,CancelNextRecording,) -> 
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
2006-05-11 20:05:21.117 TVRec(6): SetFlags(AskAllowRecording,) -> 
RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
2006-05-11 20:05:24.036 MainServer::HandleAnnounce Playback
2006-05-11 20:05:24.039 adding: htpc as a client (events: 0)
2006-05-11 20:05:24.048 MainServer::HandleAnnounce FileTransfer
2006-05-11 20:05:24.052 adding: htpc as a remote file transfer
2006-05-11 20:05:24.558 RingBuf(/myth/tvs/1006_20060511200300.mpg.png): 
Could not open /myth/tvs/1006_20060511200300.mpg.png.
0: start_time: 0.036 duration: 12.886
1: start_time: 0.026 duration: 12.856
stream: start_time: 0.289 duration: 143.287 bitrate=4709 kb/s
2006-05-11 20:05:24.675 AFD: Opened codec 0x817e3c0, id(MPEG2VIDEO) 
type(Video)
2006-05-11 20:05:24.679 AFD: Opened codec 0x817e7b0, id(MP2) type(Audio)
2006-05-11 20:18:18.601 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:18.636 Could not connect to master server.
2006-05-11 20:18:19.640 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:19.649 Could not connect to master server.
2006-05-11 20:18:20.654 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:20.661 Could not connect to master server.
2006-05-11 20:18:21.667 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:21.676 Could not connect to master server.
2006-05-11 20:18:22.681 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:22.689 Could not connect to master server.
2006-05-11 20:18:23.693 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:23.701 Could not connect to master server.
2006-05-11 20:18:24.705 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:24.713 Could not connect to master server.
2006-05-11 20:18:25.717 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:25.725 Could not connect to master server.
2006-05-11 20:18:26.729 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:26.736 Could not connect to master server.
2006-05-11 20:18:27.742 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:27.773 Could not connect to master server.
2006-05-11 20:18:28.783 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:28.840 Could not connect to master server.
2006-05-11 20:18:29.862 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:29.871 Could not connect to master server.
2006-05-11 20:18:30.928 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:30.936 Could not connect to master server.
2006-05-11 20:18:31.940 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:31.948 Could not connect to master server.
2006-05-11 20:18:32.952 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:32.959 Could not connect to master server.
2006-05-11 20:18:33.965 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:33.972 Could not connect to master server.
2006-05-11 20:18:34.977 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:34.984 Could not connect to master server.
2006-05-11 20:18:35.988 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:35.997 Could not connect to master server.
2006-05-11 20:18:37.001 Connecting to master server: 10.10.20.170:6543
2006-05-11 20:18:37.009 Connected successfully
2006-05-11 20:18:37.012 TVRec(3): SetFlags(CancelNextRecording,) -> 
RunMainLoop,CancelNextRecording,
2006-05-11 20:18:37.016 TVRec(6): SetFlags(CancelNextRecording,) -> 
RunMainLoop,CancelNextRecording,AskAllowRecording,RecorderRunning,RingBufferReady,
2006-05-11 20:18:42.037 AutoExpire: Found 2 recorders w/max rate of 144 
MiB/min
2006-05-11 20:18:42.082 AutoExpire: Required Free Space: 2.1 GB w/freq: 
10 min



More information about the mythtv-dev mailing list