New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21759 (closed defect: fixed)

Opened 2 years ago

Last modified 14 months ago

google-perftools port installs a version of tcmalloc that segfaults on Snow Leopard

Reported by: sfowler@… Owned by: brett@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: tcmalloc snowleopard Cc:
Port: google-perftools

Description

I've been using tcmalloc from google-perftools in a project of mine for quite some time. I recently installed Snow Leopard, (this was a fresh install, no upgrade involved) and the only problem I have had with MacPorts has been that tcmalloc no longer works. Whenever I try to run any application which has been linked against it, it crashes immediately with a segfault. I couldn't find another ticket about this problem, so I thought I should bring it to your attention.

Change History

Changed 2 years ago by blb@…

  • keywords snowleopard added; snow leopard 10.6 removed
  • owner changed from macports-tickets@… to brett@…

Note that the compiler on 10.6 builds 64bit by default, so make sure anything you have linking to tcmalloc is the same architecture as the library itself (use file or lipo -info on the executables and libraries to find out).

I tried the newer version (1.4) but that fails to build on 10.6; not sure if that (or even your issue) is related to  issue 66.

Changed 14 months ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed

The x86_64 issues should be taken care of by the update to 1.5 and r74664. Reopen if you still see the same problem.

Note: See TracTickets for help on using tickets.