Log-Collector/Debug-Mode crashes (1 Viewer)

Helios61

Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,586
    875
    64
    NRW
    Home Country
    Germany Germany
    Hi community!

    Log-Collector/Debug-Mode crashes here with this message:

    Informationen über das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

    ************** Ausnahmetext **************
    System.Text.EncoderFallbackException: Das Unicode-Zeichen \uDFFC im Index 790 kann nicht in die angegebene Codepage übersetzt werden.
    bei System.Text.EncoderExceptionFallbackBuffer.Fallback(Char charUnknown, Int32 index)
    bei System.Text.EncoderFallbackBuffer.InternalFallback(Char ch, Char*& chars)
    bei System.Text.UTF8Encoding.GetBytes(Char* chars, Int32 charCount, Byte* bytes, Int32 byteCount, EncoderNLS baseEncoder)
    bei System.Text.EncoderNLS.GetBytes(Char* chars, Int32 charCount, Byte* bytes, Int32 byteCount, Boolean flush)
    bei System.Text.EncoderNLS.GetBytes(Char[] chars, Int32 charIndex, Int32 charCount, Byte[] bytes, Int32 byteIndex, Boolean flush)
    bei System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
    bei System.IO.StreamWriter.Dispose(Boolean disposing)
    bei System.IO.TextWriter.Dispose()
    bei MediaPortal.Support.EventLogCsvLogger.CreateLogs(String destinationFolder)
    bei WatchDog.PostTestActions.PerformActions()
    bei WatchDog.MPWatchDog.PerformPostTestActions(Boolean autoClose)
    bei WatchDog.MPWatchDog.tmrMPWatcher_Tick(Object sender, EventArgs e)
    bei System.Windows.Forms.Timer.OnTick(EventArgs e)
    bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Geladene Assemblys **************
    mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4952 (win7RTMGDR.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------
    WatchDog
    Assembly-Version: 1.1.2.20595.
    Win32-Version: 1.1.2.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/WatchDog.exe.
    ----------------------------------------
    System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
    ----------------------------------------
    System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
    ----------------------------------------
    System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    ----------------------------------------
    Utils
    Assembly-Version: 2.2.7.20588.
    Win32-Version: 2.2.7.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL.
    ----------------------------------------
    System.Xml
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
    ----------------------------------------
    mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4952 (win7RTMGDR.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------
    DaggerLib.DSGraphEdit
    Assembly-Version: 1.0.2866.28351.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/DaggerLib.DSGraphEdit.DLL.
    ----------------------------------------
    DirectShowLib-2005
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.0.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/DirectShowLib-2005.DLL.
    ----------------------------------------
    DaggerLib
    Assembly-Version: 1.0.2856.27998.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/DaggerLib.DLL.
    ----------------------------------------
    MediaPortal.Support
    Assembly-Version: 1.1.2.20586.
    Win32-Version: 1.1.2.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MediaPortal.Support.DLL.
    ----------------------------------------
    System.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_de_b77a5c561934e089/System.resources.dll.
    ----------------------------------------
    System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
    ----------------------------------------

    ************** JIT-Debuggen **************
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

    Zum Beispiel:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

    Could you please help?

    Best regards

    Helios
     

    Attachments

    • Bild001.jpg
      Bild001.jpg
      66.4 KB

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,586
    875
    64
    NRW
    Home Country
    Germany Germany
    AW: Log-Collector/Debug-Mode crashes

    Nobody there, who can help? :confused: :eek:
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi there

    Seems like you have unicode characters coming through the logs and the logging doesn't like it. Is your OS language set to German?
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,586
    875
    64
    NRW
    Home Country
    Germany Germany
    AW: Re: Log-Collector/Debug-Mode crashes

    Hi there

    Seems like you have unicode characters coming through the logs and the logging doesn't like it. Is your OS language set to German?

    Hi mm1352000!

    Thanks for your reply! Of course, it is set to German!

    H
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hi again

    This is a strange problem but like I said before, I think the unicode characters in the logging are causing problems. Try changing the OS language temporarily to English and see if it resolves the problem. Of course that is not a good permanent solution. The MediaPortal client is not my speciality, and localisation issues can be tricky. I am hoping one of the German members of the team can offer better advice. It might be a good idea to post the question in the German section of the forum as well and see if you get any response...
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,586
    875
    64
    NRW
    Home Country
    Germany Germany
    AW: Re: Log-Collector/Debug-Mode crashes

    Try changing the OS language temporarily to English and see if it resolves the problem. Of course that is not a good permanent solution.

    Unfortunately the same issue!
     

    ChrisOfCatford

    MP Donator
  • Premium Supporter
  • August 2, 2006
    210
    6
    London UK
    Home Country
    United Kingdom United Kingdom
    Hi Helios61,

    I don't know if this will help but a long while ago I had an issue where the log collector crashed every time.

    I moved all existing logs to a folder away from where they were and the log collector started working again. I suppose it was a corrupted file (or some sort of file permission issue) causing the problem for me.

    May be worth a try deleting or moving all existing logs.

    Chris
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,586
    875
    64
    NRW
    Home Country
    Germany Germany
    AW: Log-Collector/Debug-Mode crashes

    Hi Chris!

    Thanks for your reply! I have tried it again and, it's strange, it is working! What i have done: First i have deleted all old log, as recommendet ;). And then i have run the debug-mode "as administrator", and now it is working fine!
    :D again

    Helios
     

    Users who are viewing this thread

    Top Bottom