Re: 1.0.1e: crash in sha1_block_data_order_ssse3()

2013-12-16 Thread Florian Weimer
On 12/14/2013 05:50 PM, Claus Assmann wrote: Program received signal SIGBUS, Bus error. sha1_block_data_order_ssse3 () at sha1-x86_64.s:1328 1328movdqa %xmm0,0(%rsp) movdqa needs 16-byte alignment. rsp0x800736048 0x800736048 %rsp is only 8-byte aligned. This

Re: 1.0.1e: crash in sha1_block_data_order_ssse3()

2013-12-16 Thread Dimitry Andric
On 14 Dec 2013, at 17:50, Claus Assmann ca+ssl-...@esmtp.org wrote: I'm getting a crash in sha1_block_data_order_ssse3() but currently I don't know how to debug this further as I'm not very familiar with the internals... Any suggestions for tracking this down are appreciated, e.g., is it

Re: [openssl.org #3200] Crash in OpenSSL 1.0.1e w/TLS 1.2 (under load)

2013-12-16 Thread Ron Barber via RT
On 12/14/13 7:38 AM, Stephen Henson via RT r...@openssl.org wrote: Hmm... that's a weird one. The debug info tells me it is a TLS v1.0 connection and that it is attempting to use MD5 when calculating the handshake hash. It caches handshake records in the function ssl3_digest_cached_records() using

Re: 1.0.1e: crash in sha1_block_data_order_ssse3()

2013-12-16 Thread Yuriy Kaminskiy
Claus Assmann wrote: I'm getting a crash in sha1_block_data_order_ssse3() but currently I don't know how to debug this further as I'm not very familiar with the internals... Any suggestions for tracking this down are appreciated, e.g., is it something in the application or in OpenSSL? The

[PATCH] sha1-x86_64/ssse3: enforce stack alignment (was: 1.0.1e: crash in sha1_block_data_order_ssse3())

2013-12-16 Thread Yuriy Kaminskiy
Claus Assmann wrote: I'm getting a crash in sha1_block_data_order_ssse3() but currently I don't know how to debug this further as I'm not very familiar with the internals... Any suggestions for tracking this down are appreciated, e.g., is it something in the application or in OpenSSL? The

Re: [openssl.org #3200] Crash in OpenSSL 1.0.1e w/TLS 1.2 (under load)

2013-12-16 Thread Matt Caswell
On 14 December 2013 13:38, Stephen Henson via RT r...@openssl.org wrote: Hmm... that's a weird one. The debug info tells me it is a TLS v1.0 connection and that it is attempting to use MD5 when calculating the handshake hash. It caches handshake records in the function

[openssl.org #3200] Crash in OpenSSL 1.0.1e w/TLS 1.2 (under load)

2013-12-16 Thread Stephen Henson via RT
On Mon Dec 16 22:20:47 2013, rbar...@yahoo-inc.com wrote: Thank you Steve. Not sure how to proceed from here, is there more information from the core dumps which would be useful? Yes, please print out the entire s-s3-handshake_dgst array instead of just the first element. That is:

Re: 1.0.1e: crash in sha1_block_data_order_ssse3()

2013-12-16 Thread Claus Assmann
On Sun, Dec 15, 2013, Dimitry Andric wrote: Program received signal SIGBUS, Bus error. sha1_block_data_order_ssse3 () at sha1-x86_64.s:1328 1328movdqa %xmm0,0(%rsp) rsp0x800736048 0x800736048 This is most likely a stack alignment problem. The movdqa