New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #10631 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

BUG: openssl-0.9.8b and MallocStackLogging=1 crash

Reported by: darwin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: darwin@…, markd@…
Port:

Description

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.

Change History

comment:1 Changed 7 years ago by markd@…

  • Summary changed from openssl and MallocStackLogging=1 crash to BUG: openssl-0.9.8b and MallocStackLogging=1 crash

comment:2 Changed 7 years ago by markd@…

  • Cc markd@… added

Does the updated openssl-0.9.8c fix this?

comment:3 Changed 7 years ago by markd@…

  • Cc darwin@… added

Did 0.98d fix this?

comment:4 Changed 7 years ago by markd@…

  • Status changed from new to closed
  • Resolution set to fixed

No feedback. Updates presumed to have fixed this.

Note: See TracTickets for help on using tickets.