Print

Print


Hi,

I met a segfault when exiting a program which has instanced at least one
GSSAPI server:

==22893== Invalid read of size 4
==22893==    at 0x7E91818: shibresolver::ShibbolethResolver::term() (in
/usr/lib/libshibresolver.so.1.0.0)
==22893==    by 0x40D250E: __run_exit_handlers (exit.c:78)
==22893==    by 0x40D257E: exit (exit.c:100)
==22893==    by 0x81773C8: Py_Exit (pythonrun.c:1774)
==22893==    by 0x8175967: handle_system_exit (pythonrun.c:1146)
==22893==    by 0x8175985: PyErr_PrintEx (pythonrun.c:1156)
==22893==    by 0x8175638: PyErr_Print (pythonrun.c:1059)
==22893==    by 0x8174FE8: PyRun_SimpleFileExFlags (pythonrun.c:947)
==22893==    by 0x817473B: PyRun_AnyFileExFlags (pythonrun.c:747)
==22893==    by 0x818CFA9: Py_Main (main.c:639)
==22893==    by 0x805D2E6: main (python.c:23)
==22893==  Address 0x49c5de0 is 0 bytes inside a block of size 28 free'd
==22893==    at 0x402719C: operator delete(void*) (vg_replace_malloc.c:457)
==22893==    by 0x9533032: xmltooling::MutexImpl::~MutexImpl() (in
/usr/lib/libxmltooling.so.6.0.1)
==22893==    by 0x40D257E: exit (exit.c:100)
==22893==    by 0x81773C8: Py_Exit (pythonrun.c:1774)
==22893==    by 0x8175967: handle_system_exit (pythonrun.c:1146)
==22893==    by 0x8175985: PyErr_PrintEx (pythonrun.c:1156)
==22893==    by 0x8175638: PyErr_Print (pythonrun.c:1059)
==22893==    by 0x8174FE8: PyRun_SimpleFileExFlags (pythonrun.c:947)
==22893==    by 0x817473B: PyRun_AnyFileExFlags (pythonrun.c:747)
==22893==    by 0x818CFA9: Py_Main (main.c:639)
==22893==    by 0x805D2E6: main (python.c:23)
==22893== 
pure virtual method called
terminate called without an active exception

Does anyone have an idea how I could fix that ? It looks to come from the
shibboleth-resolver library.


Cheers,
Vincent