Crash when opening ACTORS list (1 Viewer)

Terra

Portal Pro
August 25, 2009
230
57
Home Country
Austria Austria
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
 

Attachments

  • MediaPortalLogs_10_05_19__23_32_crash_in_actors_view_mptv.zip
    509.8 KB
  • MediaPortalLogs_10_05_19__23_31_crash_in_actors_view_mptv.zip
    460.1 KB

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    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:
     

    Terra

    Portal Pro
    August 25, 2009
    230
    57
    Home Country
    Austria Austria
    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 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
     

    Attachments

    • Bildschirmfoto 2019-05-15 um 22.00.11.png
      Bildschirmfoto 2019-05-15 um 22.00.11.png
      438.1 KB

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    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.
     

    Users who are viewing this thread

    Similar threads

    MP1 MP2 MP Shutting down DE
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird situation. Trakt website shows that episode as watched, but in onlinevideos (where i watched that episode) it still is not flagged as watched. The watched.json doesn't contain that episode but i think it...
    I got a similar error yesterday just when a watched episode ended... Didn't copy the logs unfortunately but now i'm in a weird...
    I have an issue that started in 1.37 and so I updated to 1.38 and updated all my installed plugins but the issue has continued. My...
    Replies
    6
    Views
    624
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team will create a Jira ticket, and for each ticket, you’ll make the changes and submit a pull request. This will be transparent and straightforward.
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team...
    I'm very glad to see that mediaportal 1 is on github, where ordinary devs with github accounts can make contributions. Please can...
    Replies
    7
    Views
    1K
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Thankyou High_Five, that worked perfectly, I now remember doing that 10 years ago, thanks for jogging my old memory. Cheers Tony
    Hi everyone, I have been using it For 16 years now (from V1.1.1) and it has worked flawlessly. I only use TV Series and Moving...
    Replies
    2
    Views
    341
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for any entry in your music database: Artist, Album, Title, Lyrics... I'm afraid there is no such plugin :unsure:
    For music you may use --> https://www.team-mediaportal.de/erweiterungen/musik/global-search With GlobalSearch you can search for...
    HI, I'm new to MediaPortal and have a question about searching for data. I have an extensive collection of music, films, and TV...
    Replies
    1
    Views
    3K
    I have also had this problem in the past. There are two components to this problem: Your internet router is pinging the HTPC at regular intervals in order to see if the HTPC is still present on the network. The network adapter in the HTPC has "Wake on Lan" enabled. So at the end of a recording, the HTPC transitions from away mode to...
    I have also had this problem in the past. There are two components to this problem: Your internet router is pinging the HTPC at...
    Nachdem ich mp 1.38 neu installiert habe klappt soweit alles wie früher. Ein Problem besteht aber und das ist Standby nach einer...
    Replies
    6
    Views
    743
    Top Bottom