[Bug 645248] New: libcryptopp/libcrypto++ and Shared Objects
https://bugzilla.novell.com/show_bug.cgi?id=645248 https://bugzilla.novell.com/show_bug.cgi?id=645248#c0 Summary: libcryptopp/libcrypto++ and Shared Objects Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: noloader@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10 Crypto++ received a few GNU Linux based bug reports [1, 2], and Wei Dai vetted out a crash due to global object destruction in a shared object (the bug was not present in a static library). The crash fix was sufficient to support shared objects, and the commit occurred at revision 496 [3]. Please ensure the distribution is using revision 496 or higher of Crypto++. Crypto++ version 5.6.1 includes revision 496, while Crypto 5.6.0 does not include the revision. In addition to the shared object fix committed at revision 496, the 492 commit included a SHA-2 bug fix on x64 with GCC optimizations enabled [4]. A stress test was written while trying to duplicate the issue, which might make a good test case for the distribution's build bot. The program creates 96 threads which perform dynamic loads/unloads (with lots of overlap) to ensure proper cleanup on library unload. The stress test, released under GPLv3, is available at http://www.cryptopp.com/wiki/Linux#Note_for_Distribution_Packagers. The Crypto++ library can be downloaded directly from http://www.cryptopp.com in ZIP format. The 5.6.1 ZIP includes shared object support (but the ZIP will get stale over time since the ZIP file is frozen). Crypto++ can also be fetched from SourceForge, which is always up to date. Issue "svn checkout https://cryptopp.svn.sourceforge.net/svnroot/cryptopp/trunk/c5 cryptopp". Jeffrey Walton, Friend of the Crypto++ Library [1] Errors with multiple loading cryptopp as shared lib on Linux, http://groups.google.com/group/cryptopp-users/browse_thread/thread/68fbc22e8... [2] RTLD_GLOBAL and libcryptopp.so crash, http://groups.google.com/group/cryptopp-users/browse_thread/thread/7eae009a4... [3] http://cryptopp.svn.sourceforge.net/viewvc/cryptopp?view=revision&revision=496 [4] http://cryptopp.svn.sourceforge.net/viewvc/cryptopp?view=revision&revision=492 Reproducible: Always Steps to Reproduce: See details Actual Results: Crypto++ shared object crash under certain conditions. Expected Results: The Crypto++ shared object should work with minimum fuss, and without a crash. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=645248
https://bugzilla.novell.com/show_bug.cgi?id=645248#c3
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=645248
https://bugzilla.novell.com/show_bug.cgi?id=645248#c4
Zooko Wilcox-O'Hearn
participants (1)
-
bugzilla_noreply@novell.com