Project

General

Profile

Last couple of nightlys (unstable): TVheadend stuck in loop during startup

Added by Stian Øby Johansen over 10 years ago

Hello,

For a while I had several minor issues with TVheadend, especially continuity counter errors. After a while I dared to upgrade to the unstable repository, and to my suprise all my issues were fixed! However, some time this week i upgraded my TVheadend install with the result that it did no longer start properly. I think this happened when I upgraded from 3.9.866~g626d2f0~precise --> 3.9.904~g672f93d~precise. But it might have happened earlier, when I updated from 3.9.788~g385c190~precise ---> 3.9.866~g626d2f0~precise.

Now, when i start tvheadend with the debug (-d) option with the hts user on my Linux media center I get the following - first a normal status message and then a loop of adding the same services over and over again hundreds of times in seconds:

2014-06-20 20:51:43.057 [   INFO] charset: 138 entries loaded
2014-06-20 20:51:46.841 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0078] to queue weight 4
2014-06-20 20:51:46.842 [  DEBUG] mpegts: 264000 - add service 00BD (null)
2014-06-20 20:51:46.842 [  DEBUG] mpegts: 264000 - add service 00B6 (null)
2014-06-20 20:51:46.842 [  DEBUG] mpegts: 264000 - add service 00BC (null)
2014-06-20 20:51:46.842 [  DEBUG] mpegts: 264000 - add service 0412 Viasat Fotball HD
2014-06-20 20:51:46.842 [  DEBUG] mpegts: 264000 - add service 006C (null)
2014-06-20 20:51:46.842 [  DEBUG] mpegts: 264000 - add service 0411 Viasat 4 HD
2014-06-20 20:51:46.842 [  DEBUG] mpegts: 264000 - add service 2327 MH.C
2014-06-20 20:51:46.843 [  DEBUG] mpegts: 264000 - add service 0410 TV3 HD
2014-06-20 20:51:46.843 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:007A] to queue weight 4
2014-06-20 20:51:46.844 [  DEBUG] mpegts: 256000 - add service 00BC NRK2 HD
2014-06-20 20:51:46.844 [  DEBUG] mpegts: 256000 - add service 006C TV2 HD
2014-06-20 20:51:46.844 [  DEBUG] mpegts: 256000 - add service 0412 (null)
2014-06-20 20:51:46.844 [  DEBUG] mpegts: 256000 - add service 00BD NRK3 / Super HD
2014-06-20 20:51:46.844 [  DEBUG] mpegts: 256000 - add service 0410 (null)
2014-06-20 20:51:46.844 [  DEBUG] mpegts: 256000 - add service 2327 MH.C
2014-06-20 20:51:46.844 [  DEBUG] mpegts: 256000 - add service 00B6 NRK1 HD
2014-06-20 20:51:46.845 [  DEBUG] mpegts: 256000 - add service 0411 (null)
2014-06-20 20:51:46.845 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0078] to queue weight 4
2014-06-20 20:51:46.846 [  DEBUG] mpegts: 264000 - add service 0411 Viasat 4 HD
2014-06-20 20:51:46.846 [  DEBUG] mpegts: 264000 - add service 006C (null)
2014-06-20 20:51:46.846 [  DEBUG] mpegts: 264000 - add service 2327 MH.C
2014-06-20 20:51:46.846 [  DEBUG] mpegts: 264000 - add service 0412 Viasat Fotball HD
2014-06-20 20:51:46.846 [  DEBUG] mpegts: 264000 - add service 00BD (null)
2014-06-20 20:51:46.847 [  DEBUG] mpegts: 264000 - add service 00BC (null)
2014-06-20 20:51:46.847 [  DEBUG] mpegts: 264000 - add service 00B6 (null)
2014-06-20 20:51:46.847 [  DEBUG] mpegts: 264000 - add service 0410 TV3 HD
2014-06-20 20:51:46.847 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:007A] to queue weight 4
2014-06-20 20:51:46.849 [  DEBUG] mpegts: 256000 - add service 0411 (null)
2014-06-20 20:51:46.849 [  DEBUG] mpegts: 256000 - add service 2327 MH.C
2014-06-20 20:51:46.849 [  DEBUG] mpegts: 256000 - add service 0412 (null)
2014-06-20 20:51:46.849 [  DEBUG] mpegts: 256000 - add service 00BD NRK3 / Super HD
2014-06-20 20:51:46.849 [  DEBUG] mpegts: 256000 - add service 00B6 NRK1 HD
2014-06-20 20:51:46.850 [  DEBUG] mpegts: 256000 - add service 00BC NRK2 HD
2014-06-20 20:51:46.850 [  DEBUG] mpegts: 256000 - add service 0410 (null)
2014-06-20 20:51:46.850 [  DEBUG] mpegts: 256000 - add service 006C TV2 HD
2014-06-20 20:51:46.850 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:007A] to queue weight 4
2014-06-20 20:51:46.851 [  DEBUG] mpegts: 256000 - add service 0412 (null)
2014-06-20 20:51:46.852 [  DEBUG] mpegts: 256000 - add service 00BC NRK2 HD
2014-06-20 20:51:46.852 [  DEBUG] mpegts: 256000 - add service 2327 MH.C
2014-06-20 20:51:46.852 [  DEBUG] mpegts: 256000 - add service 0411 (null)
2014-06-20 20:51:46.852 [  DEBUG] mpegts: 256000 - add service 00B6 NRK1 HD
2014-06-20 20:51:46.852 [  DEBUG] mpegts: 256000 - add service 00BD NRK3 / Super HD
2014-06-20 20:51:46.852 [  DEBUG] mpegts: 256000 - add service 006C TV2 HD
2014-06-20 20:51:46.853 [  DEBUG] mpegts: 256000 - add service 0410 (null)
2014-06-20 20:51:46.853 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:007A] to queue weight 4
2014-06-20 20:51:46.854 [  DEBUG] mpegts: 256000 - add service 0411 (null)
2014-06-20 20:51:46.854 [  DEBUG] mpegts: 256000 - add service 2327 MH.C
2014-06-20 20:51:46.854 [  DEBUG] mpegts: 256000 - add service 00B6 NRK1 HD
2014-06-20 20:51:46.854 [  DEBUG] mpegts: 256000 - add service 0412 (null)
2014-06-20 20:51:46.854 [  DEBUG] mpegts: 256000 - add service 00BC NRK2 HD
2014-06-20 20:51:46.855 [  DEBUG] mpegts: 256000 - add service 00BD NRK3 / Super HD
2014-06-20 20:51:46.855 [  DEBUG] mpegts: 256000 - add service 0410 (null)
2014-06-20 20:51:46.855 [  DEBUG] mpegts: 256000 - add service 006C TV2 HD
2014-06-20 20:51:46.855 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0078] to queue weight 4
2014-06-20 20:51:46.856 [  DEBUG] mpegts: 264000 - add service 0411 Viasat 4 HD
2014-06-20 20:51:46.856 [  DEBUG] mpegts: 264000 - add service 00B6 (null)
2014-06-20 20:51:46.856 [  DEBUG] mpegts: 264000 - add service 2327 MH.C
2014-06-20 20:51:46.856 [  DEBUG] mpegts: 264000 - add service 0410 TV3 HD
2014-06-20 20:51:46.856 [  DEBUG] mpegts: 264000 - add service 00BD (null)
2014-06-20 20:51:46.857 [  DEBUG] mpegts: 264000 - add service 0412 Viasat Fotball HD
2014-06-20 20:51:46.857 [  DEBUG] mpegts: 264000 - add service 006C (null)
2014-06-20 20:51:46.857 [  DEBUG] mpegts: 264000 - add service 00BC (null)
2014-06-20 20:51:46.857 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:007A] to queue weight 4
2014-06-20 20:51:46.858 [  DEBUG] mpegts: 256000 - add service 0412 (null)
2014-06-20 20:51:46.858 [  DEBUG] mpegts: 256000 - add service 006C TV2 HD
2014-06-20 20:51:46.859 [  DEBUG] mpegts: 256000 - add service 00BD NRK3 / Super HD
2014-06-20 20:51:46.859 [  DEBUG] mpegts: 256000 - add service 0410 (null)
2014-06-20 20:51:46.859 [  DEBUG] mpegts: 256000 - add service 00B6 NRK1 HD
2014-06-20 20:51:46.859 [  DEBUG] mpegts: 256000 - add service 00BC NRK2 HD
2014-06-20 20:51:46.859 [  DEBUG] mpegts: 256000 - add service 2327 MH.C
2014-06-20 20:51:46.859 [  DEBUG] mpegts: 256000 - add service 0411 (null)
2014-06-20 20:51:46.859 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0078] to queue weight 4
2014-06-20 20:51:46.861 [  DEBUG] mpegts: 264000 - add service 2327 MH.C
2014-06-20 20:51:46.861 [  DEBUG] mpegts: 264000 - add service 0412 Viasat Fotball HD
2014-06-20 20:51:46.861 [  DEBUG] mpegts: 264000 - add service 0411 Viasat 4 HD
2014-06-20 20:51:46.861 [  DEBUG] mpegts: 264000 - add service 006C (null)
2014-06-20 20:51:46.861 [  DEBUG] mpegts: 264000 - add service 00BC (null)
2014-06-20 20:51:46.861 [  DEBUG] mpegts: 264000 - add service 0410 TV3 HD
2014-06-20 20:51:46.861 [  DEBUG] mpegts: 264000 - add service 00B6 (null)
2014-06-20 20:51:46.861 [  DEBUG] mpegts: 264000 - add service 00BD (null)
2014-06-20 20:51:46.861 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0078] to queue weight 4
2014-06-20 20:51:46.863 [  DEBUG] mpegts: 264000 - add service 00BD (null)
2014-06-20 20:51:46.863 [  DEBUG] mpegts: 264000 - add service 2327 MH.C
2014-06-20 20:51:46.863 [  DEBUG] mpegts: 264000 - add service 006C (null)
2014-06-20 20:51:46.863 [  DEBUG] mpegts: 264000 - add service 0411 Viasat 4 HD
2014-06-20 20:51:46.863 [  DEBUG] mpegts: 264000 - add service 00BC (null)
2014-06-20 20:51:46.863 [  DEBUG] mpegts: 264000 - add service 00B6 (null)
2014-06-20 20:51:46.863 [  DEBUG] mpegts: 264000 - add service 0410 TV3 HD
2014-06-20 20:51:46.863 [  DEBUG] mpegts: 264000 - add service 0412 Viasat Fotball HD
2014-06-20 20:51:46.863 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0078] to queue weight 4
2014-06-20 20:51:46.866 [  DEBUG] mpegts: 264000 - add service 00B6 (null)
2014-06-20 20:51:46.866 [  DEBUG] mpegts: 264000 - add service 00BD (null)
2014-06-20 20:51:46.866 [  DEBUG] mpegts: 264000 - add service 0410 TV3 HD
2014-06-20 20:51:46.866 [  DEBUG] mpegts: 264000 - add service 0411 Viasat 4 HD
2014-06-20 20:51:46.866 [  DEBUG] mpegts: 264000 - add service 2327 MH.C
2014-06-20 20:51:46.866 [  DEBUG] mpegts: 264000 - add service 006C (null)
2014-06-20 20:51:46.866 [  DEBUG] mpegts: 264000 - add service 0412 Viasat Fotball HD
2014-06-20 20:51:46.866 [  DEBUG] mpegts: 264000 - add service 00BC (null)
2014-06-20 20:51:46.866 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0378] to queue weight 4
2014-06-20 20:51:46.867 [  DEBUG] mpegts: 442000 - add service FFDC (null)
2014-06-20 20:51:46.867 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:007A] to queue weight 4
2014-06-20 20:51:46.868 [  DEBUG] mpegts: 256000 - add service 00BC NRK2 HD
2014-06-20 20:51:46.869 [  DEBUG] mpegts: 256000 - add service 00B6 NRK1 HD
2014-06-20 20:51:46.869 [  DEBUG] mpegts: 256000 - add service 006C TV2 HD
2014-06-20 20:51:46.869 [  DEBUG] mpegts: 256000 - add service 0412 (null)
2014-06-20 20:51:46.869 [  DEBUG] mpegts: 256000 - add service 0411 (null)
2014-06-20 20:51:46.869 [  DEBUG] mpegts: 256000 - add service 00BD NRK3 / Super HD
2014-06-20 20:51:46.869 [  DEBUG] mpegts: 256000 - add service 2327 MH.C
2014-06-20 20:51:46.869 [  DEBUG] mpegts: 256000 - add service 0410 (null)
2014-06-20 20:51:46.869 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0378] to queue weight 4
2014-06-20 20:51:46.870 [  DEBUG] mpegts: 442000 - add service FFDC (null)
2014-06-20 20:51:46.870 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:007A] to queue weight 4
2014-06-20 20:51:46.871 [  DEBUG] mpegts: 256000 - add service 0411 (null)
2014-06-20 20:51:46.871 [  DEBUG] mpegts: 256000 - add service 006C TV2 HD
2014-06-20 20:51:46.871 [  DEBUG] mpegts: 256000 - add service 2327 MH.C
2014-06-20 20:51:46.871 [  DEBUG] mpegts: 256000 - add service 0412 (null)
2014-06-20 20:51:46.872 [  DEBUG] mpegts: 256000 - add service 00BD NRK3 / Super HD
2014-06-20 20:51:46.872 [  DEBUG] mpegts: 256000 - add service 0410 (null)
2014-06-20 20:51:46.872 [  DEBUG] mpegts: 256000 - add service 00BC NRK2 HD
2014-06-20 20:51:46.872 [  DEBUG] mpegts: 256000 - add service 00B6 NRK1 HD
2014-06-20 20:51:46.872 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0378] to queue weight 4
2014-06-20 20:51:46.873 [  DEBUG] mpegts: 442000 - add service FFDC (null)
2014-06-20 20:51:46.873 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0378] to queue weight 4
2014-06-20 20:51:46.873 [  DEBUG] mpegts: 442000 - add service FFDC (null)
2014-06-20 20:51:46.873 [  DEBUG] mpegts: 442000 - add service 000D (null)
2014-06-20 20:51:46.873 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:007A] to queue weight 4
2014-06-20 20:51:46.875 [  DEBUG] mpegts: 256000 - add service 0411 (null)
2014-06-20 20:51:46.875 [  DEBUG] mpegts: 256000 - add service 0412 (null)
2014-06-20 20:51:46.875 [  DEBUG] mpegts: 256000 - add service 00BC NRK2 HD
2014-06-20 20:51:46.875 [  DEBUG] mpegts: 256000 - add service 2327 MH.C
2014-06-20 20:51:46.875 [  DEBUG] mpegts: 256000 - add service 0410 (null)
2014-06-20 20:51:46.875 [  DEBUG] mpegts: 256000 - add service 00BD NRK3 / Super HD
2014-06-20 20:51:46.875 [  DEBUG] mpegts: 256000 - add service 00B6 NRK1 HD
2014-06-20 20:51:46.876 [  DEBUG] mpegts: 256000 - add service 006C TV2 HD
2014-06-20 20:51:46.876 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0378] to queue weight 4
2014-06-20 20:51:46.876 [  DEBUG] mpegts: 442000 - add service FFDC (null)
2014-06-20 20:51:46.876 [  DEBUG] mpegts: Get. - adding mux Multiplex [onid:A603 tsid:0078] to queue weight 4
2014-06-20 20:51:46.878 [  DEBUG] mpegts: 264000 - add service 00BD (null)
2014-06-20 20:51:46.878 [  DEBUG] mpegts: 264000 - add service 0411 Viasat 4 HD
2014-06-20 20:51:46.878 [  DEBUG] mpegts: 264000 - add service 2327 MH.C
2014-06-20 20:51:46.878 [  DEBUG] mpegts: 264000 - add service 00BC (null)
.....

