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

LoadSkin reports false threading errors

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.7.0
    • 1.6.0
    • Music
    • None

    Description

      <p>We seem to get really annoying 'false errors':</p><p>[2014-01-29 21:09:25,490] [Error &nbsp;] [MPMain &nbsp; ] [ERROR] - LoadSkin: Running on thread &lt;9&gt; instead of main thread - StackTrace: ' &nbsp; at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)</p><p><br /></p><p>1) Current thread check is false, it assumes MP main thread id to be always one<br />2) Error cases should be logged in release build as well, otherwise most of the plugin related threading errors (skin loading done in wrong thread) are going to be unnoticed which will eventually cause hard to find erros be harder to fix</p><p>Extra info: The 'old' code had a bug, with this fix we get proper error reports again.</p>

      Attachments

        Activity

          People

            sebastiii sebastiii
            HomeY HomeY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: