Re: [openssl.org #1059] Bug report: AES in debug linkage

2005-05-07 Thread Andy Polyakov via RT

 I have a problem with aes. 
 I use 0.9.8 branch, 20050503 snapshot. The error is reproduced on
 20050506 snapshot too. I didn't have such problem with 20050404 snapshot.

The code which let you down was added on 2xth of April.

 I configure openssl with ./config -d shared zlib, config log is
 attached.
 gcc version is gcc 3.3.5 (Debian 1:3.3.5-12), binutils 2.15 (Debian
 2.15-5).
 
 On encrypting with command line 
 LD_LIBRARY_PATH=. ./apps/openssl enc -aes-128-cbc -out aes.enc -in enc.dat -k 
 1234567890 
 I get a segfault with stack trace
 
 #0  0x400b76b8 in AES_cbc_encrypt () at ax86-elf.s:1066
 1066movl%edi,   32(%esp)

Your debugger apparently displays wrong line, because the above 
instruction resides at address which ends with 4 and is preceding the 
rep movsl, which must be the one SEGV-ing. Run 'info registers' and if 
%esi is aligned at page boundary (ends with 3 zeros), then 
http://cvs.openssl.org/chngview?cn=13274 should help. Alternatively wait 
for next snapshot. A.

__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


[openssl.org #1059] Bug report: AES in debug linkage

2005-05-06 Thread Dmitry Belyavsky via RT

Hello!

I have a problem with aes. 
I use 0.9.8 branch, 20050503 snapshot. The error is reproduced on
20050506 snapshot too. I didn't have such problem with 20050404 snapshot.

I configure openssl with ./config -d shared zlib, config log is
attached.
gcc version is gcc 3.3.5 (Debian 1:3.3.5-12), binutils 2.15 (Debian
2.15-5).

On encrypting with command line 
LD_LIBRARY_PATH=. ./apps/openssl enc -aes-128-cbc -out aes.enc -in enc.dat -k 
1234567890 
I get a segfault with stack trace

#0  0x400b76b8 in AES_cbc_encrypt () at ax86-elf.s:1066
1066movl%edi,   32(%esp)
(gdb) bt
#0  0x400b76b8 in AES_cbc_encrypt () at ax86-elf.s:1066
#1  0xb0f8 in ?? ()

The error is not reproduced when I configure openssl with
./config shared zlib


-- 
SY, Dmitry Belyavsky (ICQ UIN 6575)
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]