Kodi Community Forum

Full Version: JSON-RPC play of smart playlists crashes Kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using the yatse remote control interface and I select random playlist using the spotify plugin.

The Json-RPC webserver crashes and I am no longer able to connect to the kodi instance without reboot.

Here is what I see in the debug log:


16:29:33 525.591125 T:1301279664 DEBUG: webserver: request received for /jsonrpc
16:29:51 543.311829 T:1472197552 DEBUG: Previous line repeats 3 times.
16:29:51 543.312012 T:1472197552 INFO: CFileCache:Tonguerocess - Hit eof.
16:29:51 543.362427 T:1447031728 ERROR: Texture manager unable to load image from memory
16:29:51 543.362671 T:1447031728 ERROR: Previous line repeats 1 times.
16:29:51 543.362732 T:1447031728 DEBUG: LoadFromFileInternal - Load of http://127.0.0.1:8090/track/4TQ7v1QI5fuV...1-dirty%29 failed.
16:29:51 543.374878 T:1472197552 DEBUG: Thread FileCache 1472197552 terminating
16:29:51 543.382202 T:1943994368 DEBUG: Stopping BackgroundLoader thread
16:29:51 543.382324 T:1447031728 DEBUG: Time for loading 1 images: 232125 ms, average 232125 ms
16:29:51 543.382385 T:1447031728 DEBUG: Thread BgPicLoader 1447031728 terminating
16:29:51 543.388062 T:1943994368 DEBUG: ------ Window Init (MyMusicNav.xml) ------
16:29:51 543.388184 T:1943994368 INFO: Loading skin file: MyMusicNav.xml, load type: KEEP_IN_MEMORY
16:29:51 543.592041 T:1943994368 DEBUG: CGUIMediaWindow::GetDirectory ()
16:29:51 543.592163 T:1943994368 DEBUG: ParentPath = []
16:29:51 543.614502 T:1943994368 DEBUG: RetrieveMusicInfo() took 0 msec
16:29:51 543.630127 T:1447031728 DEBUG: Thread BackgroundLoader start, auto delete: false
16:29:51 543.638428 T:1447031728 DEBUG: Thread BackgroundLoader 1447031728 terminating
16:29:51 543.657532 T:1943994368 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0x3634188
16:29:51 543.658203 T:1943994368 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(125120), nBufferAlignmen(16)
16:29:51 543.661011 T:1943994368 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.resize input port 60 output port 61 m_handle 0x36f90f8
16:29:51 543.662109 T:1943994368 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.egl_render input port 220 output port 221 m_handle 0x365b918
16:29:51 543.662659 T:1943994368 DEBUG: COMXCoreComponent::UseEGLImage component(OMX.broadcom.egl_render) - port(221), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(15360) nBufferAlignmen(16)
16:29:51 543.758423 T:1943994368 DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.image_decode handle 0x3634188
16:29:51 543.759155 T:1943994368 DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.resize handle 0x36f90f8
16:29:51 543.759949 T:1943994368 DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.egl_render handle 0x365b918
16:29:51 543.760132 T:1943994368 DEBUG: DecodeJpegToTexture: decoded special://skin/backgrounds/SKINDEFAULT.jpg 720x405
16:29:51 543.945618 T:1943994368 DEBUG: ------ Window Deinit () ------
16:29:53 545.895325 T:1292891056 DEBUG: webserver: request received for /jsonrpc
16:29:57 549.221436 T:1483731888 DEBUG: Previous line repeats 2 times.
16:29:57 549.221497 T:1483731888 DEBUG: POParser: loaded 34 strings from file /home/pi/.kodi/addons/plugin.audio.spotify/resources/language/English/strings.po
16:29:57 549.269104 T:1506792368 DEBUG: WaitOnScriptResult- plugin returned successfully
16:29:57 549.271484 T:1483731888 INFO: CPythonInvoker(8, /home/pi/.kodi/addons/plugin.audio.spotify/plugin.py): script successfully run
16:29:57 549.397766 T:1483731888 INFO: Python script stopped
16:29:57 549.398010 T:1483731888 DEBUG: Thread LanguageInvoker 1483731888 terminating
16:29:58 550.497559 T:1292891056 DEBUG: webserver: request received for /jsonrpc
16:30:20 572.688904 T:1748911024 DEBUG: Previous line repeats 13 times.
16:30:20 572.689026 T:1748911024 INFO: CPythonInvoker(1, /home/pi/.kodi/addons/plugin.audio.spotify/plugin.py): script successfully run
16:30:20 572.800049 T:1748911024 INFO: Python script stopped
16:30:20 572.800537 T:1748911024 DEBUG: Thread LanguageInvoker 1748911024 terminating
16:30:20 572.945923 T:1292891056 DEBUG: webserver: request received for /jsonrpc
16:30:21 573.556885 T:1943994368 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-arm.so)
16:30:21 573.557617 T:1943994368 INFO: CheckIdle - Closing session to http://127.0.0.1 (easy=0x3a22cd8, multi=0x6f817210)
16:30:22 574.474060 T:1292891056 DEBUG: webserver: request received for /jsonrpc
16:31:51 663.270508 T:1787708336 DEBUG: Previous line repeats 54 times.
16:31:51 663.270691 T:1787708336 DEBUG: Spotify --> Spotify Callbacks: 03:31:51.155 E [ap:4210] ChannelError(0, 1, playlist)
16:31:51 663.404846 T:1292891056 DEBUG: webserver: request received for /jsonrpc
16:32:01 673.590942 T:1787708336 DEBUG: Previous line repeats 6 times.
16:32:01 673.591125 T:1787708336 DEBUG: Spotify --> Spotify Callbacks: 03:32:01.476 E [ap:4210] ChannelError(0, 0, playlist)
16:32:01 674.041016 T:1787708336 DEBUG: Spotify --> Spotify Callbacks: 03:32:01.926 E [ap:4210] ChannelError(2, 1, playlist)
16:32:02 674.870605 T:1292891056 DEBUG: webserver: request received for /jsonrpc
16:32:51 723.926697 T:1943994368 DEBUG: Previous line repeats 30 times.
16:32:51 723.926880 T:1943994368 DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
16:32:51 723.927002 T:1943994368 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
16:32:51 723.930481 T:1943994368 DEBUG: ------ Window Init () ------
16:32:53 725.460632 T:1292891056 DEBUG: webserver: request received for /jsonrpc
16:33:02 734.374451 T:1787708336 DEBUG: Previous line repeats 5 times.
16:33:02 734.374634 T:1787708336 DEBUG: Spotify --> Spotify Callbacks: 03:33:02.259 E [ap:4210] ChannelError(0, 1, playlist)
16:33:02 735.008789 T:1292891056 DEBUG: webserver: request received for /jsonrpc
16:33:42 774.166260 T:1665024944 DEBUG: Previous line repeats 15 times.
16:33:42 774.166382 T:1665024944 INFO: JSONRPC Server: Disconnection detected


What do you need to debug this?
Some additional information : If I am vnc'd into the machine kodi appears frozen.