From owner-freebsd-stable@FreeBSD.ORG Sat Apr 19 12:14:31 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41C5637B401 for ; Sat, 19 Apr 2003 12:14:31 -0700 (PDT) Received: from snapper.surrealistic.net (snapper.surrealistic.net [63.224.43.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 542A143FE0 for ; Sat, 19 Apr 2003 12:14:30 -0700 (PDT) (envelope-from jwestfall@snapper.surrealistic.net) Received: from snapper.surrealistic.net (jwestfall@localhost [127.0.0.1]) h3JJERgP030217 for ; Sat, 19 Apr 2003 12:14:28 -0700 (PDT) (envelope-from jwestfall@snapper.surrealistic.net) Received: (from jwestfall@localhost) by snapper.surrealistic.net (8.12.3p2/8.12.3/Submit) id h3JJEP90030216 for freebsd-stable@freebsd.org; Sat, 19 Apr 2003 12:14:25 -0700 (PDT) Date: Sat, 19 Apr 2003 12:14:25 -0700 From: Jim Westfall To: freebsd-stable@freebsd.org Message-ID: <20030419191425.GI336@surrealistic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: openssl and threads X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 19:14:31 -0000 Hi Folks I have been working on a threaded ftp client and am able to reproduceably cause an assertion failure within openssl. I am able to trigger it on both my 4.6.2-p13 and 4.8 machines. Looking into it deeper its being cause by openssl not being compiled with the -DOPENSSL_THREADS (0.9.7a) or -DPTHREAD (0.9.6i) CFLAG. Is there any reason we dont have this particular define added in src/secure/lib/libcrypto/Makefile.inc? This file hasnt been touched since 2001/07/04 according to the cvs tag. It would seem other CFLAGs maybe missing as well, if you compare a freshly download and ./configured openssl. thanks Jim