MP2 - V2.1 - MP2 suddenly stops working while playing audio / Crash inside FreeType

Discussion in 'Older releases' started by Alan Honeyman, February 15, 2018.

Thread Status:
Not open for further replies.
  1. Alan Honeyman

    Alan Honeyman Portal Pro

    Joined:
    July 6, 2012
    Messages:
    152
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +5 / 2
    Home Country:
    Australia Australia
    Several times this morning, after playing audio for some time, MP2 fails. Perhaps this is related to TrakT as per this log message:



    [2018-02-16 08:25:18,373] [41637 ] [AMQ 'TraktHandler'] [INFO ] - Trakt.tv: Successfully logged in
    [2018-02-16 08:25:18,375] [41639 ] [AMQ 'TraktHandler'] [ERROR] - Unhandled exception in message handler of async message queue 'TraktHandler' when handling a message of type 'PlayerStarted'
    System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.UiComponents.Trakt.Service.TraktHandler.IsSeries(MediaItem item)
    at MediaPortal.UiComponents.Trakt.Service.TraktHandler.StartScrobble()
    at MediaPortal.UiComponents.Trakt.Service.TraktHandler.OnMessageReceived(AsynchronousMessageQueue queue, SystemMessage message)
    at MediaPortal.Common.Messaging.AsynchronousMessageQueue.DoWork()
    [2018-02-16 08:38:04,682] [807946 ] [InputMgr ] [INFO ] - Releasing filter System.__ComObject, remaining references: 1
    [2018-02-16 08:38:05,382] [808646 ] [AMQ 'TraktHandler'] [ERROR] - Unhandled exception in message handler of async message queue 'TraktHandler' when handling a message of type 'PlayerStopped'
    System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.UiComponents.Trakt.Service.TraktHandler.IsSeries(MediaItem item)
    at MediaPortal.UiComponents.Trakt.Service.TraktHandler.StopScrobble()
    at MediaPortal.UiComponents.Trakt.Service.TraktHandler.OnMessageReceived(AsynchronousMessageQueue queue, SystemMessage message)
    at MediaPortal.Common.Messaging.AsynchronousMessageQueue.DoWork()
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. aspik
    • Team MediaPortal

    aspik Development Group

    Joined:
    April 14, 2008
    Messages:
    1,308
    Likes Received:
    358
    Ratings:
    +584 / 1
    Hi,
    what do you mean by "MP2 fails" ? Does the audio playback stops unexpectedly? Or does it not even start? Can you still reproduce this error? If so, could you please attach log files?

    Regarding the trakt error, this should be fixed in a upcoming version of this plugin. Nevertheless it shouldn't have any impact on the audio playback.
     
    • Like Like x 1
  4. Alan Honeyman

    Alan Honeyman Portal Pro

    Joined:
    July 6, 2012
    Messages:
    152
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +5 / 2
    Home Country:
    Australia Australia
    It seems to happen at the end of playing and has happened with both audio and video. Attached is an audio example. I was playing a number of tracks over maybe an hour or so when at or near the end of a track, I get a popup saying Mediaportal has stopped working. Log attached.
     

    Attached Files:

  5. aspik
    • Team MediaPortal

    aspik Development Group

    Joined:
    April 14, 2008
    Messages:
    1,308
    Likes Received:
    358
    Ratings:
    +584 / 1
    Looks like a skin engine + PIP problem. The client log ends unexpectedly at:
    [2018-03-04 09:50:23,183] [130801832] [AMQ 'TraktHandler'] [INFO ] - Trakt.tv: Scrobble Response:

    and just before this, the windows event log contains:
    Code (Text):
    1. "Error";"4/03/2018 9:50:22 AM";".NET Runtime";"Application: MP2-Client.exe
    2. Framework Version: v4.0.30319
    3. Description: The process was terminated due to an unhandled exception.
    4. Exception Info: System.AccessViolationException
    5.    at Tao.FreeType.FT.FT_Load_Glyph(IntPtr, UInt32, Int32)
    6.    at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.AddGlyphInternal(UInt32)
    7.    at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.AddGlyph(UInt32)
    8.    at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.Character(Char)
    9.    at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.PartialTextWidth(System.String, Int32, Int32, Single, Boolean)
    10.    at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.TextWidth(System.String, Single, Boolean)
    11.    at MediaPortal.UI.SkinEngine.Rendering.TextBuffer.TextWidth(System.String)
    12.    at MediaPortal.UI.SkinEngine.Controls.Visuals.Label.CalculateInnerDesiredSize(SharpDX.Size2F)
    13.    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(SharpDX.Size2F ByRef)
    14.    at MediaPortal.UI.SkinEngine.Controls.Panels.DockPanel.CalculateDesiredSize(System.Collections.Generic.IEnumerator`1<MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement>, SharpDX.Size2F)
    15.    at MediaPortal.UI.SkinEngine.Controls.Panels.DockPanel.CalculateInnerDesiredSize(SharpDX.Size2F)
    16.    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(SharpDX.Size2F ByRef)
    17.    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.UpdateLayoutRoot(SharpDX.Size2F)
    18.    at MediaPortal.UI.SkinEngine.ScreenManagement.Screen.Prepare()
    19.    at MediaPortal.UI.SkinEngine.ScreenManagement.ScreenManager.DoExchangeSuperLayer_NoLock(MediaPortal.UI.SkinEngine.ScreenManagement.Screen)
    20.    at MediaPortal.UI.SkinEngine.ScreenManagement.ScreenManager.DoSetSuperLayer_NoLock(MediaPortal.UI.SkinEngine.ScreenManagement.Screen)
    21.    at MediaPortal.UI.SkinEngine.ScreenManagement.ScreenManager.OnMessageReceived(MediaPortal.Common.Messaging.AsynchronousMessageQueue, MediaPortal.Common.Messaging.SystemMessage)
    22.    at MediaPortal.Common.Messaging.AsynchronousMessageQueue.DoWork()
    23.    at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
    24.    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    25.    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    26.    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
    27.    at System.Threading.ThreadHelper.ThreadStart()
    28.  
    29. ";"1026"
    30. "Error";"4/03/2018 9:50:24 AM";"Application Error";"Faulting application name: MP2-Client.exe, version: 2.1.1712.10518, time stamp: 0x5a3969a1
    31. Faulting module name: freetype6.dll, version: 0.0.0.0, time stamp: 0x55874bdd
    32. Exception code: 0xc0000005
    33. Fault offset: 0x00055a80
    34. Faulting process id: 0x2c70
    35. Faulting application start time: 0x01d3b21177173cc1
    36. Faulting application path: C:\Program Files (x86)\Team MediaPortal\MP2-Client\MP2-Client.exe
    37. Faulting module path: C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\SkinEngine\freetype6.dll
    can you reproduce it reliably? Does it happen only while playing a video in background? After given timespan?
     
  6. Alan Honeyman

    Alan Honeyman Portal Pro

    Joined:
    July 6, 2012
    Messages:
    152
    Likes Received:
    5
    Gender:
    Male
    Ratings:
    +5 / 2
    Home Country:
    Australia Australia
    So far it seems quite random. I've been playing tracks since my last message without a problem.
     
  7. aspik
    • Team MediaPortal

    aspik Development Group

    Joined:
    April 14, 2008
    Messages:
    1,308
    Likes Received:
    358
    Ratings:
    +584 / 1
    @morpheus_xx
    the event log says that freetype6 is responsible for this crash. We are using currently 2.6.3. The latest version is 2.9. Can we just update to this version or are they any other dependencies/components we would have to update/adjust too?
     
  8. Lehmden
    • Team MediaPortal

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,833
    Likes Received:
    2,145
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,613 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Hi.
    I think I can confirm this issue. On a random basis I also have crashes after playing multiple videos. In general they happen when the playback of a video stops after already played some more videos before. Sometimes client crashes (Mediaportal has stopped working) sometimes I don't get any items displayed on the screen, sometimes the client don't react to anything and needs to be "killed" in task manager. As this seems to be random and only after using the client for a longer time, it most likely is hard to find, I fear...
     
  9. aspik
    • Team MediaPortal

    aspik Development Group

    Joined:
    April 14, 2008
    Messages:
    1,308
    Likes Received:
    358
    Ratings:
    +584 / 1
    did you check the event log after such a crash?
     
  10. Lehmden
    • Team MediaPortal

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,833
    Likes Received:
    2,145
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,613 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Don't remember but I will have a look next time this happens..
     
    • Like Like x 1
  11. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,992
    Likes Received:
    4,744
    Ratings:
    +6,788 / 11
    Home Country:
    Germany Germany
    Show System Specs
    It's worth a try to update. The last time it fixed some crash issues already, but obviously not all.
     
Loading...
Thread Status:
Not open for further replies.

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!