MP-TVSeries causes MP to crash (1 Viewer)

MusicMan62

Portal Pro
November 2, 2010
53
6
Frome, UK
Home Country
United Kingdom United Kingdom
mastyman, I'm the OP of this thread and all these recent comments are valid plus i have left several logs. This is the best place for discussing the problem unless it turns out to be a skin issue. Out of interest i do use streamdMP so I'll go back to the default skin and see if it still occurs.
 

mastyman

MP Donator
  • Premium Supporter
  • June 1, 2010
    364
    68
    Auckland
    Home Country
    New Zealand New Zealand
    fair comment, but not everyone has posted logs so who knows if its really the same issue for those guys?

    for your other statement tho, i have setup about 12 htpcs now, all with tvseries and streamedmp, and havent had your issue (yet) anyway.
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: MP-TVSeries causes MP to crash

    Does the crash happen in all views or only specific ones? (Coverflow, Filmstrip...?)
     

    cnk

    Portal Member
    March 9, 2011
    10
    0
    Home Country
    Spain Spain
    my suggestion is if you guys are having problems, stop posting in this thread, create a new thread for your own issue along with proper debug logs attached

    OK, I'm guilty :sorry:

    Here it's my log View attachment 98861

    And this is the error:

    Code:
    2012-02-09 17:14:52.120977 [Warn.][MPMain(1)]: GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\StreamedMP\TVSeries.xml' is missing control id 526 (window property: loadingImage)
    2012-02-09 17:14:54.150093 [Info.][MPMain(1)]: TexturePacker: Loaded C:\ProgramData\Team MediaPortal\MediaPortal\Cache\StreamedMP\packedgfx25.png texture:2048x2048 miplevels:1
    2012-02-09 17:14:54.151093 [Info.][MPMain(1)]: TexturePacker: fontengine add texure:1974
    2012-02-09 17:14:54.442110 [Info.][MPMain(1)]: TexturePacker: Loaded C:\ProgramData\Team MediaPortal\MediaPortal\Cache\StreamedMP\packedgfx24.png texture:2048x2048 miplevels:1
    2012-02-09 17:14:54.444110 [Info.][MPMain(1)]: TexturePacker: fontengine add texure:1973
    2012-02-09 17:14:54.494113 [Debug][MPMain(1)]: Window: WindowPlugins.GUITVSeries.TVSeriesPlugin init
    2012-02-09 17:14:54.940138 [Debug][(25)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Phineas Y Ferb\-langen-posters/81848-3.jpg]
    2012-02-09 17:14:54.945139 [Debug][(6)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Iron Man_ Armored Adventures\-langen-posters/83826-3.jpg]
    2012-02-09 17:14:54.949139 [Debug][(14)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Star Wars - The Clone Wars\-langen-posters/83268-9.jpg]
    2012-02-09 17:14:54.950139 [Debug][MPMain(1)]: TextureManager: CleanupThumbs()
    2012-02-09 17:14:54.953139 [Debug][(24)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\The Avengers_ Earth's Mightiest Heroes\-langen-posters/192171-3.jpg]
    2012-02-09 17:14:54.957139 [Debug][(26)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\The Super Hero Squad Show\-langen-posters/113901-2.jpg]
    2012-02-09 17:14:55.166151 [Info.][(27)]: MediaPortal: Unhandled exception occured
    2012-02-09 17:14:55.173152 [Info.][(27)]: Exception   :System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
    
    Server stack trace: 
       en System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       en WindowPlugins.GUITVSeries.localLogos.getFromDB()
       en WindowPlugins.GUITVSeries.localLogos.work(Level level, Int32 imgHeight, Int32 imgWidth, Boolean firstOnly, List`1& logosForBuilding)
       en WindowPlugins.GUITVSeries.localLogos.getLogos(Level level, Int32 imgHeight, Int32 imgWidth, Boolean firstOnly, List`1& logosForBuilding)
       en WindowPlugins.GUITVSeries.localLogos.getLogos(DBSeries& series, Int32 imgHeight, Int32 imgWidth)
       en WindowPlugins.GUITVSeries.TVSeriesPlugin.Series_OnItemSelected(GUIListItem item)
       en WindowPlugins.GUITVSeries.TVSeriesPlugin.onFacadeItemSelected(GUIListItem item, GUIControl parent)
       en System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       en System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       en System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    
    Exception rethrown at [0]: 
       en System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
       en System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
       en MediaPortal.GUI.Library.GUIListItem.ItemSelectedHandler.EndInvoke(IAsyncResult result)
       en MediaPortal.GUI.Library.GUIListItem.itemSelectedCallback(IAsyncResult ar)
       en System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
       en System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
       en System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
       en System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
       en System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
       en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       en System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
       en System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
    2012-02-09 17:14:55.175152 [Info.][(27)]: Exception   :Referencia a objeto no establecida como instancia de un objeto.
    2012-02-09 17:14:55.176152 [Info.][(27)]:   site      :System.Runtime.Remoting.Messaging.IMessage EndInvokeHelper(System.Runtime.Remoting.Messaging.Message, Boolean)
    2012-02-09 17:14:55.177152 [Info.][(27)]:   source    :mscorlib
    2012-02-09 17:14:55.179152 [Info.][(27)]:   stacktrace:
    Server stack trace: 
       en System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       en WindowPlugins.GUITVSeries.localLogos.getFromDB()
       en WindowPlugins.GUITVSeries.localLogos.work(Level level, Int32 imgHeight, Int32 imgWidth, Boolean firstOnly, List`1& logosForBuilding)
       en WindowPlugins.GUITVSeries.localLogos.getLogos(Level level, Int32 imgHeight, Int32 imgWidth, Boolean firstOnly, List`1& logosForBuilding)
       en WindowPlugins.GUITVSeries.localLogos.getLogos(DBSeries& series, Int32 imgHeight, Int32 imgWidth)
       en WindowPlugins.GUITVSeries.TVSeriesPlugin.Series_OnItemSelected(GUIListItem item)
       en WindowPlugins.GUITVSeries.TVSeriesPlugin.onFacadeItemSelected(GUIListItem item, GUIControl parent)
       en System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       en System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       en System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
    
    Exception rethrown at [0]: 
       en System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
       en System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
       en MediaPortal.GUI.Library.GUIListItem.ItemSelectedHandler.EndInvoke(IAsyncResult result)
       en MediaPortal.GUI.Library.GUIListItem.itemSelectedCallback(IAsyncResult ar)
       en System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
       en System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
       en System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
       en System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
       en System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
       en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       en System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
       en System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
    2012-02-09 17:14:55.354162 [Debug][(26)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\The Super Hero Squad Show\-langen-posters/113901-2.jpg]
    2012-02-09 17:14:55.542173 [Debug][(26)]: TextureManager: added: memoryImage   total count: 23, mem left (MB): 2258
    2012-02-09 17:14:55.714183 [Debug][(24)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\The Avengers_ Earth's Mightiest Heroes\-langen-posters/192171-3.jpg]
    2012-02-09 17:14:55.725183 [Debug][(6)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Iron Man_ Armored Adventures\-langen-posters/83826-3.jpg]
    2012-02-09 17:14:55.727183 [Debug][(14)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Star Wars - The Clone Wars\-langen-posters/83268-9.jpg]
    2012-02-09 17:14:55.728184 [Debug][(25)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Phineas Y Ferb\-langen-posters/81848-3.jpg]
    2012-02-09 17:14:55.852191 [Debug][(9)]: TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Downton Abbey\-langen-posters/193131-4.jpg_new]
    2012-02-09 17:14:56.038201 [Debug][(25)]: TextureManager: added: memoryImage   total count: 24, mem left (MB): 2258
    2012-02-09 17:14:56.047202 [Debug][(9)]: TextureManager: added: memoryImage   total count: 25, mem left (MB): 2258
    2012-02-09 17:14:56.050202 [Debug][(24)]: TextureManager: added: memoryImage   total count: 26, mem left (MB): 2258
    2012-02-09 17:14:56.051202 [Debug][(14)]: TextureManager: added: memoryImage   total count: 27, mem left (MB): 2258
    2012-02-09 17:14:56.169209 [Debug][(6)]: TextureManager: added: memoryImage   total count: 28, mem left (MB): 2258
    2012-02-09 17:14:56.229212 [Debug][MPMain(1)]: TextureManagerEx: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Phineas Y Ferb\-langen-posters/81848-3.jpg]
    2012-02-09 17:14:56.583232 [Debug][MPMain(1)]: TextureManagerEx: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Iron Man_ Armored Adventures\-langen-posters/83826-3.jpg]
    2012-02-09 17:14:56.815246 [Debug][MPMain(1)]: TextureManagerEx: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Star Wars - The Clone Wars\-langen-posters/83268-9.jpg]
    2012-02-09 17:14:57.049259 [Debug][MPMain(1)]: TextureManagerEx: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\MPTVSeriesBanners\Downton Abbey\-langen-posters/193131-4.jpg_new]

    And I think it's the same error (SystemNullRerefence and Insert(TKey key, TValue value, Boolean add)

    I think my view is Coverflow and I'll try to change to test if it changes the behavior.

    And again sorry about my poor english
     

    cnk

    Portal Member
    March 9, 2011
    10
    0
    Home Country
    Spain Spain
    I've been testing my system with many configurations and this is the "report":

    1.- My PC crash in MediaPortal Skin too. :(
    2.- MP-TV crash in coverflow and "slides" (Diapositivas into Spanish) at least when I use StreamedMP

    Bye
     

    cnk

    Portal Member
    March 9, 2011
    10
    0
    Home Country
    Spain Spain
    :LOL: I got it!!!! (y)

    It's an issue with fanart. If you disable fanart handler, then MyTvSeries work again although it doesn't show any backgrounds from main menu for films, series, music, etc...

    Nevertheless it's not necessary to disable fanart. In my case I've just disabled fanart in MyTvSeries in the StreamedMp Configuration, and even that you can tell it that load background from a folder called "original" into "thumbs" and "FanArt". I'm not sure the complete path because I'm writing in my desktop computer and I can't access to my MediaPortal PC in this moment, but I think is something like C:/Program Data/TeamMediaPortal/MediaPortal/Thumbs/FanArt/Original" and in this location are all the backgrounds for "TvSeries".

    I'll try to put some images from StreamedMp configuration program to explain better what I've done.

    Could you try to test if this workaround works for everybody?

    P.S.: I hope I was able to explain in my poor English how I've solved my/our problem :whistle: , and sorry (again) for my english.
     

    Andrew H

    MP Donator
  • Premium Supporter
  • September 8, 2007
    576
    42
    Alabama
    Home Country
    United States of America United States of America
    I noticed my MediaPortal 1.2.3 had crashed last night. I'd had issue with a series "Touch" (which in tvdb is called "Touch (2012)" ) when the first time I recorded a show it would crash MP when I tried to play it even through Recorded-TV! The same file would play fine in MPC-HC. In fact, if TV-Series tried to fetch the series from tvdb it would crash MP or the TV-Series plug-in (when I'd open it from MP-Configuration/Plug-Ins).

    Back to last night - I removed all (subsequent) Tough files (.ts & .xml) from the folders TV-Series scans. (Not sure whether this is still of interest or not.) Then I'd run a TV-Series config and import files, when it gets to the third screen (where it downloads data just before the FINISH button) it would crash! Looking at the TV-Series.log it was accessing a tvdb.com apikey... something about getting a weekly update .zip file as the last log entry ???

    I'll post logs later tonight but wanted to pass this "finding" on right away. I'd noticed tvdb being slow recently but would they have altered their API KEY? The fact that TV-Series crashes in its own configuration is tell-tale and clears any interaction (in my case) with the core MP code because MP crashing when TV-Series is ENABLED is driven by TV-Series crashing, making MP look as if it has crashed. DISABLING TV-Series allows MP to run fine albeit no TV-Series GUI to play TV shows.
     

    cnk

    Portal Member
    March 9, 2011
    10
    0
    Home Country
    Spain Spain
    It came back again :(

    It's much less frequent than before I disabled fanart in MyTvSeries configuration in StreamedMP but it continues crashing sometimes.

    I'll try again disabling FanArt in MediaPortal configuration to test if it disappear or not.

    See you soon.
     

    Andrew H

    MP Donator
  • Premium Supporter
  • September 8, 2007
    576
    42
    Alabama
    Home Country
    United States of America United States of America
    I noticed my MediaPortal 1.2.3 had crashed last night. I'd had issue with a series "Touch" (which in tvdb is called "Touch (2012)" ) when the first time I recorded a show it would crash MP when I tried to play it even through Recorded-TV! The same file would play fine in MPC-HC. In fact, if TV-Series tried to fetch the series from tvdb it would crash MP or the TV-Series plug-in (when I'd open it from MP-Configuration/Plug-Ins).

    Back to last night - I removed all (subsequent) Tough files (.ts & .xml) from the folders TV-Series scans. (Not sure whether this is still of interest or not.) Then I'd run a TV-Series config and import files, when it gets to the third screen (where it downloads data just before the FINISH button) it would crash! Looking at the TV-Series.log it was accessing a tvdb.com apikey... something about getting a weekly update .zip file as the last log entry ???

    I'll post logs later tonight but wanted to pass this "finding" on right away. I'd noticed tvdb being slow recently but would they have altered their API KEY? The fact that TV-Series crashes in its own configuration is tell-tale and clears any interaction (in my case) with the core MP code because MP crashing when TV-Series is ENABLED is driven by TV-Series crashing, making MP look as if it has crashed. DISABLING TV-Series allows MP to run fine albeit no TV-Series GUI to play TV shows.
    I think I found what's causing this on my system -- I was simply opening the MP-TV-Series Config from the desktop icon **not even opening MP-Config** and looking at the TV-Series.log as I progressed through a "normal" importing of filenames. All was well and it seemed to crash when it was opening a certain .xml file that represented a tv show I'd recorded... what? Hmmm.... I deleted that series of shows from the database (using the 1st tab) and reran the import... this time it had 26 shows to import and in the log I noticed it was gathering metadata about each of these files to create a .xml for that file??? It's at that point the app crashed, gathering metadata from MediaInfo??? So I deleted that file from my HDD and reran the import - all was well, all 25 files processed successfully!

    I then began enabling (rechecking) the fanart, thumbnails, and background art import boxes and realized this was all caused by something "bad" in the file, or how MediaInfo was importing/reporting the data to TV-Series to use that was crashing MP-TV-Series whether it was running solo or inside the MP application as a plug-in -- the 30-second delay I have configured (to scan for new files inside MP) was also an indicator while I was troubleshooting.

    I hope you all can understand the coding specifics from my explanation because I recently added cableTV to my system and the files it was having issue with were analog-TV based... Not sure if this is going to be a recurring issue, or if the analog card is going to be problematic, but at least I have a handle on this as it was crashing my system - now I know to look for recent files, recent analog-TV based TV show files and the TV-Series.log if it crashes again!

    Sorry if my issue was way off topic, a totally separate issue than what you guys are following on this thread - it seemed the only one mentioning TV-Series crashing MP! Thanks :)
     

    Users who are viewing this thread

    Top Bottom