Opened 11 years ago

Closed 10 years ago

#11319 closed Bug Report - Hang/Deadlock (Works for me)

Sometimes LiveTV hangs with Error opening jump program file

Reported by: ernstp@… Owned by: JYA
Priority: major Milestone: 0.27
Component: MythTV - DVB Version: 0.26-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Hi, sometimes my frontend hangs when starting livetv/switching channels in livetv with the "Error opening jump program file" message. Most of the time it works though. I have to restart the frontend after that, I can't close the error dialog.

Jan  2 05:37:44 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:1017 (TV) TV: Creating TV object
Jan  2 05:37:44 dront mythlogserver: mythfrontend[12249]: I CoreContext mythdbcon.cpp:409 (PurgeIdleConnections) New DB connection, total: 2
Jan  2 05:37:44 dront mythlogserver: mythfrontend[12249]: N CoreContext mythmainwindow.cpp:2606 (PauseIdleTimer) Resuming idle timer
Jan  2 05:37:44 dront mythlogserver: mythfrontend[12249]: N CoreContext mythmainwindow.cpp:2601 (PauseIdleTimer) Suspending idle timer
Jan  2 05:37:44 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:1232 (Init) TV: Created TvPlayWindow.
Jan  2 05:37:44 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2155 (HandleStateChange) TV: Attempting to change from None to WatchingLiveTV
Jan  2 05:37:44 dront mythlogserver: mythfrontend[12249]: I CoreContext mythcorecontext.cpp:375 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: 192.168.1.2:6543 (try 1 of 1)
Jan  2 05:37:44 dront mythlogserver: mythfrontend[12249]: I CoreContext mythcorecontext.cpp:1191 (CheckProtoVersion) Using protocol version 75
Jan  2 05:37:44 dront mythlogserver: mythfrontend[12249]: N CoreContext tv_play.cpp:2222 (HandleStateChange) TV: Spawning LiveTV Recorder -- begin
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: N CoreContext tv_play.cpp:2229 (HandleStateChange) TV: Spawning LiveTV Recorder -- end
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2250 (HandleStateChange) TV: playbackURL(/media/Storage/LiveTV/1034_20130102043745.mpg) cardtype(DUMMY)
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: N CoreContext audioplayer.cpp:167 (ReinitAudio) AudioPlayer: Enabling Audio
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext videoout_xv.cpp:611 (InitXVideo) VideoOutputXv: XVideo Adaptor Name: 'Radeon Textured Video'
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:228 (OverrideUIScale) OSD: Base theme size: 1280x720
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:233 (OverrideUIScale) OSD: Scaling factors: 0.5625x0.8
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:228 (OverrideUIScale) OSD: Base theme size: 1280x720
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:233 (OverrideUIScale) OSD: Scaling factors: 0.5625x0.8
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext mythplayer.cpp:1750 (InitAVSync) Player(3): Video timing method: DRM
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:5240 (StartPlayer) TV: Created player.
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2394 (HandleStateChange) TV: Changing from None to WatchingLiveTV
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2406 (HandleStateChange) TV: State is LiveTV & mctx == ctx
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2408 (HandleStateChange) TV: UpdateOSDInput done
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2410 (HandleStateChange) TV: UpdateLCD done
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2412 (HandleStateChange) TV: ITVRestart done
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2485 (HandleStateChange) TV: Main UI disabled.
Jan  2 05:37:45 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:403 (StartTV) TV: Entering main playback loop.
Jan  2 05:37:51 dront mythlogserver: mythfrontend[12249]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Jan  2 05:37:51 dront mythlogserver: mythfrontend[12249]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext videoout_xv.cpp:611 (InitXVideo) VideoOutputXv: XVideo Adaptor Name: 'Radeon Textured Video'
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:228 (OverrideUIScale) OSD: Base theme size: 1280x720
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:233 (OverrideUIScale) OSD: Scaling factors: 1.82812x0.563889
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:228 (OverrideUIScale) OSD: Base theme size: 1280x720
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:233 (OverrideUIScale) OSD: Scaling factors: 1.82812x0.563889
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext avformatdecoder.cpp:2145 (ScanStreams) AFD: Opened codec 0x40fd100, id(MPEG2VIDEO) type(Video)
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext avformatdecoder.cpp:2003 (ScanStreams) AFD: codec MP2 has 2 channels
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext avformatdecoder.cpp:2145 (ScanStreams) AFD: Opened codec 0x40fc100, id(MP2) type(Audio)
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext audio/audiooutputbase.cpp:791 (Reconfigure) AO: Opening audio device 'hdmi:CARD=HDMI,DEV=0' ch 2(2) sr 48000 sf signed 16 bit reenc 0
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: E CoreContext audio/audiooutputalsa.cpp:783 (SetParameters) ALSA: Requested 500000us got 341333 buffer time
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: E CoreContext audio/audiooutputalsa.cpp:242 (IncPreallocBufferSize) ALSA: Try to manually increase audio buffer with: echo 128 | sudo tee /proc/asound/card1/pcm3p/sub0/prealloc
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: N CoreContext avformatdecoder.cpp:783 (SetEof) AFD: Resetting byte context eof (livetv 1 was eof 0)
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:228 (OverrideUIScale) OSD: Base theme size: 1280x720
Jan  2 05:37:52 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:233 (OverrideUIScale) OSD: Scaling factors: 1.2x0.563889
Jan  2 05:37:58 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:228 (OverrideUIScale) OSD: Base theme size: 1280x720
Jan  2 05:37:58 dront mythlogserver: mythfrontend[12249]: I CoreContext osd.cpp:233 (OverrideUIScale) OSD: Scaling factors: 0.5625x0.8
Jan  2 05:37:58 dront mythlogserver: mythfrontend[12249]: I CoreContext mythpainter_ogl.cpp:62 (ClearCache) Clearing OpenGL painter cache.
Jan  2 05:37:59 dront mythlogserver: mythfrontend[12249]: I CoreContext videooutbase.cpp:1373 (DisplayOSD) VideoOutput: Created YV12 OSD.
Jan  2 05:37:59 dront mythlogserver: mythfrontend[12249]: I CoreContext mythcorecontext.cpp:1191 (CheckProtoVersion) Using protocol version 75
Jan  2 05:37:59 dront mythlogserver: mythfrontend[12249]: I CoreContext mythcorecontext.cpp:1191 (CheckProtoVersion) Using protocol version 75
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: E CoreContext fileringbuffer.cpp:290 (OpenFile) FileRingBuf(/media/Storage/LiveTV/1027_20130102043759.mpg): OpenFile(): File too small (0B).
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: E CoreContext mythplayer.cpp:2627 (JumpToProgram) Player(3): JumpToProgram's OpenFile failed (card type: DVB).
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: E CoreContext mythplayer.cpp:2628 (JumpToProgram) LiveTVChain has 4 entries#012   DUMMY: 1034 (04:37:45 to 04:37:45)#012     DVB: 1034 (04:37:46 to 04:37:58) discontinuous#012   DUMMY: 1027 (04:37:58 to 04:37:59) discontinuous#012*    DVB: 1027 (04:37:59 to 05:00:00) discontinuous
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: E CoreContext mythplayer.cpp:2839 (EventLoop) Player(3): Unknown recorder error, exiting decoder
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2155 (HandleStateChange) TV: Attempting to change from WatchingLiveTV to None
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: I CoreContext signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2394 (HandleStateChange) TV: Changing from WatchingLiveTV to None
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:405 (StartTV) TV: Exiting main playback loop.
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2155 (HandleStateChange) TV: Attempting to change from None to WatchingLiveTV
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: I CoreContext mythcorecontext.cpp:375 (ConnectCommandSocket) MythCoreContext: Connecting to backend server: 192.168.1.2:6543 (try 1 of 1)
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: I CoreContext mythcorecontext.cpp:1191 (CheckProtoVersion) Using protocol version 75
Jan  2 05:38:09 dront mythlogserver: mythfrontend[12249]: N CoreContext tv_play.cpp:2222 (HandleStateChange) TV: Spawning LiveTV Recorder -- begin
Jan  2 05:38:10 dront mythlogserver: mythfrontend[12249]: N CoreContext tv_play.cpp:2229 (HandleStateChange) TV: Spawning LiveTV Recorder -- end
Jan  2 05:38:10 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2250 (HandleStateChange) TV: playbackURL(/media/Storage/LiveTV/1034_20130102043809.mpg) cardtype(DUMMY)
Jan  2 05:38:10 dront mythlogserver: mythfrontend[12249]: E CoreContext tv_play.cpp:2267 (HandleStateChange) TV: LiveTV not successfully started
Jan  2 05:38:10 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:2485 (HandleStateChange) TV: Main UI disabled.
Jan  2 05:38:10 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:403 (StartTV) TV: Entering main playback loop.
Jan  2 05:38:10 dront mythlogserver: mythfrontend[12249]: I CoreContext tv_play.cpp:405 (StartTV) TV: Exiting main playback loop.
Jan  2 05:38:10 dront mythlogserver: mythfrontend[12249]: N CoreContext mythmainwindow.cpp:2606 (PauseIdleTimer) Resuming idle timer

Change History (8)

comment:1 Changed 11 years ago by Ernst Sjöstrand <ernstp@…>

Here's the backend log:

Jan  2 05:37:44 dront mythlogserver: mythbackend[12665]: I ProcessRequest mainserver.cpp:1395 (HandleAnnounce) MainServer::ANN Playback
Jan  2 05:37:44 dront mythlogserver: mythbackend[12665]: I ProcessRequest mainserver.cpp:1397 (HandleAnnounce) adding: dront as a client (events: 0)
Jan  2 05:37:44 dront mythlogserver: mythbackend[12665]: I TVRecEvent tv_rec.cpp:1043 (HandleStateChange) TVRec(1): Changing from None to WatchingLiveTV
Jan  2 05:37:44 dront mythlogserver: mythbackend[12665]: I TVRecEvent tv_rec.cpp:3562 (TuningCheckForHWChange) TVRec(1): HW Tuner: 1->1
Jan  2 05:37:45 dront mythlogserver: mythbackend[12665]: I CoreContext mythdbcon.cpp:409 (PurgeIdleConnections) New DB connection, total: 9
Jan  2 05:37:45 dront mythlogserver: mythbackend[12665]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 4.0 GB w/freq: 14 min
Jan  2 05:37:45 dront mythlogserver: mythbackend[12665]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 4.0 GB w/freq: 14 min
Jan  2 05:37:45 dront mythlogserver: mythbackend[12665]: E TVRecEvent recordinginfo.cpp:984 (InsertProgram) RecordingInfo::InsertProgram(ProgramInfo(1034_20130102043745.mpg): channame(TV4 Film) startts(Wed Jan 2 04:37:45 2013) endts(Wed Jan 2 05:00:00 2013)#012             recstartts(Wed Jan 2 04:37:45 2013) recendts(Wed Jan 2 05:00:00 2013)#012             title(Okänt)): recording already exists...
Jan  2 05:37:52 dront mythlogserver: mythbackend[12665]: I ProcessRequest recorderbase.cpp:395 (GetKeyframePositions) RecBase(1:/dev/dvb/adapter0/frontend0): GetKeyframePositions(113,9223372036854775807,#2) out of 11
Jan  2 05:37:52 dront mythlogserver: mythbackend[12665]: I ProcessRequest recorderbase.cpp:395 (GetKeyframePositions) RecBase(1:/dev/dvb/adapter0/frontend0): GetKeyframePositions(113,9223372036854775807,#3) out of 12
Jan  2 05:37:58 dront mythlogserver: mythbackend[12665]: I TVRecEvent tv_rec.cpp:3562 (TuningCheckForHWChange) TVRec(1): HW Tuner: 1->1
Jan  2 05:37:58 dront mythlogserver: mythbackend[12665]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 4.0 GB w/freq: 14 min
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(800) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(790) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(750) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(770) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(3220) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(3330) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(3240) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(3250) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(1200) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(65534) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(3280) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: E DVBRead dtvsignalmonitor.cpp:347 (HandlePMT) DTVSM(/dev/dvb/adapter0/frontend0): Wrong PMT; pmt->pn(3260) desired(3200)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: I ProcessRequest mainserver.cpp:1395 (HandleAnnounce) MainServer::ANN Playback
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: I ProcessRequest mainserver.cpp:1397 (HandleAnnounce) adding: dront as a client (events: 0)
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: I ProcessRequest mainserver.cpp:1510 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: I ProcessRequest mainserver.cpp:1512 (HandleAnnounce) adding: dront as a remote file transfer
Jan  2 05:37:59 dront mythlogserver: mythbackend[12665]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 4.0 GB w/freq: 14 min
Jan  2 05:38:09 dront mythlogserver: mythbackend[12665]: I TVRecEvent tv_rec.cpp:1043 (HandleStateChange) TVRec(1): Changing from WatchingLiveTV to None
Jan  2 05:38:09 dront mythlogserver: mythbackend[12665]: I TVRecEvent tv_rec.cpp:830 (FinishedRecording) TVRec(1): FinishedRecording(1027_2013-01-02T04:37:59Z) damaged recq:<RecordingQuality overall_score="0" key="1027_2013-01-02T04:37:59Z">#012    <Gap start="2013-01-02T04:37:59Z" end="2013-01-02T05:00:00Z" duration="1320" />#012</RecordingQuality>
Jan  2 05:38:09 dront mythlogserver: mythbackend[12665]: I ProcessRequest mainserver.cpp:1395 (HandleAnnounce) MainServer::ANN Playback
Jan  2 05:38:09 dront mythlogserver: mythbackend[12665]: I ProcessRequest mainserver.cpp:1397 (HandleAnnounce) adding: dront as a client (events: 0)
Jan  2 05:38:09 dront mythlogserver: mythbackend[12665]: I TVRecEvent tv_rec.cpp:1043 (HandleStateChange) TVRec(1): Changing from None to WatchingLiveTV
Jan  2 05:38:09 dront mythlogserver: mythbackend[12665]: I TVRecEvent tv_rec.cpp:3562 (TuningCheckForHWChange) TVRec(1): HW Tuner: 1->1
Jan  2 05:38:09 dront mythlogserver: mythbackend[12665]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 4.0 GB w/freq: 14 min
Jan  2 05:38:10 dront mythlogserver: mythbackend[12665]: I TVRecEvent tv_rec.cpp:1043 (HandleStateChange) TVRec(1): Changing from WatchingLiveTV to None
Jan  2 05:38:47 dront mythlogserver: mythbackend[12665]: I Scheduler scheduler.cpp:2128 (HandleReschedule) Reschedule requested for MATCH 0 0 0 - EITScanner
Jan  2 05:38:47 dront mythlogserver: mythbackend[12665]: I Scheduler scheduler.cpp:2241 (HandleReschedule) Scheduled 32 items in 0.1 = 0.02 match + 0.04 check + 0.03 place

comment:2 Changed 11 years ago by Ernst Sjöstrand <ernstp@…>

(gdb) bt full
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
No locals.
#1  0x00007f00d5c61a9b in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x4491260) at thread/qmutex_unix.cpp:99
No locals.
#2  QMutexPrivate::wait (this=0x4491260, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
        ts = {tv_sec = 1, tv_nsec = 139641606974128}
        pts = 0x0
        timer = {t1 = 8589934859, t2 = 139641384935773}
#3  0x00007f00d5c5d86d in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
        maximumSpinTime = <optimized out>
        averageWaitTime = <optimized out>
        actualWaitTime = <optimized out>
        spinTime = 8589934859
        d = 0x4491260
        elapsedTimer = {t1 = 887595, t2 = 294205530}
        maximumSpinTime = <optimized out>
        spinTime = <optimized out>
#4  0x00007f00d9310439 in lockInline (this=<optimized out>) at /usr/include/qt4/QtCore/qmutex.h:198
No locals.
#5  QMutexLocker (m=<optimized out>, this=0x7fff7b8e0220) at /usr/include/qt4/QtCore/qmutex.h:109
No locals.
#6  TV::ClearTunableCache (this=0x2ddcfa0) at tv_play.cpp:8085
        locker = {val = 140735266292432}
        __FUNCTION__ = "ClearTunableCache"
#7  0x000000000053a8a8 in GuideGrid::updateChannels (this=0x2a13270) at guidegrid.cpp:1515
        chinfo = 0x7f007802b760
#8  0x000000000053b525 in GuideGrid::Init (this=0x2a13270) at guidegrid.cpp:342
        changrpname = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 4862}, alloc = 0, size = 0, data = 0x7f00d60b78fa, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1923}, alloc = 0, size = 0, data = 0x7f00d60b78da, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x7f00d8612ab0, static codecForCStrings = 0x0}