Needless to say, TVheadend eats 100% CPU when performing these tasks...

Anyone has any idea as to what might be wrong? How can I go about debugging further?


Replies (8)

RE: Last couple of nightlys (unstable): TVheadend stuck in loop during startup - Added by Stian Øby Johansen over 10 years ago

It should also be added that the web interface is inaccessible, and XBMC cannot connect to TVheadend. This loop on initlialization in other words prevent TVheadend from starting properly.

RE: Last couple of nightlys (unstable): TVheadend stuck in loop during startup - Added by Mark Clarkstone over 10 years ago

Stian Øby Johansen wrote:

It should also be added that the web interface is inaccessible, and XBMC cannot connect to TVheadend. This loop on initlialization in other words prevent TVheadend from starting properly.

This has been fixed in recent commits..

RE: Last couple of nightlys (unstable): TVheadend stuck in loop during startup - Added by Stian Øby Johansen over 10 years ago

I still have this problem with 3.9.929~gd702125~precise. Was it fixed after that?

RE: Last couple of nightlys (unstable): TVheadend stuck in loop during startup - Added by Mark Clarkstone over 10 years ago

Stian Øby Johansen wrote:

I still have this problem with 3.9.929~gd702125~precise. Was it fixed after that?

I'm not sure on the exact commit but it has been fixed :)

