Opened 15 years ago

Closed 14 years ago

#21759 closed defect (fixed)

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 (2)

comment:1 Changed 15 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.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

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.