PINE: SIG 6

Larry Rosenman ler at lerctr.org
Sat May 19 20:29:37 UTC 2007


yep.  You can add Exim (if it tries TLS), and pine when it tries ssl/tls.

Now, how do we get it fixed?

I'm on a xeon 5120 based system in amd64 mode.

I can give ssh/sudo access to it.

I want to help.



-- 
Larry Rosenman
(via mobile)

------- Original Message -------
From: Chris Dionissopoulos <dionch at freemail.gr>
To: Larry Rosenman <ler at lerctr.org>
Sent: 5/19/07, 3:22:56 PM
Subject: Re[2]: PINE: SIG 6

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 <password_callback>, 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 <password_callback>, 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.





More information about the freebsd-current mailing list