As i can see - it is not addon specific. I made clean kodi installation and installed any official video addon (youtube or cbc, for example) and ran it (it can even fail to load data, does not matter - you just need to invoke internal python, i think) - then exited and kodi hung (forever, in my case). If i do not run any addon - then kodi exits immediately.
not sure if it is useful, but this is what gdb says (i have debug symbols via debuginfod): (gdb) interrupt -a (gdb) bt #0 0x00007ffff2298d61 in __futex_abstimed_wait_common64 (private=<optimized out>, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7fff0c18d130) at ./nptl/futex-internal.c:57 #1 __futex_abstimed_wait_common (cancel=true, private=<optimized out>, abstime=0x0, clockid=0, expected=0, futex_word=0x7fff0c18d130) at ./nptl/futex-internal.c:87 #2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fff0c18d130, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=<optimized out>) at ./nptl/futex-internal.c:139 #3 0x00007ffff22a4f0f in do_futex_wait (sem=sem@entry=0x7fff0c18d130, abstime=0x0, clockid=0) at ./nptl/sem_waitcommon.c:111 #4 0x00007ffff22a4fa8 in __new_sem_wait_slow64 (sem=sem@entry=0x7fff0c18d130, abstime=0x0, clockid=0) at ./nptl/sem_waitcommon.c:183 #5 0x00007ffff22a502d in __new_sem_wait (sem=sem@entry=0x7fff0c18d130) at ./nptl/sem_wait.c:42 #6 0x00007ffff730d3c8 in PyThread_acquire_lock_timed (lock=lock@entry=0x7fff0c18d130, microseconds=microseconds@entry=-1000000, intr_flag=intr_flag@entry=1) at ../Python/thread_pthread.h:490 #7 0x00007ffff740aa10 in acquire_timed (lock=0x7fff0c18d130, timeout=-1000000000) at ../Modules/_threadmodule.c:99 #8 0x00007ffff740c3a4 in lock_PyThread_acquire_lock (self=0x7fffa5bcb500, args=0x7ffff78425c8 <_PyRuntime+76264>, kwds=0x0) at ../Modules/_threadmodule.c:180 #9 0x00007ffff71904cb in method_vectorcall_VARARGS_KEYWORDS (func=0x7fffa6597a10, args=0x7fffe2fc8098, nargsf=<optimized out>, kwnames=<optimized out>) at ../Objects/descrobject.c:365 #10 0x00007ffff7182afc in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=9223372036854775809, args=0x7fffe2fc8098, callable=0x7fffa6597a10, tstate=0x7ffff789ff68 <_PyRuntime+459656>) at ../Include/internal/pycore_call.h:92 #11 PyObject_Vectorcall (callable=callable@entry=0x7fffa6597a10, args=args@entry=0x7fffe2fc8098, nargsf=9223372036854775809, kwnames=0x0) at ../Objects/call.c:325 #12 0x00007ffff711d5ee in _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=<optimized out>, throwflag=<optimized out>) at Python/bytecodes.c:2706 #13 0x00007ffff7182bd7 in _PyObject_VectorcallTstate --Type <RET> for more, q to quit, c to continue without paging--c (kwnames=0x0, nargsf=<optimized out>, args=0x7fffffffd1f0, callable=0x7fffa51c5bc0, tstate=0x7ffff789ff68 <_PyRuntime+459656>) at ../Include/internal/pycore_call.h:92 #14 PyObject_VectorcallMethod (name=name@entry=0x7ffff7838a10 <_PyRuntime+36400>, args=0x7fffffffd1f0, args@entry=0x7fffffffd1e8, nargsf=<optimized out>, nargsf@entry=9223372036854775809, kwnames=kwnames@entry=0x0) at ../Objects/call.c:887 #15 0x00007ffff72ee84b in PyObject_CallMethodNoArgs (name=0x7ffff7838a10 <_PyRuntime+36400>, self=<optimized out>) at ../Include/cpython/abstract.h:94 #16 wait_for_thread_shutdown (tstate=0x7ffff789ff68 <_PyRuntime+459656>) at ../Python/pylifecycle.c:3007 #17 0x00007ffff72f2317 in Py_FinalizeEx () at ../Python/pylifecycle.c:1800 #18 Py_FinalizeEx () at ../Python/pylifecycle.c:1782 #19 0x0000555555d368aa in XBPython::~XBPython (this=0x55555706c4b0, this=<optimized out>) at /usr/src/kodi-2:20.5+dfsg-1ubuntu1/xbmc/interfaces/python/XBPython.cpp:62 #20 0x00005555564288a8 in XBPython::~XBPython (this=0x55555706c4b0, this=<optimized out>) at /usr/src/kodi-2:20.5+dfsg-1ubuntu1/xbmc/interfaces/python/XBPython.cpp:53 #21 std::default_delete<XBPython>::operator() (__ptr=0x55555706c4b0, this=<optimized out>) at /usr/include/c++/13/bits/unique_ptr.h:99 #22 std::__uniq_ptr_impl<XBPython, std::default_delete<XBPython> >::reset (__p=0x0, this=0x5555570405c8) at /usr/include/c++/13/bits/unique_ptr.h:211 #23 std::unique_ptr<XBPython, std::default_delete<XBPython> >::reset (__p=0x0, this=0x5555570405c8) at /usr/include/c++/13/bits/unique_ptr.h:509 #24 CServiceManager::DeinitStageOne (this=0x555557040580) at /usr/src/kodi-2:20.5+dfsg-1ubuntu1/xbmc/ServiceManager.cpp:292 #25 0x0000555556291f24 in CApplication::Cleanup (this=this@entry=0x555556fc0980) at /usr/src/kodi-2:20.5+dfsg-1ubuntu1/xbmc/application/Application.cpp:2055 #26 0x00005555562926d8 in CApplication::Run (this=0x555556fc0980) at /usr/src/kodi-2:20.5+dfsg-1ubuntu1/xbmc/application/Application.cpp:1962 #27 0x0000555555bb577a in main (argc=1, argv=0x7fffffffd698) at /usr/src/kodi-2:20.5+dfsg-1ubuntu1/xbmc/platform/posix/main.cpp:71 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083732 Title: kodi and kodi.bin still in memory after closing the app To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kodi/+bug/2083732/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs