[MacPorts] #27559: Valgrind 3.6.0 crashes on snow leopard
#27559: Valgrind 3.6.0 crashes on snow leopard --------------------------------------+------------------------------------- Reporter: eijkhout@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: --------------------------------------+------------------------------------- %% cc -g read.c %% valgrind a.out valgrind: mmap(0x100000000, 4096) failed in UME (load_segment1). %% cat read.c #include <stdlib.h> int main() { float *x,y; x = (float*)malloc(5*sizeof(float)); y = x[5]; return 0; } -- Ticket URL: <https://trac.macports.org/ticket/27559> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27559: Valgrind 3.6.0 crashes on snow leopard --------------------------------------+------------------------------------- Reporter: eijkhout@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: --------------------------------------+------------------------------------- Comment(by eijkhout@…): Sorry about that. {{{ %% cc -g read.c %% valgrind a.out valgrind: mmap(0x100000000, 4096) failed in UME (load_segment1). %% cat read.c #include <stdlib.h> int main() { float *x,y; x = (float*)malloc(5*sizeof(float)); y = x[5]; return 0; } }}} -- Ticket URL: <https://trac.macports.org/ticket/27559#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27559: Valgrind 3.6.0 crashes on snow leopard --------------------------------------+------------------------------------- Reporter: eijkhout@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind --------------------------------------+------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => raimue@… * port: => valgrind Old description:
%% cc -g read.c %% valgrind a.out valgrind: mmap(0x100000000, 4096) failed in UME (load_segment1). %% cat read.c #include <stdlib.h> int main() { float *x,y; x = (float*)malloc(5*sizeof(float)); y = x[5]; return 0; }
New description: {{{ %% cc -g read.c %% valgrind a.out valgrind: mmap(0x100000000, 4096) failed in UME (load_segment1). %% cat read.c #include <stdlib.h> int main() { float *x,y; x = (float*)malloc(5*sizeof(float)); y = x[5]; return 0; } }}} -- -- Ticket URL: <https://trac.macports.org/ticket/27559#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27559: Valgrind 3.6.0 crashes on snow leopard ---------------------------------------+------------------------------------ Reporter: eijkhout@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: Port: valgrind | ---------------------------------------+------------------------------------ Changes (by raimue@…): * status: new => closed * resolution: => worksforme Comment: Sorry, I cannot reproduce this. Mac OS X 10.6.5, Xcode 3.2.4, valgrind 3.6.0 -- Ticket URL: <https://trac.macports.org/ticket/27559#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27559: Valgrind 3.6.0 crashes on snow leopard ---------------------------------------+------------------------------------ Reporter: eijkhout@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: Port: valgrind | ---------------------------------------+------------------------------------ Comment(by swinbank@…): I see the same problem here on OS X 10.6.6. Running valgrind as superuser seems to fix it, but I'm not sure why that should be necessary. {{{ $ valgrind /usr/bin/true valgrind: mmap(0x100000000, 36864) failed in UME (load_segment1). $ sudo valgrind /usr/bin/true ==38475== Memcheck, a memory error detector ==38475== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==38475== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info ==38475== Command: true }}} -- Ticket URL: <https://trac.macports.org/ticket/27559#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27559: Valgrind 3.6.0 crashes on snow leopard ---------------------------------------+------------------------------------ Reporter: eijkhout@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: Port: valgrind | ---------------------------------------+------------------------------------ Comment(by mwoods@…): I see the exact same problem and output as swinbank@transientskp.org, including the sudo result. -- Ticket URL: <https://trac.macports.org/ticket/27559#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27559: Valgrind 3.6.0 crashes on snow leopard ---------------------------------------+------------------------------------ Reporter: eijkhout@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: Port: valgrind | ---------------------------------------+------------------------------------ Comment(by swinbank@…): Looks like this is caused by the interaction of Valgrind with Instant Hijack, part of Rogue Amoeba's Airfoil. See https://bugs.kde.org/show_bug.cgi?id=262390#c16 for details (with thanks to "FX"). -- Ticket URL: <https://trac.macports.org/ticket/27559#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts