[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#979367: kodi: segfault when shutting down



Hi!

> Great, thank you!
> I set `ulimit -S -c unlimited` and pressed shutdown. I can see that a core file
> is generated in /home/kodi but as soon as the kodi crashlog is written, the core
> file is removed. Do I need to enable something so that the core file is not
> deleted? I ran `find / -name core` but there seems to be no core file
> anywhere...
> It looks like that kodi is eating the file, see /usr/bin/kodi line 113.
> Is there a method to keep the core file (or is the only way to comment out the
> rm?)

Either to comment out that line or exploit a race condition:

while [ ! -f /home/kodi/core.copy ]; do cp /home/kodi/core* /home/kodi/core.copy; done
-- 
Vasyl Gello
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com

Skype: vasek.gello
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다
Reply to: