Crash when opening ACTORS list

Discussion in 'My TVSeries' started by Terra, May 10, 2019.

  1. Terra

    Terra Portal Pro

    Joined:
    August 25, 2009
    Messages:
    226
    Likes Received:
    36
    Ratings:
    +53 / 1
    Home Country:
    Austria Austria
    Show System Specs
    Hi there,

    When I open the ACTORS view in MP TV series (Right Click -> Actors) MP crashes.
    It's reproducable, please see logs attached.

    thanks


     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,153
    Likes Received:
    1,294
    Ratings:
    +1,659 / 2
    2019-05-10 23:32:02.693 [DEBG][78]: Unable to load Imagefile (corrupt?): C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Star Trek_ The Next Generation\actors/343014.jpg - Out of memory.

    Create an account with TheTVdB and fix the corrupted image in question on their site to fix it for everybody, or replace it locally for the time being.

    I've uploaded a batch script on the forum a while ago that will scan every image and re-save it with higher JPEG compression to reduce file-size. This indirectly would also solve your issue if it is able to read the file. If the image is severely corrupt then it might require manual steps.

    Could also be that your harddisk has issues, such as corrupted sectors, in which case a chkdsk /f c: might be required, or more aggressive tools.

    Debugging is fun, right :censored:
     
    • Thank You! Thank You! x 1
  4. Terra

    Terra Portal Pro

    Joined:
    August 25, 2009
    Messages:
    226
    Likes Received:
    36
    Ratings:
    +53 / 1
    Home Country:
    Austria Austria
    Show System Specs
    I checked that file and it seems ok, please see attached screenshot. My filesystem and hard disk are also ok.
    What I noticed is that the file create time is 2019-05-10 23:30:56 and the file modified time is 2019-05-10 23:32:05, that's about the time the last crash happened.
    Is it possible that the local scan was running and interfered or somehow?

    If MP even reports that it cannot load the image and the image may is corrupt can't this exception be catched instead of crashing MP?

    On a sidenote, MP is not crashing anymore today, I did not change any file manually it just works now o_O
     

    Attached Files:

  5. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,153
    Likes Received:
    1,294
    Ratings:
    +1,659 / 2
    It is indeed possible to add millions of try-catches to intercept possibly mistakes, but this then pushes the problem further down, until all you end up with is a non-functional product that doesn't crash, but is useless anyway.

    To properly fix it, it tends to therefore sometimes be smarter to have it crash hard, so that the right logs allow an explanation as to what happened.

    Of course when external factors are an influence and things randomly decide to work again, then it becomes a small needle in a very large haystack to locate issue, reproduce it, attempt fix, verify it works, and solve the issue.

    Keep an eye on it, and especially what you did leading up to the issue, because that tends to be a critical factor in my experience in understanding why it failed.
     
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!