Opened 9 years ago

Closed 4 years ago

#12367 closed Bug Report - General (Unverified)

Mythfrontend and mythbackend both hang when trying to change channel in liveTV

Reported by: eorndil@… Owned by:
Priority: major Milestone: unknown
Component: MythTV - DVB Version: 0.27.4
Severity: high Keywords:
Cc: Ticket locked: no

Description

Hello,

I've read many threads about similar problems, but didn't find the solution. When I'm watching LiveTV, I can't change channel without bug of the frontend wich send me back to the menu ans being frozen.

It was working fine when the Backend and Frontend was on the same server, since I've installed a dedicated backend, it doesn't work.

I first read that the livetv storage should not be on a Raid array, so I put it on a stand alone partition with 600Gb space.

I then downgrade from 0.28 to 0.27.4...

Tried to change the video codec (ffmpeg, vdpau low quality...)

I've run the backend with full verbose options, when I chanhe the channel, it flood this before stopping :

2015-02-07 00:34:40.534056 D RingBuf?(/media/livetv/1283_20150206233422.mpg): rbwpos += 0K requested 128K in read 2015-02-07 00:34:40.534066 D RingBuf?(/media/livetv/1283_20150206233422.mpg): total read so far: 10587972 bytes 2015-02-07 00:34:40.534079 D RingBuf?(/media/livetv/1283_20150206233422.mpg): EOF encountered, but /media/livetv/1283_20150206233422.mpg still being written to 2015-02-07 00:34:40.574265 D RingBuf?(/media/livetv/1283_20150206233422.mpg): @ end of read ahead loop 2015-02-07 00:34:40.579452 D RingBuf?(/media/livetv/1283_20150206233422.mpg): safe_read(...@2199364, 131072) -- begin 2015-02-07 00:34:40.579474 D FileRingBuf?(/media/livetv/1283_20150206233422.mpg): not reading, reached EOF 2015-02-07 00:34:40.579502 I RingBuf?(/media/livetv/1283_20150206233422.mpg): safe_read(...@2199364, 131072) -> 0, took 0 ms (1000Mbps) avg 270 ms 2015-02-07 00:34:40.579516 D RingBuf?(/media/livetv/1283_20150206233422.mpg): rbwpos += 0K requested 128K in read 2015-02-07 00:34:40.579527 D RingBuf?(/media/livetv/1283_20150206233422.mpg): total read so far: 10587972 bytes 2015-02-07 00:34:40.579540 D RingBuf?(/media/livetv/1283_20150206233422.mpg): EOF encountered, but /media/livetv/1283_20150206233422.mpg still being written to 2015-02-07 00:34:40.639691 D RingBuf?(/media/livetv/1283_20150206233422.mpg): @ end of read ahead loop 2015-02-07 00:34:40.644860 D RingBuf?(/media/livetv/1283_20150206233422.mpg): safe_read(...@2199364, 131072) -- begin 2015-02-07 00:34:40.644883 D FileRingBuf?(/media/livetv/1283_20150206233422.mpg): not reading, reached EOF 2015-02-07 00:34:40.644911 I RingBuf?(/media/livetv/1283_20150206233422.mpg): safe_read(...@2199364, 131072) -> 0, took 0 ms (1000Mbps) avg 270 ms 2015-02-07 00:34:40.644925 D RingBuf?(/media/livetv/1283_20150206233422.mpg): rbwpos += 0K requested 128K in read 2015-02-07 00:34:40.644935 D RingBuf?(/media/livetv/1283_20150206233422.mpg): total read so far: 10587972 bytes 2015-02-07 00:34:40.644948 D RingBuf?(/media/livetv/1283_20150206233422.mpg): EOF encountered, but /media/livetv/1283_20150206233422.mpg still being written to

Version:

Please attach all output as a file in bug reports. MythTV Version : v0.27.4-30-g3b43903 MythTV Branch : fixes/0.27 Network Protocol : 77 Library API : 0.27.20141016-1 QT Version : 4.8.6 Options compiled in:

linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2

Change History (3)

comment:1 Changed 9 years ago by stuartm

Summary: Mythfrontend and mythbackend both crash when trying to change channel in liveTVMythfrontend and mythbackend both hang when trying to change channel in liveTV

comment:2 Changed 9 years ago by eorndil@…

I've identify that I can switch channels wich are in the same mplexid. But when I change mplexid (frequency), it fail. Furthermore, I've tryied with a second tunner and the issue happens only with my Pinnacle PCTV 340e and in 2 differents Frontend.

I've tested my tuner with Kaffeine and it works. I've rescan all my channels with w_scan and I've found all the channels.

I'm stuck.

comment:3 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.