Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-2999

TV config tool can crash when channel preview is closed.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.4.0 pre-release
    • 1.3.0
    • TsReader
    • None
    • Operating System: Windows 7
      Platform: Intel

    Description

      Sometimes when closing the TV channel preview window, TsReader.ax can cause a crash. Reported by Sebastiii in conversation thread.

      h4. Steps to Reproduce
      Preview a channel then close it - it can crash randomly.

      h4. Additional Information
      Issue appears to be caused by timeshift buffer files being immediately deleted as soon as play is stopped - the TsReader.ax file duration update thread can still be trying to read the files so it can't be cleanly closed, and is then forcibly terminated (which tends to cause the crash).

      Solution is to make sure duration thread has been safely paused before allowing 'Stop' method to return (using a thread lock). Tested in 'TsReader_noStopMod70' dev version - http://forum.team-mediaportal.com/threads/experimental-tsreader-development.102693/#post-811296 - no problems reported so far with the mod.

      Attachments

        Activity

          People

            Owlsroost Owlsroost (Inactive)
            Owlsroost Owlsroost (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: