[MacPorts] #28572: valgrind @3.6.1 Segfaults
#28572: valgrind @3.6.1 Segfaults ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Installed smoothly but any attempt to run valgrind Segfaults e.g. {{{ $ valgrind -h Segmentation fault }}} MacOS 10.6.6, Xcode 4.0 Build 4A278b Suspect this may be related to using Xcode 4 compilers? Given that is now v. close to full release I guess needs to be fixed though. -- Ticket URL: <https://trac.macports.org/ticket/28572> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => raimue@… Comment: Please remember to cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by raimue@…): I don't have access to Xcode 4 and cannot test or verify this. Please take this issue upstream and file a [http://www.valgrind.org/support/bug_reports.html bug report] there. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by snc@…): I was able to get around this by setting build_arch to i386. Valgrind appears to crash doing 64-bit but not 32-bit. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by snc@…): According to raim: 64-bit version runs fine on 32-bit. Apparently the issue is only when building 64-bit on a 64-bits. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by geoff@…): I can confirm I see the same - works if I force a 32bit build on my (I think?) 64bit macbook. Now running 10.6.7 and w/ the final release Xcode 4 btw. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by raimue@…): [https://bugs.kde.org/show_bug.cgi?id=267997 Upstream bug report] -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by Panajev@…): Building the latest SVN version of valgrind from source works. $ valgrind --version valgrind-3.7.0.SVN svn co svn://svn.valgrind.org/valgrind/trunk valgrind cd valgrind/ ./autogen.sh ./configure --prefix=<preferred location> make make instal The valgrind-devel version refers to an older SVN version which does not have the necessary fix. "------- Comment #2 From Goffredo Marocchi 2011-04-20 10:58:17 (-) [reply] ------- As I was saying, this happens with 3.7.0-r11524_0, is this such an outdated version? ------- Comment #3 From Julian Seward 2011-04-20 11:07:58 (-) [reply] ------- Yes. The fix is in r11686." Replying to [ticket:28572 geoff@…]:
Installed smoothly but any attempt to run valgrind Segfaults e.g.
{{{ $ valgrind -h Segmentation fault }}}
MacOS 10.6.6, Xcode 4.0 Build 4A278b
Suspect this may be related to using Xcode 4 compilers? Given that is now v. close to full release I guess needs to be fixed though.
-- Ticket URL: <https://trac.macports.org/ticket/28572#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults when built with Xcode 4.0 ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults when built with Xcode 4.0 ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by dargo@…): So if the solution was found, can somebody please push out an updated Portfile. Thanks -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults when built with Xcode 4.0 ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by raimue@…): I updated valgrind-devel to version 3.7.0-r11863 in r80362. Please try this version with Xcode 4 to which I don't have access to. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults when built with Xcode 4.0 ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by geoff@…): I have built valgrind-devel on the same macbook (now running 10.6.8 and Xcode 4.0.1) without any special args and it doesn't segfault so looking good. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults when built with Xcode 4.0 ----------------------------------------+----------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind ----------------------------------------+----------------------------------- Comment(by m@…): Confirming that valgrind-devel works on my i5 64bit macbook pro, whereas valgrind segfaults. Xcode version 4.0.2. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults when built with Xcode 4.0 -----------------------------------------+---------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: valgrind | -----------------------------------------+---------------------------------- Changes (by raimue@…): * status: new => closed * resolution: => fixed Comment: Hopefully fixed with r81375. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28572: valgrind @3.6.1 Segfaults when built with Xcode 4.0 -----------------------------------------+---------------------------------- Reporter: geoff@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: valgrind | -----------------------------------------+---------------------------------- Comment(by raimue@…): The patch was faulty, updated in r81469. -- Ticket URL: <https://trac.macports.org/ticket/28572#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts