Package: liblog4cpp4 Version: 0.3.5-rc3-1It seems that there are still thread safety issues. The Shibboleth project uses this library, but the developers have applied patches to fix those problems. The Shibboleth Service Provider software has become part of the Etch distribution and thus dependant on the log4cpp library. However, the Shibboleth daemon often crashes, expecially when under heavy traffic and it seems that the problem is in the log4cpp library, see the gdb output:
(gdb) bt #0 0xb7f46410 in ?? () #1 0xafff36ec in ?? () #2 0x00000006 in ?? () #3 0x00004b91 in ?? () #4 0xb753e811 in raise () from /lib/tls/i686/cmov/libc.so.6 #5 0xb753ffb9 in abort () from /lib/tls/i686/cmov/libc.so.6 #6 0xb7573d3a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6 #7 0xb757b5cf in mallopt () from /lib/tls/i686/cmov/libc.so.6 #8 0xb757b672 in free () from /lib/tls/i686/cmov/libc.so.6 #9 0xb77383b1 in operator delete () from /usr/lib/libstdc++.so.6 #10 0xb7e80cae in std::vector<log4cpp::NDC::DiagnosticContext, std::allocator<log4cpp::NDC::DiagnosticContext> >::_M_insert_aux () from /usr/lib/liblog4cpp.so.4 #11 0xb7e80639 in log4cpp::NDC::_push () from /usr/lib/liblog4cpp.so.4 #12 0xb7e7f906 in log4cpp::NDC::push () from /usr/lib/liblog4cpp.so.4 #13 0xb7dd927d in saml::NDC::NDC () from /usr/lib/libsaml.so.5 #14 0x08050eb0 in xercesc_2_7::XMLDeleter::~XMLDeleter () #15 0x08052961 in shibboleth::InvalidSessionException::~InvalidSessionException () #16 0xb7607380 in svc_getreq_common () from /lib/tls/i686/cmov/libc.so.6 #17 0xb7606cdf in svc_getreqset () from /lib/tls/i686/cmov/libc.so.6 #18 0x0804e105 in xercesc_2_7::XMLDeleter::~XMLDeleter () #19 0x0804e3e1 in xercesc_2_7::XMLDeleter::~XMLDeleter () #20 0xb764c240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #21 0xb75e13de in clone () from /lib/tls/i686/cmov/libc.so.6 -------------------------------- Core was generated by `/usr/sbin/shibd -p /var/run/shibd.pid'. Program terminated with signal 6, Aborted. #0 0xb7fdd410 in ?? () (gdb) bt #0 0xb7fdd410 in ?? () #1 0xb046973c in ?? () #2 0x00000006 in ?? () #3 0x00004db8 in ?? () #4 0xb75d5811 in raise () from /lib/tls/i686/cmov/libc.so.6 #5 0xb75d6fb9 in abort () from /lib/tls/i686/cmov/libc.so.6 #6 0xb760ad3a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6 #7 0xb76125cf in mallopt () from /lib/tls/i686/cmov/libc.so.6 #8 0xb7612672 in free () from /lib/tls/i686/cmov/libc.so.6 #9 0xb77cf3b1 in operator delete () from /usr/lib/libstdc++.so.6 #10 0xb77abebd in std::string::_Rep::_M_destroy () from /usr/lib/libstdc++.so.6 #11 0xb7f1743d in log4cpp::NDC::_pop () from /usr/lib/liblog4cpp.so.4 #12 0xb7f1693b in log4cpp::NDC::pop () from /usr/lib/liblog4cpp.so.4 #13 0xb7e70a42 in saml::NDC::~NDC () from /usr/lib/libsaml.so.5 #14 0x0805133c in xercesc_2_7::XMLDeleter::~XMLDeleter () #15 0x08052961 in shibboleth::InvalidSessionException::~InvalidSessionException () #16 0xb769e380 in svc_getreq_common () from /lib/tls/i686/cmov/libc.so.6 #17 0xb769dcdf in svc_getreqset () from /lib/tls/i686/cmov/libc.so.6 #18 0x0804e105 in xercesc_2_7::XMLDeleter::~XMLDeleter () #19 0x0804e3e1 in xercesc_2_7::XMLDeleter::~XMLDeleter () #20 0xb76e3240 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #21 0xb76783de in clone () from /lib/tls/i686/cmov/libc.so.6 Shibboleth home page: http://shibboleth.internet2.edu/Note about the log4cpp issues: https://spaces.internet2.edu/display/SHIB/Log4Cpp
Those crashes occur on different hardware architectures, on Debian Etch. When using the version modified by Internet2, no crashes occur.Modified (working) version is available here: http://shibboleth.internet2.edu/downloads/
-- ----------------------------------------------------------- Ing. Ivan Novakov <[EMAIL PROTECTED]> Faculty of Electrical Engineering CTU in Prague http://www.fel.cvut.cz/ -----------------------------------------------------------
smime.p7s
Description: S/MIME Cryptographic Signature