tvservice crashes unexpectedly

Discussion in '1.0 final and SVN Builds' started by Olodin, February 18, 2009.

  1. Olodin
    • Premium Supporter

    Olodin MP Donator

    Joined:
    September 19, 2004
    Messages:
    166
    Likes Received:
    4
    Ratings:
    +4 / 0
    TV-Server Version: Media Portal 1.0.0.0
    MediaPortal Version: Media Portal 1.0.0.0
    MediaPortal Skin: Monochrome
    Windows Version: Windows XP Pro SP3 with latest patches
    CPU Type: Athlon X2 4850e
    HDD: Western Digital WD7500AAKS 750GB
    Memory: 1 x Kingston 2 GB DDR2-800
    Motherboard: Asus M3N78-EM
    Video Card: Onboard GeForce 8300
    Video Card Driver: 6.14.11.7521
    Sound Card: Realtek HD (onboard)
    Sound Card AC3: Optical SPDIF
    Sound Card Driver: 5.10.0.5745
    1. TV Card: FloppyDTV DVB-S-CI
    1. TV Card Type: DVB-S
    1. TV Card Driver: 4.8.0
    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: Nvidia Purevideo
    MPEG2 Audio Codec: Nvidia Purevideo
    h.264 Video Codec:
    Satelite/CableTV Provider: Astra 19.2°E
    HTPC Case: Silverstone LC-10B
    Cooling:
    Power Supply: Coba 350W
    Remote: Logitech Harmony 555
    TV: Samsung 27" LCD LE-27T51B
    TV - HTPC Connection: Sub-D/VGA @ 1360x768

    Since a new installation of MP 1.0.0.0 with TV-Server sometimes crashes. There is an entry in the eventlog, I've searched the TV-Server logs but found nothing obvious in them.

    This always happens when the PC is idle in Basic Home screen. I get back to it, turn on the TV and there is a message "Connection to tvservice was lost" (sorry, don't have a screenshot).

    See the screenshot when this happend today at 18:16 local time. Attached are all logs.

    I've set the service to restart when it crashes, so this doesn't make MediaPortal unusable, but it's a bit confusing for the users of the MediaPortal PC.


     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Marvman
    • Team MediaPortal

    Marvman Retired Team Member

    Joined:
    November 14, 2007
    Messages:
    1,163
    Likes Received:
    365
    Occupation:
    Application Developer
    Location:
    Bavaria
    Ratings:
    +368 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi Olodin,

    did you try to disable "grab EPG when idle" option in TV-Server config?
     
  4. Olodin
    • Premium Supporter

    Olodin MP Donator

    Joined:
    September 19, 2004
    Messages:
    166
    Likes Received:
    4
    Ratings:
    +4 / 0
    I remembered that setting and have disabled "grab EPG when idle" some days ago. Just checked the eventlog: no tvservice crashes since then.

    What I wonder: there is nothing in the logs, tvservice just had stopped. Can I enable some debug logging to get hold of the error?

    In any case: I will enable "grab EPG when idle" and will see if it crashes again.
     
  5. Marvman
    • Team MediaPortal

    Marvman Retired Team Member

    Joined:
    November 14, 2007
    Messages:
    1,163
    Likes Received:
    365
    Occupation:
    Application Developer
    Location:
    Bavaria
    Ratings:
    +368 / 0
    Home Country:
    Germany Germany
    Show System Specs
  6. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
  7. Olodin
    • Premium Supporter

    Olodin MP Donator

    Joined:
    September 19, 2004
    Messages:
    166
    Likes Received:
    4
    Ratings:
    +4 / 0
    After enabling "grab EPG when idle" yesterday morning, I had the next crash in the evening. This time there is also a backtrace in the logs:

    Code (Text):
    1.  
    2. 2009-02-28 19:23:42.359375 [PowerEventThread]: TV service PowerEventThread 537
    3. 2009-02-28 19:23:49.125000 [PowerEventThread]: TV service PowerEventThread 49385
    4. 2009-02-28 19:23:49.265625 [PowerEventThread]: TV service PowerEventThread 49385
    5. 2009-02-28 19:23:51.343750 [PowerEventThread]: TV service PowerEventThread 537
    6. 2009-02-28 19:23:51.343750 [PowerEventThread]: TV service PowerEventThread 537
    7. 2009-02-28 19:25:49.906250 [PowerEventThread]: TV service PowerEventThread 49385
    8. 2009-02-28 19:25:49.984375 [PowerEventThread]: TV service PowerEventThread 49385
    9. 2009-02-28 19:25:53.921875 [PowerEventThread]: TV service PowerEventThread 49385
    10. 2009-02-28 19:26:54.687500 [EPG Update thread]: EPG: database updated for #0 EURONEWS
    11. 2009-02-28 19:26:54.687500 [EPG Update thread]: user:epg remove
    12. 2009-02-28 19:26:54.687500 [EPG Update thread]: tvcard:FreeSubChannel:1 #0 keep graph=False
    13. 2009-02-28 19:26:54.687500 [EPG Update thread]: DVB subch:0 Decompose()
    14. 2009-02-28 19:26:54.687500 [EPG Update thread]: FreeSubChannel CA: freeing sub channel : 0
    15. 2009-02-28 19:26:54.687500 [EPG Update thread]: tvcard:FreeAllSubChannels:
    16. 2009-02-28 19:26:54.687500 [EPG Update thread]: dvb:StopGraph
    17. 2009-02-28 19:26:54.796875 [EPG Update thread]: Tvservice stopped due to a app domain exception System.AccessViolationException:
    18.  Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
    19.    at DirectShowLib.IMediaControl.Stop()
    20.    at TvLibrary.Implementations.DVB.TvCardDvbBase.StopGraph()
    21.    at TvLibrary.Implementations.TvCardBase.FreeSubChannel(Int32 id, Boolean continueGraph)
    22.    at TvLibrary.Implementations.DVB.TvCardDvbBase.FreeSubChannel(Int32 id)
    23.    at TvService.EpgGrabbing.Stop(User user)
    24.    at TvService.TVController.StopGrabbingEpg(User user)
    25.    at TvService.EpgCard.UpdateDatabaseThread()
    26.    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    27.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    28.    at System.Threading.ThreadHelper.ThreadStart()
    29. 2009-02-28 19:27:56.687500 [TVService]: TVService v1.0.0.21149 is starting up on Windows XP (Service Pack 3)
    30. 2009-02-28 19:27:56.687500 [TVService]: Controller: Initilizing TVServer
    31. 2009-02-28 19:27:56.687500 [TVService]: Controller: 1 init attempt
    32. 2009-02-28 19:27:56.687500 [PowerEventThread]: TV service PowerEventThread message loop is running
    33. 2009-02-28 19:27:56.718750 [TVService]: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Team MediaPortal\MediaPortal TV Server\gentle.config
    34. 2009-02-28 19:27:56.718750 [TVService]: Controller: using MySQL database connection: Server=mppc;Database=MpTvDb;User ID=root;Password
    35. 2009-02-28 19:27:56.718750 [TVService]: ----------------------------
    36.  
    37.  
    tvservice was automatically restarted by windows after that crash.

    Attached are the full logs
     
  8. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    Sounds like the crash would be on C++ side. If possible try to follow the debugging steps found in:

    Debugging/MemoryDump - MediaPortal Manual Documentation

    Hopeully that will give us more info on the crashing code (I cannot reproduce the crash, so most likely the issue is stream related).
     
  9. Olodin
    • Premium Supporter

    Olodin MP Donator

    Joined:
    September 19, 2004
    Messages:
    166
    Likes Received:
    4
    Ratings:
    +4 / 0
    I'll try this. Could take some days, though. Thx for that info!
     
  10. tourettes
    • Team MediaPortal

    tourettes Retired Team Member

    Joined:
    January 7, 2005
    Messages:
    17,301
    Likes Received:
    4,595
    Ratings:
    +4,810 / 3
    If possible try to use the debug TsWriter.ax binary from the SVN. This will show additional when analyzing the crash dump.
     
  11. Olodin
    • Premium Supporter

    Olodin MP Donator

    Joined:
    September 19, 2004
    Messages:
    166
    Likes Received:
    4
    Ratings:
    +4 / 0
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!