Ticket #10631 (closed defect: fixed)
BUG: openssl-0.9.8b and MallocStackLogging=1 crash
|Reported by:||darwin@…||Owned by:||macports-tickets@…|
I am trying to debug malloc issues in various apps that link against the openssl library. man malloc(3) describes the environment variable MallocStackLogging=1 to turn on malloc logging. If you do this when running /usr/bin/openssl (Apple's version 0.9.7i) everything is fine. If you do the same thing with the dports version (0.9.8b), you get a segmentation violation and a core dump. Unfortunately debugging this with gdb is impossible, although I suspect the crash is in SSL_load_error_strings() since that's the last function I was able to trace before the crash.
- Summary changed from openssl and MallocStackLogging=1 crash to BUG: openssl-0.9.8b and MallocStackLogging=1 crash