RE: Last couple of nightlys (unstable): TVheadend stuck in loop during startup - Added by Stian Øby Johansen over 10 years ago

Just updated as tonights nightly became available, still experiencing the same issue. Version is now: 3.9.935~geb53362~precise

Looks like the issue has not been fixed after all...

RE: Last couple of nightlys (unstable): TVheadend stuck in loop during startup - Added by Mark Clarkstone over 10 years ago

Stian Øby Johansen wrote:

Just updated as tonights nightly became available, still experiencing the same issue. Version is now: 3.9.935~geb53362~precise

Looks like the issue has not been fixed after all...

Did you run with a clean config or the same one with the duplicated muxes?

RE: Last couple of nightlys (unstable): TVheadend stuck in loop during startup - Added by Stian Øby Johansen over 10 years ago

Was not aware that the config files themselves were trashed. With clean config everything worked again. Restored channels from my old config, scanned muxes and mapped. All channels back, in time for tonight's matched :-D

Thank you som much for having patience with me! Much appreciated.

RE: Last couple of nightlys (unstable): TVheadend stuck in loop during startup - Added by Mark Clarkstone over 10 years ago

Stian Øby Johansen wrote:

Was not aware that the config files themselves were trashed. With clean config everything worked again. Restored channels from my old config, scanned muxes and mapped. All channels back, in time for tonight's matched :-D

Thank you som much for having patience with me! Much appreciated.

It's no problem, I believe a few others have had the same problem (Myself included)! :)

    (1-8/8)