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

    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
    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
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as possible also try to see if anything is happening during stuck for the mediaportal process(resource monitor, disk activity, cpu usage, anything) maybe other programs competing for resouces?
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as...
    Since over a year my MP sometimes stucks while showing the welcome screen. It started once a week now it happens every second time...
    Replies
    4
    Views
    1K
    MP1 MP2 1.38 Titan Skin Bug DE
    I fixed the bug, the file menu should work again now! You just need to copy the attached DialogFile.xml to the Titan folder and the graphic files to the corresponding media folder! ;) There also seems to be a problem with the background displayed, which @ajs might be able to fix! ;)
    I fixed the bug, the file menu should work again now! You just need to copy the attached DialogFile.xml to the Titan folder and the...
    MP 32bit 1.38.003 A bug is in the videos section. I use the folder-view. When I try to move a file to another folder, I get the...
    Replies
    9
    Views
    2K
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios were not populated Fallback to english tagline didn't work Score / Popularity now empty instead of dummy rating and unknown popularity numbers Also I've tried to compile plugin against MP 1.34 x64 and...
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios...
    Hi! TheTVDB.com has movies in their API now. API itself looks ok now so I decided to add TVDB to Moving Pictures. Check it if you...
    Replies
    2
    Views
    2K
    Top Bottom