Scott Lamb wrote:
Has anyone run these examples through valgrind before? Have you found similar problems?
Yes, I've had similar problems with openSSL 0.9.6. I was getting this kind of error messages when runing both my appllication and openssl s_client under valgrind.
So far I was unable to find any solution and unable to find any real problem with the application, besides those reports.
So I can't help you, but it seems it's not just you seeing this. I posted a question regarding this on this list on 2003-10-22 and included my Valgrind dumps there.
Thanks for the reply.
There is a real problem, at least in the OpenSSL section of my own code. The unit tests sometimes crash. They give a report that malloc has gone re-entrant, which probably would happen whenever the heap gets corrupted enough that malloc crashes a first time. (I use the boost unit test suite, which plays some games with signals; it tries to recover from normally-fatal errors enough to give some additional diagnostics.)
I've looked over my own code, and I don't see anything wrong with it. That doesn't mean it's flawless, but these valgrind errors make me suspect OpenSSL.
Maybe I should also mention that my library and unit tests are multi-threaded. (I have defined the appropriate locking callbacks.) I could easily see how that'd aggravate any problems.
Regards,
Michal Dobaczewski.
Thanks, Scott Lamb
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]