On 30-04-2012 17:40, Roberto Corrado wrote:
Good evening, I have a some problem with openssl {v,w} and cpu via
Nehemiah, the version t work fine.
root@gatto:/tmp# gdb -c core /usr/bin/openssl
GNU gdb (GDB) 7.4
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i486-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/openssl...(no debugging symbols
found)...done.
[New LWP 11782]
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by openssl version'.
Program terminated with signal 4, Illegal instruction.
#0 0xb76bc1f3 in _init () from /usr/lib/libcrypto.so.0
(gdb) disassemble
Dump of assembler code for function _init:
0xb76bc1d0<+0>: push %ebx
0xb76bc1d1<+1>: sub $0x8,%esp
0xb76bc1d4<+4>: call 0xb76bc840
0xb76bc1d9<+9>: add $0x12c697,%ebx
0xb76bc1df<+15>: mov -0x220(%ebx),%eax
0xb76bc1e5<+21>: test %eax,%eax
0xb76bc1e7<+23>: je 0xb76bc1ee<_init+30>
0xb76bc1e9<+25>: call 0xb76bc4d0<__gmon_start__@plt>
0xb76bc1ee<+30>: call 0xb76bc970
=> 0xb76bc1f3<+35>: nopw %cs:0x0(%eax,%eax,1)
0xb76bc1fd<+45>: nopl (%eax)
0xb76bc200<+48>: call 0xb76bcc10<OPENSSL_cpuid_setup>
0xb76bc205<+53>: jmp 0xb76bc210<_init+64>
0xb76bc207<+55>: mov %esi,%esi
0xb76bc209<+57>: lea 0x0(%edi,%eiz,1),%edi
0xb76bc210<+64>: call 0xb7797110
0xb76bc215<+69>: add $0x8,%esp
0xb76bc218<+72>: pop %ebx
0xb76bc219<+73>: ret
End of assembler dump.
(gdb)
For clarity, could you please add the following info:
1. Actual 12 hex code bytes from 0xb76bc1f3 to 0xb76bc1ff inclusive.
2. Arguments passed to the openssl build scripts, including any
environment variables
3. The versions of gcc and libc used when building the failing copy of
openssl.
4. If any of those were different for your compile of 0.9.8t
As this failure happens in compiler/libc init code, I strongly suspect
#4 is the problem.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org