Hi Victor, If I understand these printout correctly, my compilation environment is mixed. However, can you confirm?
When the code crashes, here are the print outs: OPENSSL_VERSION_NUMBER: 9470255 SSLeay(): 268435535 When the code does not crash, here are the print outs: OPENSSL_VERSION_NUMBER: 9470255 SSLeay(): 9470255 Do the OPENSSL_VERSION_NUMBER and SSLeay() supposed to be the same? Thanks, Erwin On Mon, Jun 6, 2011 at 7:52 PM, Victor Duchovni < victor.ducho...@morganstanley.com> wrote: > On Mon, Jun 06, 2011 at 06:22:53PM -0500, Erwin Himawan wrote: > > > I am using Netbean 7.0 for my IDE. > > I am using cygwin: CYGWIN_NT-5.1 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 > > > > My host platform is WindowXP 32 bit. > > I am building the openssl ver 1.0.0d using the cygwin. > > The path to the OpenSSL headers included during compilation: > > C:/cygwin//usr/local/ssl/include/openssl > > Can you demonstrate that the headers used are the 1.0.0d version? For > example, print the values of the compile-time OpenSSL version macro. > (OPENSSL_VERSION_NUMBER). > > > The path to the libraries using when the application was linked (linker > > configuration): c:/cygwin/usr/local/ssl/lib > > I am using libcrypto.a and libssl.a > > The path to the run-time: I am running the executable within the IDE, so > I > > believe the IDE uses the same lib defined in the linker configuration). > > Can you demonstrate that the libraries are the 1.0.0d version? For > example, print the value of the run-time OpenSSL version (SSLeay()). > > Can you post the stack strace from the crash and identify the data > structures involved, ... > > Most likely your compilation environment is mixed. > > -- > Viktor. > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org >