[confirm] Playback of a movie -> MP2 crashes to desktop (1 Viewer)

Helios61

Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    Hi!

    If i try to playback a movie (.mkv), MP2 crashes to desktop. ->

    Video.JPG


    Logs and info are attached!

    Best regards
    Helios
     

    Attachments

    • application_event_error.xml
      1.8 KB
    • windows_error_rep.xml
      2.2 KB

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,553
    3,934
    Lehmden
    Home Country
    Germany Germany
    Hi.
    This was a file system error. Maybe a hickup in your network. The exception was thrown in a standard windows dll (ntdll.dl) so I don't believe MP2 can do anything against. Maybe we can catch this exception but I'm not sure about this...
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    @Helios61 are you able to reproduce this issue? There are errors logged that should not happen. So I'd like to create a test build with more logging for this special case.
    @offbyone the last logs before exception come from part where the DotNetStreamSource is added. And the later crash could point to some issue with unmanaged calls.
    [2014-10-12 16:10:47,453] [16217 ] [Thread9 ] [DEBUG] - VideoPlayer: Initializing for file system media item '//SERVER-PC/Server Q/Filme/Mud - Kein Ausweg (2012) (tt1935179)/Mud - Kein Ausweg (2012) (tt1935179).mkv'
    [2014-10-12 16:10:48,875] [17639 ] [Thread9 ] [DEBUG] - VideoPlayer: Stop playing
    [2014-10-12 16:10:48,879] [17643 ] [Thread9 ] [WARN ] - MediaPortal.UI.Players.Video.VideoPlayer: Unable to play 'Resource '{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////SERVER-PC/Server Q/Filme/Mud - Kein Ausweg (2012) (tt1935179)/Mud - Kein Ausweg (2012) (tt1935179).mkv' at system 'ec74146a-1579-4e34-801f-7da6f5b74690'
    System.Runtime.InteropServices.COMException (0x8004025F): Die angeforderte Funktion kann nicht für ein Objekt ausgeführt werden, das sich nicht im Filterdiagramm befindet.
    bei DirectShow.Helper.HRESULT.Throw()
    bei MediaPortal.UI.Players.Video.Tools.FilterGraphTools.RemoveAllFilters(IGraphBuilder graphBuilder, Boolean removeAllReferences)
    bei MediaPortal.UI.Players.Video.VideoPlayer.FreeCodecs()
    bei MediaPortal.UI.Players.Video.BaseDXPlayer.Shutdown(Boolean keepResourceAccessor)
    bei MediaPortal.UI.Players.Video.BaseDXPlayer.SetMediaItem(IResourceLocator locator, String mediaItemTitle)
    bei MediaPortal.UI.Players.Video.VideoPlayerBuilder.GetPlayer(MediaItem mediaItem)
    [2014-10-12 16:10:48,882] [17646 ] [Thread9 ] [ERROR] - Unable to create media player for media item 'Mud - Kein Ausweg'
    System.Runtime.InteropServices.COMException (0x8004025F): Die angeforderte Funktion kann nicht für ein Objekt ausgeführt werden, das sich nicht im Filterdiagramm befindet.
    bei DirectShow.Helper.HRESULT.Throw()
    bei MediaPortal.UI.Players.Video.Tools.FilterGraphTools.RemoveAllFilters(IGraphBuilder graphBuilder, Boolean removeAllReferences)
    bei MediaPortal.UI.Players.Video.VideoPlayer.FreeCodecs()
    bei MediaPortal.UI.Players.Video.BaseDXPlayer.Shutdown(Boolean keepResourceAccessor)
    bei MediaPortal.UI.Players.Video.BaseDXPlayer.SetMediaItem(IResourceLocator locator, String mediaItemTitle)
    bei MediaPortal.UI.Players.Video.VideoPlayerBuilder.GetPlayer(MediaItem mediaItem)
    bei MediaPortal.UI.Services.Players.PlayerManager.BuildPlayer_NoLock(MediaItem mediaItem, ICollection`1& exceptions)
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    @Helios61 are you able to reproduce this issue? There are errors logged that should not happen. So I'd like to create a test build with more logging for this special case.

    Yes, just made a test with another movie and MP crashed again.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Can you please try this VideoPlayer? (copy it to MP2-Client\Plugins).
    Only change are more log lines, I'd like to see if it steps out of the source filter adding...
    Please post client logs with this binary
     

    Attachments

    • VideoPlayers.7z
      346.2 KB

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    No idea what's happinging. Let's hope your new dll with more logging helps ;).
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Thanks for log! The graphbuilding throws exception in OutputPin.Render() of source filter.
    Code:
    [2014-10-13 15:32:32,087] [9629   ] [Thread9  ] [DEBUG] - VideoPlayer: Initializing for file system media item '//SERVER-PC/Server Q/Filme/Mud - Kein Ausweg (2012) (tt1935179)/Mud - Kein Ausweg (2012) (tt1935179).mkv'
    [2014-10-13 15:32:32,087] [9629   ] [Thread9  ] [DEBUG] - TEST: CTOR DotNetStreamSourceFilter
    [2014-10-13 15:32:32,089] [9631   ] [Thread9  ] [DEBUG] - TEST: OpenRead
    [2014-10-13 15:32:32,185] [9727   ] [Thread9  ] [DEBUG] - TEST: SetSourceStream
    [2014-10-13 15:32:32,187] [9729   ] [Thread9  ] [DEBUG] - TEST: AddFilter
    [2014-10-13 15:32:32,191] [9732   ] [Thread9  ] [DEBUG] - TEST: new DSFilter(sourceFilter)
    [2014-10-13 15:32:33,873] [11415  ] [DX Render] [DEBUG] - ContentManager: 0 resources deallocated, next cleanup in 10 seconds. 326.807075500488/100 MB
    [2014-10-13 15:32:33,962] [11504  ] [Thread9  ] [DEBUG] - VideoPlayer: Stop playing
    https://github.com/MediaPortal/Medi...Players/VideoPlayer/BaseDXPlayer.cs#L433-L435
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Can you please try again? Only change is one more log line which should log the original exception thrown by HR
     

    Attachments

    • VideoPlayers.7z
      346.3 KB

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    Looks like a problem building the graph. Either a filter is missing or some filter is inserting itself into the graph that causes troubles? LAV installed? Any other installed that shouldn't be there?
     

    Users who are viewing this thread

    Similar threads

    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who wrote that code know what the log entries mean, but those developers have long since retired from the MP team.) I regret to say that I think that you will have to use the "brute force" method to track down...
    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who...
    Sometimes when displaying the OSD whilst playing a recorded TV show the video freezes and the sound continues for about 30 seconds...
    Replies
    1
    Views
    601
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    Hi, I have just upgraded from MP 2.2.2 to MP 2.4.1, and now the client won't start. I see the splash screen, and then it just...
    Replies
    3
    Views
    853
    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because the movie list is splitted into chunks of a specified size and responses for each chunk are concentrated into the result list :) private async Task<string> GenerateResponseWithGPT(string searchQuery...
    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because...
    Hi, I'm planning to write a plugin for MediaPortal 2, that supports users to find the right media items with help of AI...
    Replies
    6
    Views
    924
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV audiodecoder shows status 'bistreaming' on the output. What is your LAV status?
    Well, there is nothing wrong in the log. I have personaly tested the bitstreaming after DVD resume, and I can confirm that the LAV...
    My apologies for posting two separate issues in one posting, however, the logs I have cover both. 1. Resume playback of...
    Replies
    13
    Views
    808
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is completey broken with NET4 and NET6 :( Neither an existing profile can be selected nor a new one can be created.
    @Brownard another logs of failed installations. I'll take a look into the user management. Edit: I can confirm user management is...
    Description: Hi there. First of all, I appreciate all the effort in MediaPortal 2 release 2.5 - visible changes look great (eg...
    Replies
    1
    Views
    436
    Top Bottom