Crash in TVSeries (1 Viewer)

Lichloathe

MP Donator
  • Premium Supporter
  • July 25, 2007
    97
    65
    Australia Australia
    Country flag
    Hi, I think I have found a crash in MP, possibly due to TVSeries plugin.

    Details - If I am playing a TV show (no difference for how long or what type) and wish to return to MP and browse the plugin or guide etc. I will pause the show and press back on the remote or keyboard. As I am stepping back through the plugin with the back button. It will crash, lock the GUI and I will not be able to continue and I'll have to use taskmgr to close MP. It will not crash if you leave the show playing and step back through however.

    I have had a brief look at the logs and even though I have not pressed stop it seems it may be doing so.

    I have turned off all plugins except MP-TVSeries in MP config and collected logs a few times, 2 are attached at the bottom.
    I use Lav filters and the DefaultwideHD skin and I've tested this on my HTPC and test laptop. These logs are from my laptop.

    Steps to reproduce.

    With TVSeries plugin, browse and play a show from the database. While in fullscreen, press pause and then step back through the plugin.
    The crash will happen for me 9 out of 10 times before I get to the basic home screen.

    Thanks
     

    Attachments

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    The crash does not look to be TVSeries related but MediaPortal input device related.
    Code:
    [2019-02-10 15:31:49,211] [Error  ] [MPMain   ] [ERROR] - InputDevices - WndProc - exception caught from InputDevice: MediaPortal.InputDevices.HidListener System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
       at SharpLib.Hid.Event.GetDirectionPadState()
       at SharpLib.Hid.Event..ctor(Message aMessage, HidEventRepeatDelegate aRepeatDelegate, Boolean aRepeat, Int32 aRepeatDelayInMs, Int32 aRepeatSpeedInMs)
       at SharpLib.Hid.Handler.ProcessInput(Message& aMessage)
       at MediaPortal.InputDevices.HidListener.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
       at MediaPortal.InputDevices.InputDevices.WndProc(Message& msg, Action& action, Char& key, Keys& keyCode)
    Maybe someone else on the MediaPortal team could be more help here. I presume it has something to do with whatever device you are using to navigate MediaPortal in the GUI.
     

    Lichloathe

    MP Donator
  • Premium Supporter
  • July 25, 2007
    97
    65
    Australia Australia
    Country flag
    Thanks for looking into that, I will investigate the input control settings and see if a setting will change anything.
    I use the standard RC6 remote control on the HTPC but only keyboard on the Laptop.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,344
    1,824
    Country flag
    Looks like you might simply need to update the key dictionary configuration for the HID device.

    I use an old ATI Remote Wonder, and go back on occasion to main view of active plugin or other plugins with media paused or playing in the thumbnail PiP viewer. The only problem I run into is forgetting that key controls are send to the playback window first. So using << and >> to change a cover image on a show/season will all of a sudden rewind or fast forward the media that was playing.

    It's also possible to dedicate a button to immediately return to the playback window, but remember if you stop the media you are returned to the place you browsed to.
     

    Lichloathe

    MP Donator
  • Premium Supporter
  • July 25, 2007
    97
    65
    Australia Australia
    Country flag
    Ok, I have tried a few things and nothing worked so I deleted my install of MP on the laptop test machine and reinstalled clean.
    I installed the TVSeries plugin and clean imported one folder from my network. I have not changed anything in the MP configuration except the tvserver address and the skin to Ares default. Remote and key settings are default.

    Steps to reproduce.

    Load MP,
    Using only keyboard
    Load TVSeries plugin
    Choose Series then episode and use "Enter" to play
    press "space" to pause
    press "esc" to go back
    press "esc" to go back again
    Crash

    Same result in windowed mode.
    I have attached the latest log. The HID errors seem to be missing.

    Thanks for the help guys
     

    Attachments

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,344
    1,824
    Country flag
    @Lichloathe, since that exact same scenario works fine on me, and has been working fine on 1.18, 1.19, and i recently upgraded to 1.21 and can confirm it still works it begs to make one wonder it is something external to MediaPortal for you.

    That means BIOS, chipset, drivers, OS, or 3rd party conflicts.

    Since the only entry in MePo error log file is video related I would focus on that.

    1. What is the mainboard & videocard make+model?
    2. Have you check for updated videocard BIOS? (or mainboard BIOS for that matter)
    3. What exact GPU driver is being used currently, and does an update exist? (check with card manufacture first, but for proper designs the unified AMD/nVidia/Intel drivers should work fine)
    4. Same for chipset driver, for Intel use the auto-tool @ Drivers & Software for AMD select 'Chipsets' and the correct one for your board @ AMD Drivers and Support for Radeon, Radeon Pro, FirePro, APU, CPU, Ryzen, desktops, laptops (if in doubt use CPU-Z tool to find out which one you have)
    5. Version of LAVFilter in use, and does an update exist @ Nevcairiel/LAVFilters

    One of those steps might immediately resolve your issue, but they need to be sorted out before you waste any more time digging deeper.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Hi :) no idea why it happen. I will also try it to see if I can reproduce it. But I'm pretty sure I have already done that without issue.

    Tapatalk
     

    Lichloathe

    MP Donator
  • Premium Supporter
  • July 25, 2007
    97
    65
    Australia Australia
    Country flag
    Hi guys,

    I have been looking into this further and seem to have made it happen less often using a new install of MP and a clean database of TVSeries with one folder imported. This time I haven't changed any settings in MPTVSeries (I forgot, I changed the sort and regional settings).

    I have noticed 2 regular scenarios.
    1 - if i pause the video straight away it takes returning to the tvseries view and browse in and out of the plugin quite a few times and in and out of full screen before it will crash.

    2 - if I play the video for a few minutes then pause and return it seems to crashes straight away.

    I am using Lav 0.73.1 and DXVA2 Native with standard directsound settings on all.
    I can post more settings if you like.

    @Lichloathe, since that exact same scenario works fine on me, and has been working fine on 1.18, 1.19, and i recently upgraded to 1.21 and can confirm it still works it begs to make one wonder it is something external to MediaPortal for you.
    I am thinking the same here however it happens on more than one of my setups and they are all entirely different in regards to hardware. One is Nvidia the others are AMD. All have the latest drivers where possible.

    Maybe it's Windows 10 or something related to my network/server.

    I have attached a couple more logs and have noted that the HID error is there again.
    1.zip is scenario 1 and 2.zip well.... you get the picture. ;)

    I seem to be at a bit of a loss.
    Maybe I'll try my other laptop with a fresh install of Windows 10.

    Thanks again.
     

    Attachments

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Hi :) Will ask @Stéphane Lenclud maybe it can pinpoint why hid failed for you :p

    Edit, after the error, there is a deadlock when cleanup directshow graph :
    VMR9: MediaPortal.Player.VideoPlayerVMR9 in renderer
    [2019-02-14 14:58:26,989] [Error ] [MPMain ] [ERROR] - VMR9: MediaPortal.Player.VideoPlayerVMR9 in renderer
    [2019-02-14 14:58:27,254] [Log ] [MPMain ] [DEBUG] - VMR9: Dispose 1

    So the biggest issue is there and need to know why it happen :p
     

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

    OP Similar threads Forum Replies Date
    L Service keeps crashing General 0
    U [solved] MediaPortal crashing on startup General Support 10
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    D [solved] Changed username in Win10, now TV Server config crashes on fresh install Installation, configuration support 1
    ajs Trakt error when start with MP crash Trakt 1
    R TV server crash with WintTV quadHD General 0
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    atlantic [solved] MP1.24 Pre released crash in TV General Support 12
    RoChess Random GPU crash leads to MePo restart, but works fine afterwards MediaPortal 1 14
    R [fixed] [MP2-819] MP2 Server crashes on ATSC OTA channel scan Submit: Bug Reports 33
    doskabouter 1.23.0 Crash when skipping in a dvd Bugreports 3
    J [fixed] [MP2-833] 2.2.2 server crash during import Submit: Bug Reports 50
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    G MP Crashed during setting up recording. Newcomers Forum 1
    Rob Hexenmeister DVD Skip steps causing crash General Support 2
    badboyxx MP 1.22 final is crashing when jumping forward while playing DVD-Iso watch/edit Videos 26
    Terra Crash when opening ACTORS list My TVSeries 3
    Terra Crash when searching movies, reproducable Moving Pictures 2
    KlausWirn Music crash Bass crash no change to play music Installation, configuration support 2
    cladinshadows85 [solved] Audio playing mutiple times over video and crashing General 8
    joecrow Win 10 crash, hang and freeze with USB Tuner. General Support 13
    S Crashing on some IPTV channels General Support 21
    Similar threads

























    Top Bottom