XBMC-PVR Freezes after changing Channel
#1
FINALLY CAUGHT IT.
It has been bugging me now for a couple of days.

Steps to reproduce:
1) Watch every channel using the TVHeadEnd Backend Using GIT 661 (Compiled it yesterday)
2) Switch channel a couple of times using fullscreen
3) Go back to channel list (where you have the Live TV on a Little Rectangle)
4) Change channels
5) XBMC Freezes.

Log keeps showing:
18:59:16 T:139903421593344 DEBUG: CDVDPlayer::SetCaching - caching state 3
18:59:16 T:139903421593344 DEBUG: PVRManager - PerformChannelSwitch - switching to channel 'BBC One HD'
18:59:16 T:139904112719616 DEBUG: CSoftAE::Run - Sink restart flagged
18:59:16 T:139904112719616 INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 48000hz
18:59:16 T:139904112719616 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
18:59:16 T:139904112719616 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 4096
18:59:16 T:139903421593344 DEBUG: PVR - SaveCurrentChannelSettings - no custom channel settings for channel 'Channel 4 HD'
18:59:16 T:139903421593344 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
18:59:16 T:139903421593344 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
18:59:16 T:139903421593344 DEBUG: AddOnLog: Tvheadend HTSP Client: SwitchChannel - changing to channel 'BBC One HD'
18:59:16 T:139903421593344 NOTICE: PVRManager - PerformChannelSwitch - switched to channel 'BBC One HD'
18:59:16 T:139903421593344 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
18:59:16 T:139903421593344 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
18:59:22 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_wait) - underrun
18:59:23 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_writei(1)) - underrun
18:59:41 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_wait) - underrun
18:59:46 T:139903459358464 DEBUG: Thread Jobworker 139903459358464 terminating (autodelete)
18:59:46 T:139903476143872 DEBUG: Thread Jobworker 139903476143872 terminating (autodelete)
18:59:46 T:139904159057664 DEBUG: Thread Jobworker 139904159057664 terminating (autodelete)
18:59:47 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_wait) - underrun
19:00:10 T:139904112719616 ERROR: Previous line repeats 2 times.
19:00:10 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_writei(1)) - underrun
19:00:34 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_wait) - underrun
19:01:01 T:139904112719616 ERROR: Previous line repeats 1 times.
19:01:01 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_writei(1)) - underrun
19:02:40 T:139904112719616 ERROR: Previous line repeats 3 times.
19:02:40 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_wait) - underrun
19:03:13 T:139904112719616 ERROR: Previous line repeats 1 times.
19:03:13 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_writei(1)) - underrun
19:03:45 T:139904112719616 ERROR: Previous line repeats 2 times.
19:03:45 T:139904112719616 ERROR: CAESinkALSA::HandleError(snd_pcm_wait) - underrun

But the GUI is totally unresponsive.

I'm using sound over HDMI, Fedora 17.
Compile options:

./configure \
--prefix=%{_prefix} --bindir=%{_bindir} --includedir=%{_includedir} \
--libdir=%{_libdir} --datadir=%{_datadir} \
--enable-external-libraries \
--enable-vdpau \
--enable-rtmp \
--disable-dvdcss \
--disable-debug \
--disable-optimizations \
CPPFLAGS="-I/usr/include/ffmpeg" \
CFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/ffmpeg -D__STDC_CONSTANT_MACROS" \
CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/ffmpeg -D__STDC_CONSTANT_MACROS" \
LDFLAGS="-fPIC" \
LIBS="-L%{_libdir}/mysql -lhdhomerun $LIBS" \
ASFLAGS=-fPIC

Attaching an strace basically shows nothing. I'm able to reproduce it now, so let me know if you need any more tests.
Reply
#2
i have exactly the same problem.
i't been bugging me for some time now.

i hope someone can give us a lead...
Reply
#3
After talking today with opdenkamp, he suggested that the issue might have been caused by
https://github.com/xbmc/xbmc/commit/7266...42ab3af070

So I reverted this patch, and I'm trying it this afternoon
122 git clone git://github.com/xbmc/xbmc.git
124 cd xbmc/
125 git revert 7266a86

Will update...
Reply
#4
So far so good, apparently the issue is related with that patch
Reply
#5
known issue. and yes, it is caused by that change.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#6
The issue I have is similar, I was watching LiveTv on a channel diff to a scheduled recording. TVHeadend must of closed the stream to change channel and start recording and XBMC just froze and was unresponsive. When this happens how can I close XBMC without having to restart the PC? (Ubuntu 12.04)
Reply
#7
killall xbmc.bin
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#8
Does this affect Windows too, as my wife has been complaining to me today! (I disconnected the Sky+ box and made XBMC the main media centre for the house, I'm in soooo much trouble!)
Reply
#9
yes
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#10
and don't use alpha builds if you don't want to upset the wife
install an Eden+PVR binary instead, e.g. from http://xbmc.opdenkamp.eu/
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#11
Unfortunately I tried to go back to Eden + PVR, however I couldn't get NextPVR working in it at all, so we are where we are Sad

Is it something that'll be fixed with one of the new nightlies if it's just a case of reverting a patch?
Reply
#12
No more freezing , tested with openelec build from today 26th r12275
Reply
#13
I haven't tried to build it again. I've seen that opdenkamp sent a commit regarding this... I'll probably try it this week
Reply



Logout Mark Read Team Forum Stats Members Help
XBMC-PVR Freezes after changing Channel0
This forum uses Lukasz Tkacz MyBB addons.