Kodi Community Forum
Win Crash : Kodi Exception caught on main loop ( logs included ) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Win Crash : Kodi Exception caught on main loop ( logs included ) (/showthread.php?tid=256945)

Pages: 1 2 3


Crash : Kodi Exception caught on main loop ( logs included ) - zaidrockso - 2016-01-18

Crashes very often, It's always " Kodi exception caught on main loop "

​ debug log: http://xbmclogs.com/pjochzzqj

Stack trace: Thread 8484 (process 8636) # 0

There's nothing specific i do that triggers it, sometimes works for 24 hours no problem , sometimes doesn't for 2 minutes in a row. i get this message, and crashes.

If you want the dmp crashlog file i've uploaded it to kodi trace : http://trac.kodi.tv/ticket/16520


RE: Crash : Kodi Exception caught on main loop ( logs included ) - zaidrockso - 2016-01-19

Anyone?


RE: Crash : Kodi Exception caught on main loop ( logs included ) - airphotos - 2016-01-19

I am having the exact same issue. I have been doing all the digging I can do to see what the problem is and it looks like the initial thought was a relation to nVidia drivers. Well, that's obviously not the case as I'm using Intel 6000 graphics. I only started noticing this about half-way through the Jarvis beta releases, but cannot say exact where it went south. It seems to happen within the first 5-10 seconds of starting a video or LiveTV, I've tried a complete Windows 10 reinstall, Jarvis install and about 5 different versions of Intel drivers....Nothing fixes it and I have no problems with playback in other programs.


RE: Crash : Kodi Exception caught on main loop ( logs included ) - zerocool_ie - 2016-01-19

I'm getting the same error message. I have Kodi running 24/7 on my 'server' PC so it's not playback related in my case.
Started happening on Beta3 IIRC


RE: Crash : Kodi Exception caught on main loop ( logs included ) - willemd - 2016-01-19

Same here. Also without a useful log entry or without any reason (that I can see). Not really useful to the Windows dev this way, but I don't know how to get more info if the log and crash dump remain empty. Sad


RE: Crash : Kodi Exception caught on main loop ( logs included ) - airphotos - 2016-01-19

An update in my case...I tried using a copy of the DX11 DSplayer version of Jarvis and (so far) have not received the error message. If I disable DSplayer and revert back to the internal player, the error comes back. I tried once again to play with different combos of software and hardware acceleration settings, but they all throw the error.


RE: Crash : Kodi Exception caught on main loop ( logs included ) - zerocool_ie - 2016-01-19

Don't know if this helps, but I never witness the error message popping up, it seems to be there every day when I check my server

