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

Bug#979367: kodi: segfault when shutting down



Hi!

On Wed, Jan 06, 2021 at 10:49:34AM +0000, Vasyl Gello wrote:
> I will build kodi against testing/amd64 today with a patch introducing null checks in the PythonLanguageHook
> and send you the link to the resulting deb file. In the meantime, can you please upload the corefile? I want to check
> if pointer to PyDict is null or not. If it is nulled, then it is a deference bug but if it is non-null then we encountered an UaF.

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?)

Sebastian


Reply to: