TVservice freezes while EPG-grabbing since beta 1.1

Discussion in 'MediaPortal 1.1.0 RC 1 & 2' started by mts, February 21, 2010.

  1. mts

    mts Portal Pro

    Joined:
    September 2, 2007
    Messages:
    317
    Likes Received:
    21
    Ratings:
    +30 / 1
    Home Country:
    Germany Germany
    Hi,

    I have posted this error some time ago, but with no result.
    Now I have installed your latest RC1 with hope that the error is gone - but no luck.

    Again the description:
    - When I start the TV-Server I can watch TV without problems.
    - After a while I stop the liveTV.
    - Some time later the EPG-Grabber starts
    - As soon as the grabbing is done, the epg-grabber stopps
    - When I now try to switch on LiveTV the client freezes
    - After killing the TVService the clients do react again.

    When I check the client, I see the following:
    - the service is running.
    - there are no errors in log
    - I can start the TVServerConfiguration
    - Under Manual-Control I see that all cards are idle
    - When I select: TV Servers->IP-Address->"the first DVB-Card" the TVServerConfiguration also freezes!
    (The fist card is the FireDTV, the other two are Hauppauge Nova DVB-S2).

    After a restart of the TVService everything is working again.-



    log: at 10:37:37 I tried to start LiveTV (with freeze)

    cu
    mts
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Re: daily crashes since beta 1.1

    Just a quess, maybe tuning failure causes EPG grabbing to hang. Please try to retune and make sure no such entries are written in TsWriter.log
     
  4. mts

    mts Portal Pro

    Joined:
    September 2, 2007
    Messages:
    317
    Likes Received:
    21
    Ratings:
    +30 / 1
    Home Country:
    Germany Germany
    AW: daily crashes since beta 1.1

    THX,

    I will try this, but anyway you should handle this exception.
     
  5. tourettes
    • Premium Supporter

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Re: AW: daily crashes since beta 1.1

    Sure, it should be handled better. But I'm not sure if that is even the cause for the hang. Just a guess since I dont know that part of code in detail.
     
  6. mts

    mts Portal Pro

    Joined:
    September 2, 2007
    Messages:
    317
    Likes Received:
    21
    Ratings:
    +30 / 1
    Home Country:
    Germany Germany
    AW: daily crashes since beta 1.1

    I have uninstalled the server-App completely and made a fresh reinstall. (There where so many SNV's in use)

    But no I have the following error in log:


    EDIT: Sorry!!!! There where some older clients, which tried to connect.
     
  7. mts

    mts Portal Pro

    Joined:
    September 2, 2007
    Messages:
    317
    Likes Received:
    21
    Ratings:
    +30 / 1
    Home Country:
    Germany Germany
    AW: daily crashes since beta 1.1

    Error is still there.
    I have made a clean install and the "PMT Pid wasn't found..." message is no longer there.

    P.S. I always have to kill the TVService.exe because it is not possible to stop it. (Seems to be a threaded dead-lock).
    The last messages that gets created while stopping the service are this:
     
  8. mts

    mts Portal Pro

    Joined:
    September 2, 2007
    Messages:
    317
    Likes Received:
    21
    Ratings:
    +30 / 1
    Home Country:
    Germany Germany
    AW: daily crashes since beta 1.1

    Do you have any news for me?
    The problem is making me crazy.

    I think the main problem is that you can not see anything in the log files.
     
  9. mts

    mts Portal Pro

    Joined:
    September 2, 2007
    Messages:
    317
    Likes Received:
    21
    Ratings:
    +30 / 1
    Home Country:
    Germany Germany
    AW: TVservice freezes while EPG-grabbing since beta 1.1

    I have solved the problem.
    The TVService freezes while EPG-grabbing.
    It happens only on a few channels.
    I have disabled epg for all channels and have only selected the needed ones.
    Now everything is working very well.

    But anyway you should check the EPG-grabbing.

    without knowing your code:
    I think there is a deadlock somewhere in an EPG-grabbing thread.
    This would also explain that you cannot stop the TVService in the freezed situation, because you probably
    try to destroy all running threads and wait for termination.


    CU
    mts
     
  10. god_md5

    god_md5 Portal Pro

    Joined:
    March 24, 2008
    Messages:
    104
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Hong Kong Hong Kong
    same is hang ,i try 1.10rc1..my EPG if setup chinese is hang ,


    2010-03-04 19:28:43.872822 [(21)]: ***** SIGNAL LEVEL: 80, SIGNAL QUALITY: 100 *****
    2010-03-04 19:28:43.872822 [(21)]: **************************************************
    2010-03-04 19:28:43.872822 [(21)]: card: tuned user: epg subchannel: 0
    2010-03-04 19:28:43.872822 [(21)]: user:epg add
    2010-03-04 19:28:43.872822 [DVB EPG timer(12)]: Controller: GrabEpg on card ID == 1
    2010-03-04 19:28:43.888422 [DVB EPG timer(12)]: dvb:grab epg...
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!