Opened 11 years ago

Closed 4 years ago

#11879 closed Bug Report - Hang/Deadlock (Unverified)

mythfrontend deadlock if have problems with liveTV

Reported by: voyo <voyo@…> Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.26.1
Severity: medium Keywords:
Cc: voyo@… Ticket locked: no

Description

If mythfrontend have problem (for some reason, doesnt matter now - can be poor DVB signal, or problems with CAM) to tune LiveTV channel it returns to main menu, with message "Error opening jump program file" and then freezes - its not reacting to remotecontrol nor to MythFrontend Network Control. Only I can do is to kill it. Its regression, in older version (can't tell exactly when, for sure in ~0.24) I never had this problem (was crashing too, but was still respondent).

htpc@htpc:~$ mythfrontend --version Please attach all output as a file in bug reports. MythTV Version : v0.26.1-24-g9fd7c61 MythTV Branch : fixes/0.26 Network Protocol : 75 Library API : 0.26.20130225-1 QT Version : 4.8.5 Options compiled in:

linux profile use_hidesyms using_alsa using_oss using_pulse using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_ceton using_hdpvr using_iptv using_libcec using_libcrypto using_libxml2 using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_live using_mheg using_libass using_libxml2

Sep 27 20:34:13 htpc mythlogserver: mythfrontend[21932]: W CoreContext? ringbuffer.cpp:1035 (WaitForReadsAllowed?) RingBuf?(/var/lib/mythtv/recordings/live/5423_20130927183404.mpg): Taking too long to be allowed to read.. Sep 27 20:34:13 htpc mythlogserver: mythfrontend[21932]: W CoreContext? ringbuffer.cpp:1035 (WaitForReadsAllowed?) RingBuf?(/var/lib/mythtv/recordings/live/5423_20130927183404.mpg): Taking too long to be allowed to read.. Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: W CoreContext? ringbuffer.cpp:1035 (WaitForReadsAllowed?) RingBuf?(/var/lib/mythtv/recordings/live/5423_20130927183404.mpg): Taking too long to be allowed to read.. Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: W CoreContext? ringbuffer.cpp:1035 (WaitForReadsAllowed?) RingBuf?(/var/lib/mythtv/recordings/live/5423_20130927183404.mpg): Taking too long to be allowed to read.. Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: W CoreContext? ringbuffer.cpp:1035 (WaitForReadsAllowed?) RingBuf?(/var/lib/mythtv/recordings/live/5423_20130927183404.mpg): Taking too long to be allowed to read.. Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: E CoreContext? ringbuffer.cpp:1040 (WaitForReadsAllowed?) RingBuf?(/var/lib/mythtv/recordings/live/5423_20130927183404.mpg): Took more than 10 seconds to be allowed to read, aborting. Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: W CoreContext? ringbuffer.cpp:1018 (Peek) RingBuf?(/var/lib/mythtv/recordings/live/5423_20130927183404.mpg): Peek() requested 2048 bytes, but only returning 0 Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: E CoreContext? mythplayer.cpp:932 (OpenFile?) Player(0): OpenFile?(): Could not read first 2048 bytes of '/var/lib/mythtv/recordings/live/5423_20130927183404.mpg' Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: E CoreContext? mythplayer.cpp:2649 (JumpToProgram?) Player(0): JumpToProgram? failed. Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: E CoreContext? mythplayer.cpp:2841 (EventLoop?) Player(0): Unknown recorder error, exiting decoder Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: I Decoder mythdbcon.cpp:467 (CloseDatabases?) Closing DB connection named 'DBManager4' Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: I CoreContext? tv_play.cpp:2155 (HandleStateChange?) TV: Attempting to change from WatchingLiveTV to None Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: W CoreContext? mythpainter.cpp:34 (Teardown) MythPainter?: 9 images not yet de-allocated. Sep 27 20:34:14 htpc mythlogserver: mythfrontend[21932]: I CoreContext? mythpainter_vdpau.cpp:108 (ClearCache?) VDPAU Painter: Clearing VDPAU painter cache. Sep 27 20:34:15 htpc mythlogserver: mythfrontend[21932]: I CoreContext? audio/audiopulsehandler.cpp:322 (SuspendInternal?) Pulse: PulseAudio? resume OK Sep 27 20:34:15 htpc mythlogserver: mythfrontend[21932]: I CoreContext? tv_play.cpp:2394 (HandleStateChange?) TV: Changing from WatchingLiveTV to None Sep 27 20:34:15 htpc mythlogserver: mythfrontend[21932]: I CoreContext? tv_play.cpp:405 (StartTV) TV: Exiting main playback loop. Sep 27 20:34:15 htpc mythlogserver: mythfrontend[21932]: I CoreContext? tv_play.cpp:2155 (HandleStateChange?) TV: Attempting to change from None to WatchingLiveTV Sep 27 20:34:15 htpc mythlogserver: mythfrontend[21932]: I CoreContext? mythcorecontext.cpp:375 (ConnectCommandSocket?) MythCoreContext?: Connecting to backend server: 10.0.0.200:6543 (try 1 of 1) Sep 27 20:34:15 htpc mythlogserver: mythfrontend[21932]: I CoreContext? mythcorecontext.cpp:1191 (CheckProtoVersion?) Using protocol version 75 Sep 27 20:34:15 htpc mythlogserver: mythfrontend[21932]: N CoreContext? tv_play.cpp:2222 (HandleStateChange?) TV: Spawning LiveTV Recorder -- begin Sep 27 20:34:18 htpc mythlogserver: mythfrontend[21932]: N CoreContext? tv_play.cpp:2229 (HandleStateChange?) TV: Spawning LiveTV Recorder -- end Sep 27 20:34:18 htpc mythlogserver: mythfrontend[21932]: I CoreContext? tv_play.cpp:2250 (HandleStateChange?) TV: playbackURL(/var/lib/mythtv/recordings/live/16713_20130927183418.mpg) cardtype(DUMMY) Sep 27 20:34:18 htpc mythlogserver: mythfrontend[21932]: E CoreContext? tv_play.cpp:2267 (HandleStateChange?) TV: LiveTV not successfully started Sep 27 20:34:18 htpc mythlogserver: mythfrontend[21932]: I CoreContext? tv_play.cpp:2485 (HandleStateChange?) TV: Main UI disabled. Sep 27 20:34:19 htpc mythlogserver: mythfrontend[21932]: I ScreenLoad? mythdbcon.cpp:76 (MSqlDatabase) Database connection created: DBManager5 Sep 27 20:34:19 htpc mythlogserver: mythfrontend[21932]: I ScreenLoad? mythdbcon.cpp:312 (popConnection) New DB connection, total: 4 Sep 27 20:34:19 htpc mythlogserver: mythfrontend[21932]: I ScreenLoad? mythdbcon.cpp:180 (OpenDatabase?) Connected to database 'mythconverg' at host: localhost Sep 27 20:34:19 htpc mythlogserver: mythfrontend[21932]: I CoreContext? tv_play.cpp:403 (StartTV) TV: Entering main playback loop. Sep 27 20:34:19 htpc mythlogserver: mythfrontend[21932]: I CoreContext? tv_play.cpp:405 (StartTV) TV: Exiting main playback loop. Sep 27 20:34:19 htpc mythlogserver: mythfrontend[21932]: I TVBrowseHelper mythdbcon.cpp:467 (CloseDatabases?) Closing DB connection named 'DBManager3' Sep 27 20:34:19 htpc mythlogserver: mythfrontend[21932]: N CoreContext? mythmainwindow.cpp:2606 (PauseIdleTimer?) Resuming idle timer

Change History (1)

comment:1 Changed 4 years ago by Stuart Auchterlonie

Resolution: Unverified
Status: newclosed

Closing all old tickets in trac.

If your issue still persists, please open an issue in Github https://github.com/MythTV/mythtv/issues

and reference the existing trac ticket.

Note: See TracTickets for help on using tickets.