Bug 283325 - Valgrind segfaults on startup on OSX 10.6.7 when built with Xcode 4.0
Summary: Valgrind segfaults on startup on OSX 10.6.7 when built with Xcode 4.0
Status: RESOLVED DUPLICATE of bug 267997
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.6.0
Platform: unspecified macOS
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 16:12 UTC by James Abley
Modified: 2011-10-07 09:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Abley 2011-10-04 16:12:31 UTC
Version:           3.6.0
OS:                OS X

The reported version should be 3.6.1, but that isn't available as a version to report a bug against in this bug tracker.

I think this is distinct from https://bugs.kde.org/show_bug.cgi?id=267997

Initially reported to Homebrew as https://github.com/mxcl/homebrew/issues/7895

Trying to install 3.6.1 on Snow Leopard 10.6.8, running Xcode 4.0.

I installed via Homebrew. Building with both GCC and LLVM gave the crash.

$ valgrind --help

or any other attempt to run the application crashed.

Running `/Developer/Library/uninstall-devtools --mode=all` and installing Xcode 3.2.6 enabled me to build a version of valgrind that works properly.

I have a core dump available if that would help. I don't know the C toolchain well enough to do much with it (but I'm learning!).

Reproducible: Always

Steps to Reproduce:
$ valgrind --help
$ valgrind ./ex1


Actual Results:  
valgrind segfaults

Expected Results:  
no segfault
Comment 1 Julian Seward 2011-10-05 06:55:34 UTC
> I think this is distinct from https://bugs.kde.org/show_bug.cgi?id=267997

Why do you say that?  I think this is identical to 267997.
Comment 2 James Abley 2011-10-05 11:57:54 UTC
My reading of 267997 is it was reported against 3.6.0, is now fixed, and 3.6.1 available via Homebrew incorporates that fix. The last reported problem in 267997 is that it fails to build [1]. I wasn't seeing a build failure; I was seeing a segfault from running the application, so I assumed it was something new.

[1] https://bugs.kde.org/show_bug.cgi?id=267997#c18
Comment 3 Julian Seward 2011-10-07 09:07:33 UTC

*** This bug has been marked as a duplicate of bug 267997 ***