• Bug#1095376: more info

    From Arnout Vandecappelle@21:1/5 to Russell Coker on Sat Apr 26 22:00:01 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Christian_G=C3=B6ttsche?=@21:1/5 to Arnout Vandecappelle on Mon Apr 28 17:10:02 2025
    On Sat, 26 Apr 2025 at 21:54, Arnout Vandecappelle <arnout@rnout.be> wrote:
    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].

    You forgot to include the actual link.
    Did you mean https://github.com/swig/swig/issues/3061?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)