Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jul 2006 13:46:12 -0400
From:      Eric Millbrandt <emillbrandt@coldhaus.com>
To:        freebsd-alpha@freebsd.org
Subject:   Openssl 0.9.8b throws illegal instruction
Message-ID:  <44CE41E4.7050208@coldhaus.com>

next in thread | raw e-mail | index | archive | help

I just installed the openssl port on my RELENG_4 alpha and now, when 
recompiled, ssh and apache+mod_ssl die with signal 4.  Has anyone seen 
this behavior from the openssl port?  I rebuilt openssl with debug 
symbols and traced the problem back to the kernel.  I will build kernel 
symbols and trace the problem further later today.  Any help would be 
appreciated.

Eric

Openssl was compiled with these flags: -g -O -pipe -mcpu=56

 >gdb ssh ssh.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 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 "alpha-unknown-freebsd"...
Core was generated by `ssh'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /usr/local/lib/libcrypto.so.4...done.
Reading symbols from /usr/lib/libutil.so.3...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/local/lib/libgssapi_krb5.so...done.
Reading symbols from /usr/local/lib/libkrb5.so...done.
Reading symbols from /usr/local/lib/libk5crypto.so...done.
Reading symbols from /usr/local/lib/libcom_err.so...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/local/lib/libkrb5support.so...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.

warning: Hit heuristic-fence-post without finding

warning: enclosing function for address 0x160194008
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.

warning: Hit heuristic-fence-post without finding

warning: enclosing function for address 0x160194008
#0  0x160194008 in ?? () from /usr/local/lib/libcrypto.so.4
(gdb) quit




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44CE41E4.7050208>