On 12/04/2025 10:07, Russell Coker wrote:
Here are the results of running valgrind with a debugging build of every
relevant package installed:
==241689== Invalid read of size 8
==241689== at 0x53A92E: UnknownInlinedFun (objimpl.h:6)
==241689== by 0x53A92E: _PyObject_New (object.c:534)
==241689== by 0x70D3532: SWIG_Python_newvarlink (selinuxswig_python_wrap.c:
1575)
==241689== by 0x70D3628: SWIG_globals (selinuxswig_python_wrap.c:1605)
==241689== by 0x70D5922: SWIG_Python_DestroyModule
(selinuxswig_python_wrap.c:2973)
This looks exactly like an upstream bug in swig [1].
A workaround could be to disable -W error though that's clearly not a great
fix.
However, I haven't been able to reproduce the issue (on unstable). There have
been some changes to refpolicy, libselinux and swig since this issue was
reported, but nothing that looks relevant.
Regards,
Arnout