#9  0x00007f00d850ea06 in MythScreenType::doInit (this=0x2a13270) at mythscreentype.cpp:401
        locker = {m_lock = 0x2a133e8}
#10 0x00007f00d8503181 in MythScreenStack::doInit (this=0x2651bf0) at mythscreenstack.cpp:237
No locals.
#11 0x00007f00d5d76281 in QMetaObject::activate (sender=0x301ecf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
        receiverInSameThread = true
        previousSender = 0x0
        callFunction = 0x7f00d8612ab0 <MythScreenStack::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>
        receiver = 0x2651bf0
        currentSender = {sender = 0x301ecf0, signal = 4, ref = 1}
        method_relative = 1
        c = 0x300c680
        last = 0x300c680
        methodOffset = 4
        signal_absolute_index = 4
        empty_argv = {0x0}
        locker = {val = 33442416}
        connectionLists = 0x437b470
        list = 0x2d22b50
        signalOffset = 2
        signal_index = <optimized out>
        currentThreadId = 139641631192960
#12 0x00007f00d5d7fa4f in QSingleShotTimer::timerEvent (this=0x301ecf0) at kernel/qtimer.cpp:317
No locals.
#13 0x00007f00d5d7b179 in QObject::event (this=0x301ecf0, e=<optimized out>) at kernel/qobject.cpp:1157
No locals.
#14 0x00007f00d65d0894 in notify_helper (e=0x7fff7b8e0cb0, receiver=0x301ecf0, this=0x1dbac50) at kernel/qapplication.cpp:4559
        consumed = <optimized out>
#15 QApplicationPrivate::notify_helper (this=0x1dbac50, receiver=0x301ecf0, e=0x7fff7b8e0cb0) at kernel/qapplication.cpp:4531
No locals.
---Type <return> to continue, or q <return> to quit---
#16 0x00007f00d65d5713 in QApplication::notify (this=0x1dba810, receiver=0x301ecf0, e=0x7fff7b8e0cb0) at kernel/qapplication.cpp:4420
        d = 0x1dbac50
        res = false
#17 0x00007f00d5d61e9c in QCoreApplication::notifyInternal (this=0x1dba810, receiver=0x301ecf0, event=0x7fff7b8e0cb0) at kernel/qcoreapplication.cpp:876
        threadData = 0x1d8f7e0
        returnValue = <optimized out>
        result = false
        cbdata = {0x301ecf0, 0x7fff7b8e0cb0, 0x7fff7b8e0c5f}
        d = <optimized out>
#18 0x00007f00d5d931f2 in sendEvent (event=0x7fff7b8e0cb0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
No locals.
#19 QTimerInfoList::activateTimers (this=0x1dbe4e0) at kernel/qeventdispatcher_unix.cpp:611
        e = {<QEvent> = {_vptr.QEvent = 0x7f00d60b2950, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f00d5e4e3c0 "QEvent", data = 0x7f00d5e4eda0, extradata = 0x0}}, d = 0x0, t = 1, 
            posted = 0, spont = 0, m_accept = 1, reserved = 59}, id = 1090519057}
        currentTimerInfo = 0x0
        n_act = 2
        maxCount = <optimized out>
        currentTime = {tv_sec = 887586, tv_usec = 703428}
#20 0x00007f00d5d90c0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
No locals.
#21 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
No locals.
#22 0x00007f00cc14fd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#23 0x00007f00cc1500a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#24 0x00007f00cc150164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#25 0x00007f00d5d913bf in QEventDispatcherGlib::processEvents (this=0x1dbbf10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
        d = 0x1dbbf30
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#26 0x00007f00d6678d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
        d = 0x1dbbf30
        saved_flags = {i = 0}
        returnValue = false
#27 0x00007f00d5d60c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
        d = 0x2793830
#28 0x00007f00d5d60ed7 in QEventLoop::exec (this=0x7fff7b8e0f10, flags=...) at kernel/qeventloop.cpp:204
        d = 0x2793830
        locker = {val = 30996776}
        app = 0x1dba810
#29 0x00007f00d5d65f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
        threadData = 0x1d8f7e0
        eventLoop = {<QObject> = {_vptr.QObject = 0x7f00d60b5650, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f00d5e3b820 "QObject", data = 0x7f00d5e3b8c0, 
                extradata = 0x7f00d60b2b80}}, static staticMetaObjectExtraData = {objects = 0x0, static_metacall = 0x7f00d5d7a390 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, 
            d_ptr = {d = 0x2793830}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f00d5e44740 "Qt", data = 0x7f00d5e48060, extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x7f00d60b2b60, stringdata = 0x7f00d5e4e1c0 "QEventLoop", data = 0x7f00d5e4e1e0, extradata = 0x7f00d60b56e0}}, static staticMetaObjectExtraData = {objects = 0x0, 
            static_metacall = 0x7f00d5dc2e20 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}}
        returnCode = <optimized out>
#30 0x000000000043028f in main (argc=3, argv=<optimized out>) at main.cpp:1741
        cmdline = {<MythCommandLineParser> = {_vptr.MythCommandLineParser = 0x8d3070, m_appname = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 4862}, alloc = 0, size = 0, 
                data = 0x7f00d60b78fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1923}, alloc = 0, 
                size = 0, data = 0x7f00d60b78da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1db1f90, static codecForCStrings = 0x0}, 
            m_optionedArgs = {{d = 0x1db25e0, e = 0x1db25e0}}, m_namedArgs = {{d = 0x1db24b0, e = 0x1db24b0}}, m_passthroughActive = false, m_overridesImported = true, m_verbose = false}, <No data fields>}
        __FUNCTION__ = "main"
        fileprefix = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 4862}, alloc = 0, size = 0, data = 0x7f00d60b78fa, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1923}, alloc = 0, size = 0, data = 0x7f00d60b78da, clean = 0, simpletext = 0, righttoleft = 0, 
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1f7a530, static codecForCStrings = 0x0}
---Type <return> to continue, or q <return> to quit---
        bonjour = {d = 0x1fe2c80}
        themename = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 4862}, alloc = 0, size = 0, data = 0x7f00d60b78fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1923}, alloc = 0, size = 0, data = 0x7f00d60b78da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, d = 0x1fac360, static codecForCStrings = 0x0}
        mainWindow = <optimized out>
        profile = <optimized out>
        sysEventHandler = 0x27932a0
        bBypassAutoDiscovery = <optimized out>
        signallist = {{p = {static shared_null = {ref = {_q_value = 5430}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x1f6b1e0}, d = 0x1f6b1e0}}
        retval = <optimized out>
        ResetSettings = <optimized out>
        themedir = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 4862}, alloc = 0, size = 0, data = 0x7f00d60b78fa, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 1923}, alloc = 0, size = 0, data = 0x7f00d60b78da, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, 
            capacity = 0, reserved = 0, array = {0}}, d = 0x1f7f690, static codecForCStrings = 0x0}
        bPromptForBackend = <optimized out>
        callCleanup = {m_cleanFunction = 0x438430 <(anonymous namespace)::cleanup()>}
        mon = 0x2236680
        networkControl = 0x2233030
        themeUpdateChecker = 0x278ad90
        ret = <optimized out>
        dir = {d_ptr = {d = 0x1f7bf50}}
        bcm = {<QObject> = {_vptr.QObject = 0x8d77b0, static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x7f00d5e3b820 "QObject", data = 0x7f00d5e3b8c0, extradata = 0x7f00d60b2b80}}, 
            static staticMetaObjectExtraData = {objects = 0x0, static_metacall = 0x7f00d5d7a390 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, d_ptr = {d = 0x278ae10}, 
            static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 0x7f00d5e44740 "Qt", data = 0x7f00d5e48060, extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7f00d60b2b60, 
              stringdata = 0x669900 "BackendConnectionManager", data = 0x669940, extradata = 0x8d7840}}, static staticMetaObjectExtraData = {objects = 0x0, 
            static_metacall = 0x63a1a0 <BackendConnectionManager::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>}, m_reconnecting = 0x0, m_reconnect_timer = 0x26ffa60}

(gdb) thread apply all backtrace

