LiveTV not working any more (1 Viewer)

doveman

Portal Pro
February 12, 2008
2,326
178
Home Country
United Kingdom United Kingdom
MediaPortal Version: v1.1.2
MediaPortal Skin: StreamedMP
Windows Version: XP Pro SP3
CPU Type: Athlon II X4 630
HDD: 640GB WD SATA
Memory: 4GB DDR2 1066Mhz
Motherboard: Biostar TA790GXB3
Video Card: HD3300 IGP
Video Card Driver: 10.10
Sound Card: onboard Realtek AC97 (ALC662)
Sound Card AC3: no AC3
Sound Card Driver: 5.10.0.6194
1. TV Card: Hauppauge Nova-T 500
1. TV Card Type: DVB-T
1. TV Card Driver: 4.3.27240
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: Cyberlink Video Decoder (PDVD10)
MPEG2 Audio Codec: ffdshow
h.264 Video Codec: ffdshowDXVA
Satelite/CableTV Provider:
HTPC Case: Custom
Cooling: Scythe 120mm Bottom Intake Fan, Stock CPU HSF
Power Supply: OCZ StealthStream 400W
Remote: Nova-T 500
TV: Sony XBR800 36"
TV - HTPC Connection: DVI

Everything was fine yesterday. I think there were a couple of XP updates, so I don't know if they're related to this problem. I updated MovingPictures to the latest version as well, but I doubt that's connected.

After a cold boot, selecting any channel in the EPG just results in an error or MP locking up. If I try and stop the TVService from services.msc, it doesn't work and says it was unable to complete and the service is left in "Stopping" state. There's a lot of errors in tvserver_error.log
 

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    This appears to be an old hard to track down bug

    Code:
    2011-03-13 19:24:52.578125 [(6)]: Exception   :System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
       at DirectShowLib.IMediaControl.Stop()
       at TvLibrary.Implementations.DVB.TvCardDvbBase.StopGraph()
       at TvLibrary.Implementations.DVB.TvCardDVBT.StopGraph()
       at TvLibrary.Implementations.TvCardBase.FreeSubChannel(Int32 id, Boolean continueGraph)
       at TvLibrary.Implementations.DVB.TvCardDvbBase.FreeSubChannel(Int32 id)
       at TvLibrary.Implementations.DVB.TvCardDvbBase.Tune(Int32 subChannelId, IChannel channel)
       at TvLibrary.Implementations.DVB.TvCardDVBT.Tune(Int32 subChannelId, IChannel channel)
       at TvService.CardTuner.Tune(User& user, IChannel channel, Int32 idChannel)

    Searching for "System.AccessViolationException: Attempted to read or write protected memory" brings up some threads from a few years ago but they suggest idle EPG grabber or the DVB Fix not being applied (perhaps a recent Windows update un-did it???)

    Is this problem re-producable ?

    Also probably worth just checking the database. Open up a command prompt
    navigate to MySQL Bin folder (is C:\\Program Files\\MySQL\\MySQL Server 5.1\\bin for me) and enter
    Code:
    mysqlcheck --user=root --pass=MediaPortal --auto-repair MPTVDB
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Thanks for the tips.

    Unfortunately, this problem is very much re-producable. Every boot I have the same problems. I've installed MP1.2 on a separate partition for now, so I can at least watch TV but obviously a lot of plugins aren't compatible with that yet, so it would be nice if I could get this working again as well.

    I've tried running the dvbfix again, but that hasn't helped.

    I was using the loopback adapter technique, but I've disabled this now and changed all the settings to point to the PC's actual IP address, with no change.

    The first run of the command given was as below. Subsequent runs show all OK
    Code:
    C:\Program Files\MySQL\MySQL Server 5.1\bin>mysqlcheck --user=root --pass=MediaP
    ortal --auto-repair MPTVDB
    mptvdb.canceledschedule                            OK
    mptvdb.card                                        OK
    mptvdb.cardgroup                                   OK
    mptvdb.cardgroupmap                                OK
    mptvdb.channel
    warning  : 4 clients are using or haven't closed the table properly
    status   : OK
    mptvdb.channelgroup                                OK
    mptvdb.channellinkagemap                           OK
    mptvdb.channelmap                                  OK
    mptvdb.conflict                                    OK
    mptvdb.diseqcmotor                                 OK
    mptvdb.favorite                                    OK
    mptvdb.groupmap                                    OK
    mptvdb.history
    warning  : 3 clients are using or haven't closed the table properly
    status   : OK
    mptvdb.keyword                                     OK
    mptvdb.keywordmap                                  OK
    mptvdb.personaltvguidemap                          OK
    mptvdb.program
    warning  : 5 clients are using or haven't closed the table properly
    status   : OK
    mptvdb.radiochannelgroup                           OK
    mptvdb.radiogroupmap                               OK
    mptvdb.recording                                   OK
    mptvdb.satellite                                   OK
    mptvdb.schedule                                    OK
    mptvdb.server                                      OK
    mptvdb.setting                                     OK
    mptvdb.timespan                                    OK
    mptvdb.tuningdetail                                OK
    mptvdb.tvmoviemapping                              OK
    mptvdb.version                                     OK
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Just to report I've done an uninstall/re-install of 1.1.2 and it's OK again :)
     

    Users who are viewing this thread

    Top Bottom