NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/46485: Cryptographic software segfaults when linked againt libpthread

>Number:         46485
>Category:       toolchain
>Synopsis:       Cryptographic software segfaults when linked againt libpthread
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 27 07:55:00 +0000 2012
>Originator:     Marc Balmer
>Release:        5.1.0
micro systems
NetBSD 5.1.0_PATCH NetBSD 5.1.0_PATCH (GENERIC) #18: Thu Nov 
17 16:27:38 CET 2011 i386
A piece of software that uses openssl's EVP interface to verify a digital 
signature works as expected when _not_ linked against libpthread.  When 
LDADD+=-lpthread is specified, the same application segfaults:

Program terminated with signal 11, Segmentation fault.
#0  0xbba82960 in pthread_mutex_lock () from /usr/lib/
(gdb) bt
#0  0xbba82960 in pthread_mutex_lock () from /usr/lib/
#1  0xbba07bba in _malloc_prefork () from /usr/lib/
#2  0xbba07e1f in free () from /usr/lib/
#3  0xbbba3e7f in CRYPTO_free () from /usr/lib/
#4  0xbbb4cbf1 in EVP_PKEY_free () from /usr/lib/
#5  0xbbb47206 in EVP_PKEY_CTX_free () from /usr/lib/
#6  0xbbb4d2b6 in EVP_VerifyFinal () from /usr/lib/
#7  0x08049e0a in read_license ()
#8  0x0804a121 in list_modules ()
#9  0x0804a228 in main ()



Home | Main Index | Thread Index | Old Index