MP crash after restart and refreshrate change; Suicideform in error log (1 Viewer)

Snader

MP Donator
  • Premium Supporter
  • September 5, 2007
    270
    10
    Aalsmeer
    Home Country
    Netherlands Netherlands
    MediaPortal Version: Latest SVN
    MediaPortal Skin: Maya
    Windows Version: Vista 64 all SP's
    CPU Type: AMD
    HDD: 1TB Samsung, 80Gb WD + some external 1Tb WD discs
    Memory: 2Mb
    Motherboard: Gigabyte
    Video Card: Nvidia 9400
    Video Card Driver: Latest
    Sound Card: On board
    1. TV Card: FloppyDTV
    1. TV Card Type: DVB-C
    1. TV Card Driver: Latest
    2. TV Card: Philips/zolid DVB-T
    2. TV Card Type: DBV-T
    2. TV Card Driver: Win7 version
    MPEG2 Video Codec: Microsft
    MPEG2 Audio Codec: ffdshow
    h.264 Video Codec: microsoft
    Satelite/CableTV Provider: CaiWay
    TV: Panasonic
    TV - HTPC Connection: dVI

    I have these crashes of MP. The only thing I could find about it is in german in this forum, but I do not understand much of it. It happens when I restart my HTPC and then I turn on TV. The HTPC switches the refreshrate and then I get some exeption window of Windows 7 about Mediaportal. MP keeps running fine though when I click somewhere so the message goes in the background! Is this something only I have and what can I do about it.

    2010-09-22 16:33:05.185717 [ERROR][(26)]: MediaPortal: Unhandled exception occured
    2010-09-22 16:33:05.201718 [ERROR][(26)]: Exception :confused:ystem.ObjectDisposedException: Cannot access a disposed object.
    Object name: 'SuicideForm'.
    at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.get_Handle()
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.Show()
    at MediaPortal.Player.Win32.KillFormThread()
    at MediaPortal.Player.Win32.<FixDwm>b__0()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    2010-09-22 16:33:05.202718 [ERROR][(26)]: Exception :Cannot access a disposed object.
    Object name: 'SuicideForm'.
    2010-09-22 16:33:05.203718 [ERROR][(26)]: site :Void CreateHandle()
    2010-09-22 16:33:05.204718 [ERROR][(26)]: source :confused:ystem.Windows.Forms
    2010-09-22 16:33:05.204718 [ERROR][(26)]: stacktrace: at System.Windows.Forms.Control.CreateHandle()
    at System.Windows.Forms.Form.CreateHandle()
    at System.Windows.Forms.Control.get_Handle()
    at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    at System.Windows.Forms.Control.Show()
    at MediaPortal.Player.Win32.KillFormThread()
    at MediaPortal.Player.Win32.<FixDwm>b__0()
    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()
    2010-09-22 16:33:14.070225 [ERROR][DirectoryWorker(8)]: SQLiteClient: TVSeriesDatabase4.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:no such column: fanart query:select SortName, fanart from online_series;

    Well, I tried to reproduce this problem in debug mode. For this I had to disable automatic starting op MP. But when looking in the configuration, the checkbox for automatic starting wasn't checked. Seemed that MCE standby tool started MP automatically!

    So, I disabled this in MCE Standby Tool, restarted, and then started MP in debug mode (without any plugins). No problem at all, working perfectly. Then I restarted again and started MP in debug mode, this time with plugins. No problem again! After that I checked the checkbox in configuration again, restarted and the problem wasn't there this time. Was MCE standby tool causing the problem? Time will tell...
     

    bsider

    MP Donator
  • Premium Supporter
  • December 1, 2007
    33
    0
    Many thanks for giving this clue! For many months I was trying to figure out what was causing this error and viola - it was the MCE Standby tool. Uninstalling it helped me get rid of this annoying error screen.
    Mediaportal 1.1.0.
     

    bsider

    MP Donator
  • Premium Supporter
  • December 1, 2007
    33
    0
    There is one more thing which I missed, my MediaPortal shortcut in EventGhost had a zero "working directory". I've changed it to C:\ProgramData\Team MediaPortal\MediaPortal and the problem is gone.
     

    nipper575

    Portal Member
    April 30, 2009
    32
    0
    Home Country
    Great, I also use Eventghost and have nothing set in the working directory for launching MP. I'll edit mine and see how it goes.

    Ok, this definitely seems like a EventGhost problem as from a quick test, I only get the crash if I launch MP via my remote via EG. For me, setting a working directory didn't make a difference. However, changing the window mode to "normal window" from "maximised" seems to have done the trick.

    I'll post back after a couple of days to confirm.

    Edit: Solved
     

    Users who are viewing this thread

    Top Bottom