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

Status
Not open for further replies.

Alan Honeyman

Portal Pro
July 6, 2012
152
5
73
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()
 

aspik

Development Group
  • Team MediaPortal
  • April 14, 2008
    1,383
    553
    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.
     

    Alan Honeyman

    Portal Pro
    July 6, 2012
    152
    5
    73
    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.
     

    Attachments

    aspik

    Development Group
  • Team MediaPortal
  • April 14, 2008
    1,383
    553
    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:
    "Error";"4/03/2018 9:50:22 AM";".NET Runtime";"Application: MP2-Client.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.AccessViolationException
       at Tao.FreeType.FT.FT_Load_Glyph(IntPtr, UInt32, Int32)
       at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.AddGlyphInternal(UInt32)
       at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.AddGlyph(UInt32)
       at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.Character(Char)
       at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.PartialTextWidth(System.String, Int32, Int32, Single, Boolean)
       at MediaPortal.UI.SkinEngine.ContentManagement.AssetCore.FontAssetCore.TextWidth(System.String, Single, Boolean)
       at MediaPortal.UI.SkinEngine.Rendering.TextBuffer.TextWidth(System.String)
       at MediaPortal.UI.SkinEngine.Controls.Visuals.Label.CalculateInnerDesiredSize(SharpDX.Size2F)
       at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(SharpDX.Size2F ByRef)
       at MediaPortal.UI.SkinEngine.Controls.Panels.DockPanel.CalculateDesiredSize(System.Collections.Generic.IEnumerator`1<MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement>, SharpDX.Size2F)
       at MediaPortal.UI.SkinEngine.Controls.Panels.DockPanel.CalculateInnerDesiredSize(SharpDX.Size2F)
       at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.Measure(SharpDX.Size2F ByRef)
       at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.UpdateLayoutRoot(SharpDX.Size2F)
       at MediaPortal.UI.SkinEngine.ScreenManagement.Screen.Prepare()
       at MediaPortal.UI.SkinEngine.ScreenManagement.ScreenManager.DoExchangeSuperLayer_NoLock(MediaPortal.UI.SkinEngine.ScreenManagement.Screen)
       at MediaPortal.UI.SkinEngine.ScreenManagement.ScreenManager.DoSetSuperLayer_NoLock(MediaPortal.UI.SkinEngine.ScreenManagement.Screen)
       at MediaPortal.UI.SkinEngine.ScreenManagement.ScreenManager.OnMessageReceived(MediaPortal.Common.Messaging.AsynchronousMessageQueue, MediaPortal.Common.Messaging.SystemMessage)
       at MediaPortal.Common.Messaging.AsynchronousMessageQueue.DoWork()
       at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       at System.Threading.ThreadHelper.ThreadStart()
    
    ";"1026"
    "Error";"4/03/2018 9:50:24 AM";"Application Error";"Faulting application name: MP2-Client.exe, version: 2.1.1712.10518, time stamp: 0x5a3969a1
    Faulting module name: freetype6.dll, version: 0.0.0.0, time stamp: 0x55874bdd
    Exception code: 0xc0000005
    Fault offset: 0x00055a80
    Faulting process id: 0x2c70
    Faulting application start time: 0x01d3b21177173cc1
    Faulting application path: C:\Program Files (x86)\Team MediaPortal\MP2-Client\MP2-Client.exe
    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?
     

    Alan Honeyman

    Portal Pro
    July 6, 2012
    152
    5
    73
    Australia Australia
    So far it seems quite random. I've been playing tracks since my last message without a problem.
     

    aspik

    Development Group
  • Team MediaPortal
  • April 14, 2008
    1,383
    553
    @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?
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,033
    3,663
    Lehmden
    Germany Germany
    Country flag
    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...
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,033
    3,663
    Lehmden
    Germany Germany
    Country flag
    Don't remember but I will have a look next time this happens..
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,349
    6,942
    Germany Germany
    Country flag
    @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?
    It's worth a try to update. The last time it fixed some crash issues already, but obviously not all.
     
    Status
    Not open for further replies.

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    ge2301 Android based client for MP2 MediaPortal 2 1
    R MP2 GUI Issues General 6
    P MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 1
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    C Streaming/transcoding MP2 vs MP1? General 1
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    CyberSimian MP2 synchronising of stoptime MediaPortal 1 Talk 5
    M Initial Setup MP2 (On Wndows 10) General 2
    R MP2 Client ist extrem langsam Allgemeines Support- und Diskussionsforum 4
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    T Amazon und Netflix in MP2 - Wie? Allgemeines Support- und Diskussionsforum 6
    J [solved] How to in MP2 General 19
    M [fixed] [MP2-831] 12h time format shown in TV Guide with Swedish language settings Submit: Bug Reports 27
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    B [solved] MP2.2.3 TV Guide not scrolling with mouse wheel General 2
    T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
    Lehmden [WiP] [MP2-824] DLNA Server functionality MediaPortal 2 27
    R [will not fix] [MP2-832] MP2.2.2 subtitles not shown for WTV files Submit: Bug Reports 7
    N [fixed] [MP2-822] Folder View is not displaying individual media share elements Submit: Bug Reports 4
    B How to Search MP2 for Movies only in 7 day EPG that comes from the Antenna General 3
    R [fixed] [MP2-819] MP2 Server crashes on ATSC OTA channel scan Submit: Bug Reports 33
    HTPCSourcer [Evaluate] Remove obsolete menu entries from "MP2 TV Configuration" MediaPortal 2 0
    P MP2 Client Screen Flickering on Resume General 2
    Similar threads

























    Top Bottom