[mythtv-commits] Ticket #12566: Can't exit video playback
MythTV
noreply at mythtv.org
Fri Apr 29 11:23:22 UTC 2016
#12566: Can't exit video playback
-------------------------------------+-----------------------------
Reporter: rafe101@… | Owner: jyavenard
Type: Bug Report - General | Status: new
Priority: minor | Milestone: 0.28
Component: MythTV - Video Playback | Version: Master Head
Severity: medium | Resolution:
Keywords: video,playback,exit | Ticket locked: 0
-------------------------------------+-----------------------------
Comment (by drhunt@…):
Backtrace when its in the broken state
{{{
#0 0x00007facec16c687 in ioctl () at ../sysdeps/unix/syscall-
template.S:84
#1 0x00007facf017f058 in drmWaitVBlank (fd=99, vbl=0x7ffce9059a80) at
vsync.cpp:234
#2 0x00007facf017f90f in DRMVideoSync::WaitForFrame (this=0x41280d0,
sync_delay=40000) at vsync.cpp:323
#3 0x00007facf006428d in MythPlayer::AVSync (this=0x6bd6ab0,
buffer=0x57e7080, limit_delay=false)
at mythplayer.cpp:1927
#4 0x00007facf006847b in MythPlayer::DisplayNormalFrame (this=0x6bd6ab0,
check_prebuffer=true)
at mythplayer.cpp:2266
#5 0x00007facf006963e in MythPlayer::VideoLoop (this=0x6bd6ab0) at
mythplayer.cpp:2470
#6 0x00007faceffc606c in TV::PlaybackLoop (this=0x41e7c50) at
tv_play.cpp:1484
#7 0x00007faceffb3100 in TV::StartTV (tvrec=0x7ffce905a9e0, flags=0,
selection=std::vector of length 0, capacity 0) at tv_play.cpp:425
#8 0x000000000048d022 in PlaybackBox::Play (this=0x1a70960, rec=...,
inPlaylist=false, ignoreBookmark=false,
ignoreProgStart=false, ignoreLastPlayPos=true,
underNetworkControl=false) at playbackbox.cpp:2506
#9 0x000000000048b7de in PlaybackBox::PlayX (this=0x1a70960, pginfo=...,
ignoreBookmark=false,
ignoreProgStart=false, ignoreLastPlayPos=true,
underNetworkControl=false) at playbackbox.cpp:2287
#10 0x000000000048b43d in PlaybackBox::PlayFromBookmarkOrProgStart
(this=0x1a70960, item=0x1c64750)
at playbackbox.cpp:2218
}}}
Log shows
{{{
Apr 29 20:40:14 mythbox mythfrontend.real: mythfrontend[22788]: I
CoreContext tv_play.cpp:424 (StartTV) TV::StartTV(): Entering main
playback loop.
}}}
Code looks like this
{{{
// Process Events
424 LOG(VB_GENERAL, LOG_INFO, LOC + "Entering main playback
loop.");
425 tv->PlaybackLoop();
426 LOG(VB_GENERAL, LOG_INFO, LOC + "Exiting main playback
loop.");
}}}
It never exits the PlaybackLoop function. All key presses (ie
pause,rewind,fastforward etc) work correctly. It is just the exit
behaviour which is broken.
I'll try and find some time to debug it further but this is what I've
found so far. Maybe that helps.
I've had to teach my wife how to ssh into the box and run killall on the
frontend as it happens so often.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12566#comment:9>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list