MediaPortal2 V2.3.1 Crash in Recorded TV playback (1 Viewer)

Peter PROMS

Portal Member
January 1, 2021
11
1
United Kingdom United Kingdom
Country flag
The recorded BBC TV programmed playback shows Video and Sound for 3 seconds then the application crashes from the MediaPlayer running 64bit and 32 bit.

Windows 10 Professional 64bit latest build.
 

Attachments

morpheus_xx

Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,749
    7,112
    Germany Germany
    Country flag
    Thanks for posting this, I did not see this kind of crash before. It seems to be related to subtitles inside your recording:

    Application: MP2-Client (x64).exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AccessViolationException
    at System.Runtime.InteropServices.Marshal.CopyToManaged(IntPtr, System.Object, Int32, Int32)
    at MediaPortal.UI.Players.Video.Subtitles.SubtitleRenderer.CopyBits(IntPtr, System.Drawing.Bitmap ByRef, Int32, Int32, Int32)
    at MediaPortal.UI.Players.Video.Subtitles.SubtitleRenderer.ToSubtitle(IntPtr)
    at MediaPortal.UI.Players.Video.Subtitles.SubtitleRenderer.OnSubtitle(IntPtr)

    Can you upload a short sample for debugging this?

    What happens if you disable subtitles before starting playback of the recording? (under settings, players, video player)
     

    Peter PROMS

    Portal Member
    January 1, 2021
    11
    1
    United Kingdom United Kingdom
    Country flag
    I ran the 32 bit version which showed subtitles and didn't crash. I have turned off subtitles and now the 64 bit version doesn't crash either. I will monitor this tomorrow and if I get another crash without subtitles I will send a sample video.
     

    Peter PROMS

    Portal Member
    January 1, 2021
    11
    1
    United Kingdom United Kingdom
    Country flag
    Subtitles was the issue as all now working fine. If anyone else gets this error try running in 32bit mode and removing subtitles setting. Then both 32bit and 64bit playback recordings of BBC TV without issues. You can close off this as workaround found.
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,749
    7,112
    Germany Germany
    Country flag
    Nice to found a workaround.

    But I would really prefer a sample of the recording to be able to properly fix this. Can you please do a recording with subtitles, cut off 1 minute and share it here?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,749
    7,112
    Germany Germany
    Country flag
    I could find and fix the issue. It was quite nasty, as the C++ compiler produced a different struct layout for 64 bit builds. Adding a "#pragma pack(1)" above the subtitles structure fixed the issue. @Developers

    I will publish a fix this evening
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    Peter PROMS [solved] MediaPortal2 2.3.1 opens first time and run then after closing does not run again just crashes Newcomers Forum 15
    M MediaPortal2 TV Config Error on Install (0x80004005) General 7
    C Telenet analog-to-digital switch -- manually finding and inputting DVB-C channels in Mediaportal2 General 0
    J [fixed] Importer confused on specific movies with the same title, different years and different NFO's Submit: Bug Reports 3
    HTPCSourcer [News] MediaPortal 2.2.3 Release News and Announcements 0
    J WTV Organizer in MediaPortal2? General 7
    HTPCSourcer [News] MediaPortal 2.2.2 Release News and Announcements 0
    G Mediaportal2 supported formats General 1
    G [solved] How do you delete media in Mediaportal2? General 14
    T [solved] MP1 crashes repeatedly General Support 3
    R 1.27.0 MP Extended Crashes Bugreports 1
    J MP2 - V2.3.2 MP2 service keeps crashing within a few seconds of startup Submit: Bug Reports 10
    Peter PROMS MP2 - V2.3 Crash when closing down from top left icon Submit: Bug Reports 6
    T MP2 - V2.3 Media Portal Crashes Every Few Days Submit: Bug Reports 4
    joEhSuper 1.27.0 1.27 Pre crashes on startup 1.24-1.28 Pre Release 2
    C MP2 - V2.3.1 TVServer config crash in TV channel configuration Submit: Bug Reports 2
    ajs [fixed] 5055: MediaInfo crash on old CPU MediaPortal 1 4
    Requiem 1.27.0 1.27 Client crash from SplashScreen 1.24-1.28 Pre Release 4
    TLD 1.27 Pre Clients crash 1.24-1.28 Pre Release 84
    G MP2 - V2.3 New install and crashing MP2-2.3 General 6
    joecrow [solved] MP 2-2.3 x 64 crashing General 2
    SpudR 1.26.0 Browse the web crashes MP General Support 20
    A MediaPortal crash (and restart) on LiveTV after Windows Update (Sep 2020) driver update for Intel HD Graphics 4600 General Support 12
    F MediaPortal 1.16 server crashing due to user error? General Support 5
    L Service keeps crashing General 5

    Similar threads

    Top Bottom