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
74
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,384
    556
    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
    74
    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,384
    556
    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
    74
    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,384
    556
    @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,145
    3,701
    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,145
    3,701
    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,553
    7,050
    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

    Similar threads
    OP Title Forum Replies Date
    W MP2 - V2.3 MP2 Server stürzt immer nach kurzer Zeit ab Allgemeines Support- und Diskussionsforum 12
    toricred MP2 - V2.3 MP2 2.3 Client won't start General 6
    Grisu002 MP2 - V2.3 MP2 2.3 Client startet nicht - bleibt beim Laden hängen Allgemeines Support- und Diskussionsforum 55
    M MP2 PROBLEME Standby Allgemeines Support- und Diskussionsforum 1
    Scheibes Was passiert bei MP2? Allgemeines Support- und Diskussionsforum 42
    S Programmierte Aufnahme in MP2 - kein Aufwachen des PC Allgemeines Support- und Diskussionsforum 5
    morpheus_xx [Finished] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    morpheus_xx [Evaluate] Checking MP2 code portability to .Net Core MediaPortal 2 11
    da3dsoul Does MP2 not have any active devs? General 8
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    R [solved] Kein Player registriert Allgemeines Support- und Diskussionsforum 1
    -Merkur- MP2 Client startet nicht, "libXBMC_addon.dll" fehlt Allgemeines Support- und Diskussionsforum 1
    mp2-ulrich [solved] MP 2.2.3 spielt nur manche Sender Allgemeines Support- und Diskussionsforum 2
    H MP2 database won't keep in synch with recordings General 8
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 72
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0

    Similar threads

    Top Bottom