From owner-freebsd-current@FreeBSD.ORG Sat May 19 20:54:51 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 387F016A41F for ; Sat, 19 May 2007 20:54:51 +0000 (UTC) (envelope-from dionch@freemail.gr) Received: from smtp.freemail.gr (smtp.freemail.gr [81.171.104.107]) by mx1.freebsd.org (Postfix) with ESMTP id C1A9A13C480 for ; Sat, 19 May 2007 20:54:50 +0000 (UTC) (envelope-from dionch@freemail.gr) Received: from CDION (ppp245-121.dsl.hol.gr [89.210.245.121]) by smtp.freemail.gr (Postfix) with ESMTP id 0D5DAA08430; Sat, 19 May 2007 23:24:51 +0300 (EEST) From: Chris Dionissopoulos X-Mailer: The Bat! (v3.80.06) Professional X-Priority: 3 (Normal) Message-ID: <12710698595.20070519232256@freemail.gr> To: Larry Rosenman In-Reply-To: References: <299DD8FD-0E7A-4E3D-9902-2C7FE45AA7BC@lerctr.org> <20070519141503.07e94a36@kan.dnsalias.net> <20070519143105.65072348@kan.dnsalias.net> <9F2A10A0-2B58-4BE4-8DD0-9D7811B6BCE6@lerctr.org> <20070519155919.453081a5@kan.dnsalias.net> <8F80AFD4-C83E-413F-8158-CFD27453AE87@lerctr.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re[2]: PINE: SIG 6 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris Dionissopoulos List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sat, 19 May 2007 20:54:51 -0000 X-Original-Date: Sat, 19 May 2007 23:22:56 +0300 X-List-Received-Date: Sat, 19 May 2007 20:54:51 -0000 Hello Larry, Saturday, May 19, 2007, 11:04:41 PM, you wrote: > On May 19, 2007, at 3:02 PM, Larry Rosenman wrote: >> >> On May 19, 2007, at 2:59 PM, Alexander Kabaev wrote: >> >>> Now, you need to know contents of s, s->session, session- >>> >sess_cert and It seems that libssl/libcrypto are broken in -CURRENT just after GCC 4.2 import. Binaries using these libs produce core in my core2duo (current). i.e. apache2+ssl , postfix(tls) , and portsnap are some of them. How to reproduce: mail# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap3.FreeBSD.org... Illegal instruction (core dumped) invalid snapshot tag. Fetching snapshot tag from portsnap1.FreeBSD.org... Illegal instruction (core dumped) invalid snapshot tag. Fetching snapshot tag from portsnap2.FreeBSD.org... Illegal instruction (core dumped) invalid snapshot tag. No mirrors remaining, giving up. mail# ll /var/db/portsnap/openssl.core -rw------- 1 root wheel 1859584 May 19 23:10 /var/db/portsnap/openssl.core mail# gdb -c openssl.core /usr/bin/openssl GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"... Core was generated by `openssl'. Program terminated with signal 4, Illegal instruction. Reading symbols from /usr/lib/libssl.so.5...done. Loaded symbols for /usr/lib/libssl.so.5 Reading symbols from /lib/libcrypto.so.5...done. Loaded symbols for /lib/libcrypto.so.5 Reading symbols from /lib/libthr.so.2...done. Loaded symbols for /lib/libthr.so.2 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x281d2d26 in PEM_read_bio_PUBKEY (bp=0x284050c0, x=0x0, cb=0x8086025 , u=0xbfbfe6e4) at pem_all.c:248 248 static EC_KEY *pkey_get_eckey(EVP_PKEY *key, EC_KEY **eckey) [New Thread 0x28401100 (LWP 100064)] (gdb) bt #0 0x281d2d26 in PEM_read_bio_PUBKEY (bp=0x284050c0, x=0x0, cb=0x8086025 , u=0xbfbfe6e4) at pem_all.c:248 #1 0x080853ad in load_pubkey (err=0x28405040, file=0xbfbfedb9 "pub.ssl", format=3, maybe_stdin=0, pass=0x0, e=0x0, key_descrip=0x8099039 "Public Key") at apps.c:974 #2 0x0806ced3 in rsautl_main (argc=0, argv=0xbfbfecbc) at rsautl.c:194 #3 0x080556f9 in do_cmd (prog=0x28406260, argc=5, argv=0xbfbfecac) at openssl.c:382 #4 0x08055da1 in main (Argc=-1077941080, Argv=0x2825daf9) at openssl.c:301 (gdb) q Something ugly lives inside these libs. Chris. p.s. all binaries builded with sources cvsed 2 hours ago.