Thread 26 (Thread 0x7f00bc5ac700 (LWP 12301)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f00d5c6343f in wait (time=100, this=0x1f7a2a0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f00d8c43190, time=100) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f00d89978d8 in LoggerThread::run (this=0x1f7afd0) at logging.cpp:384
#4  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x1f7ac90) at thread/qthread_unix.cpp:298
#5  0x00007f00d755ce9a in start_thread (arg=0x7f00bc5ac700) at pthread_create.c:308
#6  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 25 (Thread 0x7f00bb654700 (LWP 12303)):
#0  0x00007f00d5406353 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00cf9fa410 in zmq::epoll_t::loop (this=0x7f00b400d5c0) at epoll.cpp:142
#2  0x00007f00cfa0ae86 in thread_routine (arg_=0x7f00b400d630) at thread.cpp:75
#3  0x00007f00d755ce9a in start_thread (arg=0x7f00bb654700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 24 (Thread 0x7f00bae53700 (LWP 12304)):
#0  0x00007f00d5406353 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00cf9fa410 in zmq::epoll_t::loop (this=0x7f00b400dbd0) at epoll.cpp:142
#2  0x00007f00cfa0ae86 in thread_routine (arg_=0x7f00b400dc40) at thread.cpp:75
#3  0x00007f00d755ce9a in start_thread (arg=0x7f00bae53700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 23 (Thread 0x7f00ba652700 (LWP 12305)):
#0  0x00007f00d5406353 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00cf9fa410 in zmq::epoll_t::loop (this=0x7f00b400e1e0) at epoll.cpp:142
#2  0x00007f00cfa0ae86 in thread_routine (arg_=0x7f00b400e250) at thread.cpp:75
#3  0x00007f00d755ce9a in start_thread (arg=0x7f00ba652700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 22 (Thread 0x7f00b9e51700 (LWP 12306)):
#0  0x00007f00d5406353 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00cf9fa410 in zmq::epoll_t::loop (this=0x7f00b400e7f0) at epoll.cpp:142
#2  0x00007f00cfa0ae86 in thread_routine (arg_=0x7f00b400e860) at thread.cpp:75
#3  0x00007f00d755ce9a in start_thread (arg=0x7f00b9e51700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 21 (Thread 0x7f00b9650700 (LWP 12307)):
#0  0x00007f00d5406353 in epoll_wait () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00cf9fa410 in zmq::epoll_t::loop (this=0x7f00b400ee30) at epoll.cpp:142
#2  0x00007f00cfa0ae86 in thread_routine (arg_=0x7f00b400eea0) at thread.cpp:75
#3  0x00007f00d755ce9a in start_thread (arg=0x7f00b9650700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7f00b8e4f700 (LWP 12311)):
#0  0x00007f00d756452d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00d89e0602 in MythSystemManager::run (this=0x1f9fa80) at system-unix.cpp:272
#2  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x1f9fb20) at thread/qthread_unix.cpp:298
#3  0x00007f00d755ce9a in start_thread (arg=0x7f00b8e4f700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7f00b3fff700 (LWP 12312)):
---Type <return> to continue, or q <return> to quit---
#0  0x00007f00d756452d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00d89df8f3 in MythSystemSignalManager::run (this=0x1f718c0) at system-unix.cpp:496
#2  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x1d96240) at thread/qthread_unix.cpp:298
#3  0x00007f00d755ce9a in start_thread (arg=0x7f00b3fff700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f00b37fe700 (LWP 12313)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00d5c634db in wait (time=18446744073709551615, this=0x1fa0be0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1fafd70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f00d89df022 in MythSystemIOHandler::run (this=0x1fafd50) at system-unix.cpp:100
#4  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x1d952b0) at thread/qthread_unix.cpp:298
#5  0x00007f00d755ce9a in start_thread (arg=0x7f00b37fe700) at pthread_create.c:308
#6  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f00b2ffd700 (LWP 12314)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00d5c634db in wait (time=18446744073709551615, this=0x1fa10e0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1fbfe40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f00d89df022 in MythSystemIOHandler::run (this=0x1fbfe20) at system-unix.cpp:100
#4  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x1fa0e60) at thread/qthread_unix.cpp:298
#5  0x00007f00d755ce9a in start_thread (arg=0x7f00b2ffd700) at pthread_create.c:308
#6  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f00b1ffb700 (LWP 12318)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f00d5c6343f in wait (time=1000, this=0x7f00b40170e0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x7f00b4016d70, time=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f00d88fb6ef in MythSignalingTimer::run (this=0x7f00b4016d40) at mythsignalingtimer.cpp:84
#4  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x7f00b400b290) at thread/qthread_unix.cpp:298
#5  0x00007f00d755ce9a in start_thread (arg=0x7f00b1ffb700) at pthread_create.c:308
#6  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f00b27fc700 (LWP 12320)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00cffad222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f00cffad259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f00d755ce9a in start_thread (arg=0x7f00b27fc700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f00b17fa700 (LWP 12321)):
#0  0x00007f00d53ff023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00d8c7ce8b in SSDP::run (this=0x1fea1a0) at ssdp.cpp:292
#2  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x1f7df20) at thread/qthread_unix.cpp:298
#3  0x00007f00d755ce9a in start_thread (arg=0x7f00b17fa700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f00b0ff9700 (LWP 12350)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f00d5c61c98 in thread_sleep (ti=0x7f00b0ff8db0) at thread/qthread_unix.cpp:435
#2  0x00007f00d5c62490 in QThread::msleep (msecs=<optimized out>) at thread/qthread_unix.cpp:461
#3  0x00007f00d8c7f36a in TaskQueue::run (this=0x1fe9200) at taskqueue.cpp:150
#4  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x1fd2a20) at thread/qthread_unix.cpp:298
#5  0x00007f00d755ce9a in start_thread (arg=0x7f00b0ff9700) at pthread_create.c:308
---Type <return> to continue, or q <return> to quit---
#6  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f008ffff700 (LWP 12351)):
#0  0x00007f00d7563d2d in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00cfc21d37 in ?? () from /usr/lib/x86_64-linux-gnu/libdns_sd.so.1
#2  0x00007f00cfc21df0 in ?? () from /usr/lib/x86_64-linux-gnu/libdns_sd.so.1
#3  0x00007f00d755ce9a in start_thread (arg=0x7f008ffff700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f008f7fe700 (LWP 12352)):
#0  0x00007f00d53fa303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f00cc150036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f00cc150164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f00d5d913bf in QEventDispatcherGlib::processEvents (this=0x7f00880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f00d5d60c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f00d5d60ed7 in QEventLoop::exec (this=0x7f008f7fddf0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f00d5c5ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f00d88b4d49 in QThreadRun (this=<optimized out>) at mthread.cpp:81
#8  MThread::run (this=0x1fe6220) at mthread.cpp:321
#9  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x1fe6660) at thread/qthread_unix.cpp:298
#10 0x00007f00d755ce9a in start_thread (arg=0x7f008f7fe700) at pthread_create.c:308
#11 0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f008effd700 (LWP 12353)):
#0  0x00007f00d53fa303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f00cfc21f14 in ?? () from /usr/lib/x86_64-linux-gnu/libdns_sd.so.1
#2  0x00007f00c95514fb in avahi_simple_poll_run () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#3  0x00007f00cfc21e35 in ?? () from /usr/lib/x86_64-linux-gnu/libdns_sd.so.1
#4  0x00007f00d755ce9a in start_thread (arg=0x7f008effd700) at pthread_create.c:308
#5  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f008e7fc700 (LWP 12354)):
#0  0x00007f00d53ff023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00d85e7ea5 in LIRC::run (this=0x1fdc510) at lirc.cpp:444
#2  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x1fdcdd0) at thread/qthread_unix.cpp:298
#3  0x00007f00d755ce9a in start_thread (arg=0x7f008e7fc700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f0085a81700 (LWP 12362)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f008c8b2e83 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f00d755ce9a in start_thread (arg=0x7f0085a81700) at pthread_create.c:308
#3  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f007262a700 (LWP 12375)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f00d5c61c98 in thread_sleep (ti=0x7f0072629e20) at thread/qthread_unix.cpp:435
#2  0x00007f00d5c62490 in QThread::msleep (msecs=<optimized out>) at thread/qthread_unix.cpp:461
#3  0x00007f00d7f8c7cc in MonitorThread::run (this=0x222d150) at mythmediamonitor.cpp:55
#4  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x2244230) at thread/qthread_unix.cpp:298
#5  0x00007f00d755ce9a in start_thread (arg=0x7f007262a700) at pthread_create.c:308
#6  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

---Type <return> to continue, or q <return> to quit---
Thread 6 (Thread 0x7f0071e29700 (LWP 12376)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00d5c634db in wait (time=18446744073709551615, this=0x2651950) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x22330c8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000004f9a7a in NetworkControl::run (this=0x2233030) at networkcontrol.cpp:258
#4  0x00007f00d88b4d37 in MThread::run (this=0x1ff9550) at mthread.cpp:319
#5  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x2674cc0) at thread/qthread_unix.cpp:298
#6  0x00007f00d755ce9a in start_thread (arg=0x7f0071e29700) at pthread_create.c:308
#7  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0071628700 (LWP 12377)):
#0  0x00007f00d53fa303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f00cc150036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f00cc150164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f00d5d913bf in QEventDispatcherGlib::processEvents (this=0x7f006c00b490, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f00d5d60c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f00d5d60ed7 in QEventLoop::exec (this=0x7f0071627df0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f00d5c5ffa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f00d88b4d49 in QThreadRun (this=<optimized out>) at mthread.cpp:81
#8  MThread::run (this=0x267e510) at mthread.cpp:321
#9  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x2708de0) at thread/qthread_unix.cpp:298
#10 0x00007f00d755ce9a in start_thread (arg=0x7f0071628700) at pthread_create.c:308
#11 0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f006b816700 (LWP 12388)):
#0  0x00007f00d53ff023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f00d88cbd69 in MythSocketThread::run (this=0x277c230) at mythsocketthread.cpp:263
#2  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x25b8820) at thread/qthread_unix.cpp:298
#3  0x00007f00d755ce9a in start_thread (arg=0x7f006b816700) at pthread_create.c:308
#4  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f006675e700 (LWP 13250)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00d5c634db in wait (time=18446744073709551615, this=0x30b6980) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2e70240, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f00d893f6c7 in MythDownloadManager::run (this=0x2e701f0) at mythdownloadmanager.cpp:292
#4  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x30947e0) at thread/qthread_unix.cpp:298
#5  0x00007f00d755ce9a in start_thread (arg=0x7f006675e700) at pthread_create.c:308
#6  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0064f7c700 (LWP 13416)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f00d5c6343f in wait (time=14, this=0x2014ae0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2010250, time=14) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f00d88fb6ef in MythSignalingTimer::run (this=0x2010220) at mythsignalingtimer.cpp:84
#4  0x00007f00d5c62fcb in QThreadPrivate::start (arg=0x20059e0) at thread/qthread_unix.cpp:298
#5  0x00007f00d755ce9a in start_thread (arg=0x7f0064f7c700) at pthread_create.c:308
#6  0x00007f00d5405cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f00d9d2b780 (LWP 12249)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:39
#1  0x00007f00d5c61a9b in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x4491260) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x4491260, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f00d5c5d86d in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f00d9310439 in lockInline (this=<optimized out>) at /usr/include/qt4/QtCore/qmutex.h:198
---Type <return> to continue, or q <return> to quit---
#5  QMutexLocker (m=<optimized out>, this=0x7fff7b8e0220) at /usr/include/qt4/QtCore/qmutex.h:109
#6  TV::ClearTunableCache (this=0x2ddcfa0) at tv_play.cpp:8085
#7  0x000000000053a8a8 in GuideGrid::updateChannels (this=0x2a13270) at guidegrid.cpp:1515
#8  0x000000000053b525 in GuideGrid::Init (this=0x2a13270) at guidegrid.cpp:342
#9  0x00007f00d850ea06 in MythScreenType::doInit (this=0x2a13270) at mythscreentype.cpp:401
#10 0x00007f00d8503181 in MythScreenStack::doInit (this=0x2651bf0) at mythscreenstack.cpp:237
#11 0x00007f00d5d76281 in QMetaObject::activate (sender=0x301ecf0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#12 0x00007f00d5d7fa4f in QSingleShotTimer::timerEvent (this=0x301ecf0) at kernel/qtimer.cpp:317
#13 0x00007f00d5d7b179 in QObject::event (this=0x301ecf0, e=<optimized out>) at kernel/qobject.cpp:1157
#14 0x00007f00d65d0894 in notify_helper (e=0x7fff7b8e0cb0, receiver=0x301ecf0, this=0x1dbac50) at kernel/qapplication.cpp:4559
#15 QApplicationPrivate::notify_helper (this=0x1dbac50, receiver=0x301ecf0, e=0x7fff7b8e0cb0) at kernel/qapplication.cpp:4531
#16 0x00007f00d65d5713 in QApplication::notify (this=0x1dba810, receiver=0x301ecf0, e=0x7fff7b8e0cb0) at kernel/qapplication.cpp:4420
#17 0x00007f00d5d61e9c in QCoreApplication::notifyInternal (this=0x1dba810, receiver=0x301ecf0, event=0x7fff7b8e0cb0) at kernel/qcoreapplication.cpp:876
#18 0x00007f00d5d931f2 in sendEvent (event=0x7fff7b8e0cb0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QTimerInfoList::activateTimers (this=0x1dbe4e0) at kernel/qeventdispatcher_unix.cpp:611
#20 0x00007f00d5d90c0d in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#21 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#22 0x00007f00cc14fd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f00cc1500a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f00cc150164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f00d5d913bf in QEventDispatcherGlib::processEvents (this=0x1dbbf10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#26 0x00007f00d6678d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007f00d5d60c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x00007f00d5d60ed7 in QEventLoop::exec (this=0x7fff7b8e0f10, flags=...) at kernel/qeventloop.cpp:204
#29 0x00007f00d5d65f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#30 0x000000000043028f in main (argc=3, argv=<optimized out>) at main.cpp:1741

comment:3 Changed 11 years ago by John.H.Haller@…

Since the semaphore guarding the data structure is only held while manipulating a map structure and never held over a function call other than the map, this looks like a data corruption problem, not a lock problem, perhaps a use after free bug.

In my case, this mostly happens after the front-end suffers a very long response time on a disk write: 2013-06-14 22:57:14.709036 W [5633/29415] TFWWrite ThreadedFileWriter?.cpp:499 (DiskLoop?) - TFW(/mythstore/5289_20130614225311.mpg:69): write(57528) cnt 617 total 35698568 -- took a long time, 20489 ms

comment:4 Changed 11 years ago by Raymond Wagner

Priority: criticalminor
Severity: highmedium

comment:5 Changed 11 years ago by stuartm

Milestone: unknown0.27
Priority: minormajor

comment:6 Changed 10 years ago by JYA

Status: newinfoneeded_new

Please try with latest 0.27...

comment:7 Changed 10 years ago by JYA

Owner: changed from danielk to JYA

comment:8 Changed 10 years ago by JYA

Resolution: Works for me
Status: infoneeded_newclosed
Note: See TracTickets for help on using tickets.