Code:
00:19:39 T:6300   DEBUG: Thread BackgroundLoader start, auto delete: false
00:19:40 T:6300   DEBUG: Thread BackgroundLoader 6300 terminating
00:19:51 T:4004    INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://mirrors.kodi.tv (easy=089EB840, multi=08618740)
00:20:08 T:7996   DEBUG: Thread JobWorker 7996 terminating (autodelete)
05:05:37 T:4004   ERROR: exception in CApplication::FrameMove()
17:56:41 T:7632   DEBUG: webserver: request received for /jsonrpc
18:23:10 T:4004   DEBUG: CWinEventsWin32::WndProc: window move event
18:23:10 T:4004   DEBUG: CWinEventsWin32::WndProcWindow is active
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceAdded: Added device: {
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceStateChanged: New device state is DEVICE_STATE_UNPLUGGED
18:23:11 T:5632   DEBUG: CActiveAE - device change event
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceAdded: Added device: {
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceStateChanged: New device state is DEVICE_STATE_ACTIVE
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceAdded: Added device: {
18:23:11 T:9436   DEBUG: Previous line repeats 1 times.
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceStateChanged: New device state is DEVICE_STATE_ACTIVE
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceAdded: Added device: {
18:23:11 T:9436   DEBUG: Previous line repeats 1 times.
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceStateChanged: New device state is DEVICE_STATE_UNPLUGGED
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceAdded: Added device: {
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDeviceStateChanged: New device state is DEVICE_STATE_UNPLUGGED
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = eConsole
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = eMultimedia
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eRender, role = eCommunications
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = eConsole
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = eMultimedia
18:23:11 T:9436   DEBUG: CMMNotificationClient::OnDefaultDeviceChanged: New default device: flow = eCapture, role = eCommunications

Before 05:05, nothing going on
05:05 - an exception (ERROR: exception in CApplication::FrameMove())
17:56 my script to update library kicks in
18:23 login via Teamviewer to check why my script hasn't run, thats when I see Exception caught on main loop message box

If any of the Windows devs need more info, just let me know Smile


RE: Crash : Kodi Exception caught on main loop ( logs included ) - keviac1082 - 2016-01-20

Hi. I have been experiencing the same problem. I have Jarvis installed on 3 PCs and all get this error throughout the day. Any fix recommendation would be great.


RE: Crash : Kodi Exception caught on main loop ( logs included ) - zaidrockso - 2016-01-20

Seems many of us have this problem, hoping someone knows what's going on


RE: Crash : Kodi Exception caught on main loop ( logs included ) - zerocool_ie - 2016-01-20

Code:
00:40:55 T:9576   ERROR: D:\kodi\portable_data\addons\script.module.requests\lib\requests\packages\urllib3\util\ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
                                              InsecurePlatformWarning
08:44:33 T:9064   ERROR: exception in CApplication::FrameMove()
17:41:02 T:5164   DEBUG: webserver: request received for /jsonrpc
20:41:41 T:9064   DEBUG: CWinEventsWin32::WndProc: window move event

Same again overnight for me, logged a ticket in Trac with crashlog and stacktrace.
http://trac.kodi.tv/ticket/16525

-Z


RE: Crash : Kodi Exception caught on main loop ( logs included ) - afedchin - 2016-01-22

please provide a full Debug Log.


RE: Crash : Kodi Exception caught on main loop ( logs included ) - zaidrockso - 2016-01-22

I have, http://xbmclogs.com/pjochzzqj , also posted a crash log here. http://trac.kodi.tv/ticket/16520


RE: Crash : Kodi Exception caught on main loop ( logs included ) - afedchin - 2016-01-23

Last time when I saw same issue with NVIDIA GeForce GTX 970 it was solved by driver upgrade.


RE: Crash : Kodi Exception caught on main loop ( logs included ) - serrano - 2016-01-24

Same error here, often happens after i stop playback of a Movie and start playing Another. Crashes right at the start, video goes blank, error message pops up, sound still works for about 2 secods in the background,
Using Jarvis RC1 on Windows 10 Intel NUC i3 4th gen. (Intel HD4400 Graphics, latest drivers

This problem came with Jarvis, i have tested ALL Jarvis betas, same problem in each version.
Will go back to 15.2 in the meantime, issue is not present there.


RE: Crash : Kodi Exception caught on main loop ( logs included ) - zerocool_ie - 2016-01-28

(2016-01-22, 09:46)afedchin Wrote: please provide a full Debug Log.

http://xbmclogs.com/pgrsbzke9

Here's mine, if it helps.

Display: NVIDIA ION with latest drivers.
Code:
---------------
Display Devices
---------------
          Card name: NVIDIA ION      
       Manufacturer: NVIDIA
          Chip type: ION
           DAC type: Integrated RAMDAC
        Device Type: Full Device
         Device Key: Enum\PCI\VEN_10DE&DEV_087D&SUBSYS_087D1849&REV_B1
     Display Memory: 2025 MB
   Dedicated Memory: 489 MB
      Shared Memory: 1535 MB
       Current Mode: 1360 x 768 (32 bit) (60Hz)
       Monitor Name: Generic PnP Monitor
      Monitor Model: unknown
         Monitor Id:
        Native Mode: unknown
        Output Type: Unknown
        Driver Name: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Driver File Version: 9.18.0013.4192 (English)
     Driver Version: 9.18.13.4192
        DDI Version: 10
     Feature Levels: 10.0,9.3,9.2,9.1
       Driver Model: WDDM 1.2
Graphics Preemption: DMA
Compute Preemption: DMA
           Miracast: Not Supported
Hybrid Graphics GPU: Not Applicable
     Power P-states: Not Applicable
  Driver Attributes: Final Retail
   Driver Date/Size: 10/13/2015 19:00:02, 17559432 bytes
        WHQL Logo'd: Yes
    WHQL Date Stamp:
  Device Identifier: {D7B71E3E-4B3D-11CF-996B-70280CC2C435}
          Vendor ID: 0x10DE
          Device ID: 0x087D
          SubSys ID: 0x087D1849
        Revision ID: 0x00B1
Driver Strong Name: oem5.inf:0f066de34bead978:Section071:9.18.13.4192:pci\ven_10de&dev_087d
     Rank Of Driver: 00DA2001
        Video Accel: ModeMPEG2_A ModeMPEG2_C ModeVC1_C ModeWMV9_C
        DXVA2 Modes: DXVA2_ModeMPEG2_IDCT  DXVA2_ModeMPEG2_VLD  DXVA2_ModeVC1_VLD  DXVA2_ModeVC1_IDCT  DXVA2_ModeWMV9_IDCT  DXVA2_ModeH264_VLD_NoFGT  
   Deinterlace Caps: {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,UYVY) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YV12,0x32315659) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC1,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC2,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC3,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(IMC4,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(S340,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {F9F19DA5-3B09-4B2F-9D89-C64753E3EAAB}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {5A54A0C9-C7EC-4BD9-8EDE-F3C75DC4393B}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
                     {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(S342,UNKNOWN) Frames(Prev/Fwd/Back)=(0,0,0) Caps=
       D3D9 Overlay: Supported
            DXVA-HD: Supported
       DDraw Status: Enabled
         D3D Status: Enabled
         AGP Status: Enabled