TV Controller Failed To Detect Cards (1 Viewer)

emp3r0r

Portal Member
October 6, 2004
24
0
TVServer Version: rev 13497
Windows Version: WinXP MCE
CPU Type: p4 2.6ghz
HDD: 500GB
Memory: 768MB
Motherboard: Gigabyte
Video Card: ATI 9200
Sound Card: Onboard
1. TV Card: Divico Fusion Gold 3
1. TV Card Type: HD
1. TV Card Driver: latest
MPEG2 Video Codec: nvidia
MPEG2 Audio Codec: ac3filter
Satelite/CableTV Provider: OTA

using a clean database on sql server dev edition with tv server from today: rev 13497

error.log
Code:
3/19/2007 8:37:13 PM Exception   :System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.InteropServices.Marshal.ReleaseComObject(Object o)
   at TvLibrary.Implementations.TvCardCollection.DetectCards()
   at TvLibrary.Implementations.TvCardCollection..ctor()
   at TvService.TVController.Init()
3/19/2007 8:37:13 PM Exception   :Object reference not set to an instance of an object.
3/19/2007 8:37:13 PM   site      :Int32 ReleaseComObject(System.Object)
3/19/2007 8:37:13 PM   source    :mscorlib
3/19/2007 8:37:13 PM   stacktrace:   at System.Runtime.InteropServices.Marshal.ReleaseComObject(Object o)
   at TvLibrary.Implementations.TvCardCollection.DetectCards()
   at TvLibrary.Implementations.TvCardCollection..ctor()
   at TvService.TVController.Init()
3/19/2007 8:37:18 PM Exception   :System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.InteropServices.Marshal.ReleaseComObject(Object o)
   at TvLibrary.Implementations.TvCardCollection.DetectCards()
   at TvLibrary.Implementations.TvCardCollection..ctor()
   at TvService.TVController.Init()
3/19/2007 8:37:18 PM Exception   :Object reference not set to an instance of an object.
3/19/2007 8:37:18 PM   site      :Int32 ReleaseComObject(System.Object)
3/19/2007 8:37:18 PM   source    :mscorlib
3/19/2007 8:37:18 PM   stacktrace:   at System.Runtime.InteropServices.Marshal.ReleaseComObject(Object o)
   at TvLibrary.Implementations.TvCardCollection.DetectCards()
   at TvLibrary.Implementations.TvCardCollection..ctor()
   at TvService.TVController.Init()
3/19/2007 8:37:23 PM Exception   :System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Runtime.InteropServices.Marshal.ReleaseComObject(Object o)
   at TvLibrary.Implementations.TvCardCollection.DetectCards()
   at TvLibrary.Implementations.TvCardCollection..ctor()
   at TvService.TVController.Init()
3/19/2007 8:37:23 PM Exception   :Object reference not set to an instance of an object.
3/19/2007 8:37:23 PM   site      :Int32 ReleaseComObject(System.Object)
3/19/2007 8:37:23 PM   source    :mscorlib
3/19/2007 8:37:23 PM   stacktrace:   at System.Runtime.InteropServices.Marshal.ReleaseComObject(Object o)
   at TvLibrary.Implementations.TvCardCollection.DetectCards()
   at TvLibrary.Implementations.TvCardCollection..ctor()
   at TvService.TVController.Init()

tv.log
Code:
3/19/2007 8:37:12 PM TV service starting
3/19/2007 8:37:12 PM C:\Documents and Settings\All Users\Application Data\MediaPortal TV Server\gentle.config
3/19/2007 8:37:12 PM database connection:SQLServer Password=password1;Persist Security Info=True;User ID=sa;Initial Catalog=TvLibrary;Data Source=.;
3/19/2007 8:37:13 PM ----------------------------
3/19/2007 8:37:13 PM Detected ATSC card:fusionhdtv, bda tuner
3/19/2007 8:37:18 PM C:\Documents and Settings\All Users\Application Data\MediaPortal TV Server\gentle.config
3/19/2007 8:37:18 PM database connection:SQLServer Password=password1;Persist Security Info=True;User ID=sa;Initial Catalog=TvLibrary;Data Source=.;
3/19/2007 8:37:18 PM ----------------------------
3/19/2007 8:37:18 PM Detected ATSC card:fusionhdtv, bda tuner
3/19/2007 8:37:23 PM C:\Documents and Settings\All Users\Application Data\MediaPortal TV Server\gentle.config
3/19/2007 8:37:23 PM database connection:SQLServer Password=password1;Persist Security Info=True;User ID=sa;Initial Catalog=TvLibrary;Data Source=.;
3/19/2007 8:37:23 PM ----------------------------
3/19/2007 8:37:23 PM Detected ATSC card:fusionhdtv, bda tuner
3/19/2007 8:37:23 PM TV service started
3/19/2007 8:37:25 PM Controller: epg stop
 

The_Stig

Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Cannot confirm this issue (just tested)...but I know that an able Dev is searching the problem :)
     

    SciDoctor

    Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    I have seen this plus other very random (ie not easily repeatable issues) since 13413svn .

    The only way to resolve these oddities is to restart the service .

    From the management control console stop the service, wait 'till it is fully stopped and the start again; check your logs and the error may have resolved itself.

    I am seeing random non starting service at boot, card recognation failure, 'card is not idle' in-use failure, EPG grab failure, EPG database wiping etc.

    None of the above are easily noted and the logs keep being deleted.
     

    emp3r0r

    Portal Member
    October 6, 2004
    24
    0
    fixed

    i fixed it by changing the following class:
    Code:
    namespace TvLibrary
    {
      public class Release
      {
        static public void ComObject(string line,object o)
        {
          if (o != null)
          {
            int hr = Marshal.ReleaseComObject(o);
          }
         // Log.Log.WriteFile("  Release {0} returns {1}", line, hr);
        }
      }
    }
    It appears that the HDHomeRun BDA drivers were causing this problem.
     

    Users who are viewing this thread

    Top Bottom