> OpenSSL 1.0.1 snaphot 20111211, compiled on Cygwin, no special config options. > > gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > CPU Code2 Duo E8600 > > Both > ./apps/openssl speed sha1 > and > ./apps/openssl speed -evp sha1 > > MAY results in hangup on any stage. > Sometimes speed command complete successfylly. > > $ ./apps/openssl speed sha1 > Doing sha1 for 3s on 16 size blocks: 2726540 sha1's in 2.51s > Doing sha1 for 3s on 64 size blocks: 2573136 sha1's in 2.73s > ... > type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes > sha1 17373.41k 60322.60k 183004.44k 363273.32k 488974.67k > > Sometimes it hang up on block calculation of any size. > At this time CPU load 100%, and.... nothing.
Can you reproduce it under cygwin gdb? I.e. 'gdb apps/openssl' and then at gdb prompt 'run speed sha1'. If yes, ctrl-C and 'info threads'. Then 'cont', ctrl-C and 'info threads' few more times. Look at thread #1 at all occasions. Where is it caught? Does program counter varies? If it's caught in sha1_block_data_order_ssse3, collect several 'thread apply 1 info reg' outputs. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org