Opened 16 years ago

Last modified 14 years ago

#9485 closed Bug Report - Hang/Deadlock

frontend cannot connect after trying to play a missing recording — at Initial Version

Reported by: Mike Rice <mikerice1969@…> Owned by:
Priority: blocker Milestone: 0.25
Component: MythTV - General Version: 0.24-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

My wife seems to have found a way to hang the backend. I wasn't there but looking at the logs it appears she tried to play a recording where the file was missing.

Am using:

MythTV Version   : v0.24-109-g945c673-dirty
MythTV Branch    : fixes/0.24
Network Protocol : 63
Library API      : 0.24.20101129-1
QT Version       : 4.7.1
Options compiled in:
 linux debug using_alsa using_oss using_backend using_bindings_perl using_bindings_python using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv       using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_      bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

From the frontend log:

2011-01-16 16:09:55.200 PlaybackBoxHelper Error: CHECK_AVAILABILITY 'myth://192.168.1.26:6543/5738_20091122115900.mpg' file not found
2011-01-16 16:09:55.200 MythSocket(ffffffffb1f9c478:43): write -> 43 123     MESSAGE[]:[]SYSTEM_EVENT PLAY_STARTED HOSTNAME mythfrontend2 CHANID 5738 STARTTIME 2009-11-22T11:59:00 SENDER mythfrontend2
2011-01-16 16:09:55.326 MythSocket(ffffffffb1f9c478:43): read  <- 43 2       OK
2011-01-16 16:09:55.379 MythSocket(ffffffffb1f9c478:43): write -> 43 60      MESSAGE[]:[]MASTER_UPDATE_PROG_INFO 5738 2009-11-22T11:59:00
2011-01-16 16:09:55.569 MythSocket(ffffffffb1f9c478:43): read  <- 43 2       OK

After a bit it gives up but it cannot re-connect to the backend:

2011-01-16 16:10:27.634 MythSocket(b5ecad0:56): readStringList: Error, timed out after 7000 ms.
2011-01-16 16:10:27.634 Remote file timeout.
2011-01-16 16:10:28.276 MythSocket(ffffffffb1f9c478:43): read  <- 43 6       0[]:[]
2011-01-16 16:10:28.277 PlaybackBoxHelper Error: CHECK_AVAILABILITY 'myth://192.168.1.26:6543/5738_20091122115900.mpg' file not found
2011-01-16 16:10:28.277 MythSocket(ffffffffb1f9c478:43): write -> 43 123     MESSAGE[]:[]SYSTEM_EVENT PLAY_STOPPED HOSTNAME mythfrontend2 CHANID 5738 STARTTIME 2009-11-22T11:59:00 SENDER mythfrontend2
2011-01-16 16:10:58.281 MythSocket(ffffffffb1f9c478:43): readStringList: Error, timed out after 30000 ms.
2011-01-16 16:10:58.281 Connection to backend server lost
2011-01-16 16:10:58.281 MythSocket(ad035c0:39): write -> 39 30      MYTH_PROTO_VERSION 63 3875641D
2011-01-16 16:11:05.285 MythSocket(ad035c0:39): readStringList: Error, timed out after 7000 ms.
2011-01-16 16:11:05.285 Protocol version check failure.
2011-01-16 16:11:05.285 Reconnection to backend server failed

I will attach the frontend and backend logs along with the stack trace for the backend when it was in this state.

If this only happens when trying to play a missing recording it is probably not a big deal since that is probably an anomaly. But I don't know if that's the case.

Change History (3)

by Mike Rice <mikerice1969@…>, 16 years ago

Attachment: felog.txt.gz added

Frontend log

by Mike Rice <mikerice1969@…>, 16 years ago

Attachment: belog.txt.gz added

Backend log

by Mike Rice <mikerice1969@…>, 16 years ago

Attachment: gdb.txt.gz added

Stack trace

Note: See TracTickets for help on using tickets.