Solved Kodi v16: System shutdown freezes Kodi
#1
The issue is new, basically 3 or 4 day old issue and currently under investigation for its possible cause.

When you press the power button on remote, Kodi freezes immediately and is unresponsive to further input. OS remains accessible.

Version check addon: Disabled ( Since this is usually the cause for hangs on exit etc.

Only way to actually shutdown system is to drop to tty or via ssh and issue poweroff command.

Kodi (16.0-ALPHA1 Git:2015-07-17-105ee16). Platform: Linux x86 64-bit
Running on Ubuntu minimal 14.04.2 LTS, kernel: Linux x86 64-bit version 3.13.0-57-generic
Start-up method : upstart script

Its not a user permission issue as this is a fully working system before this period.

Stacktrace to follow (attaching Kodi to gdb freezes Kodi and you cant duplicate this issue)

Debug log: http://xbmclogs.com/pddbovvss

Reverting back to git reset --hard 5c2df624b78430a3977cd3a4b6dc8ccc16e0d5a1 this issue (and others) is solved.
Reply
#2
Just hung again as now usual every day occurrence.

Attached kodi PID to gdb and ran bt and thread apply all bt

OK here is a stack trace http://pastebin.com/kq9FfE6s

None the wiser atm I see references to KODI::MESSAGING mostly but no idea if they mean anything.

ping Paxxi?
Reply
#3
try to revert https://github.com/xbmc/xbmc/pull/4273
Reply
#4
Thx wsnipex

Sure I can, but that's wasn't a problem until 3/4 days ago will do it anyway.
Reply
#5
(2015-07-20, 11:18)wsnipex Wrote: try to revert https://github.com/xbmc/xbmc/pull/4273

Right no joy with that one. Still froze had kill -6 kodi PID

http://pastebin.com/0S70WZUh <- with that core patch you did \o/
Reply
#6
Ive now open a trac report http://trac.kodi.tv/ticket/16146

Its something wrong happening since the kodi.bin after pressing poweroff on remote is sucking 100% CPU

Code:
PID  USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
1242 kodi      20   0 2359104 179984  55628 R 100.7  4.5   6:15.68 kodi.bin

Ive left it running for a while after this and then killed the process and grabbed the stacktrace http://trac.kodi.tv/attachment/ticket/16...145943.log

Would be extra nice if Paxxi could look at this (when he can) Im srue he knows whats going on.
Reply
#7
This bug makes me feel like...
Image
Reply
#8
Solved by https://github.com/xbmc/xbmc/pull/7777
Reply
#9
I am having this problem on all my macs with Kodi since installing Jarvis. Kodi hangs when I click on Exit. Is there some way to resolve this? Thanks.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi v16: System shutdown freezes Kodi0