|
From: Filipe C. <fi...@gm...> - 2009-04-30 09:19:03
|
Hi,
I'm having a little problem running the heap test, and can't figure out
what's wrong:
[filcab@farnsworth ~/dev/stuff/valgrind-darwin64] $ ./perf/vg_perf
perf/heap.vgperf
heap valgrind-darwin64:0.36s no:
*** Command returned non-zero (32256)
*** See perf.{cmd,stdout,stderr} to determine what went wrong.
[filcab@farnsworth ~/dev/stuff/valgrind-darwin64] $ cat perf/perf.std*
valgrind: ./heap: cannot execute binary file
real 0.01
user 0.00
sys 0.00
[filcab@farnsworth ~/dev/stuff/valgrind-darwin64] $ cd perf
/Users/filcab/dev/stuff/valgrind-darwin64/perf
[filcab@farnsworth ~/dev/stuff/valgrind-darwin64/perf] $ bash perf.cmd
valgrind: ./heap: cannot execute binary file
real 0.00
user 0.00
sys 0.00
[filcab@farnsworth ~/dev/stuff/valgrind-darwin64/perf] $ cd ..
[filcab@farnsworth ~/dev/stuff/valgrind-darwin64] $ sed -e
's!\./heap!./perf/heap!g' perf/perf.cmd |bashinitialisingrunningdonereal
7.09
user 2.76
sys 4.17
The weird thing is... if I'm not in the perf directory, valgrind can run
the test... If I'm in the perf directory, it can't execute the file...
Any clues?
Regards,
Filipe
|
|
From: Nicholas N. <n.n...@gm...> - 2009-05-01 03:51:08
|
On Thu, Apr 30, 2009 at 7:18 PM, Filipe Cabecinhas <fi...@gm...> wrote:
> Hi,
>
> I'm having a little problem running the heap test, and can't figure out
> what's wrong:
>
> [filcab@farnsworth ~/dev/stuff/valgrind-darwin64] $ ./perf/vg_perf
> perf/heap.vgperf
> heap valgrind-darwin64:0.36s no:
> *** Command returned non-zero (32256)
> *** See perf.{cmd,stdout,stderr} to determine what went wrong.
> [filcab@farnsworth ~/dev/stuff/valgrind-darwin64] $ cat perf/perf.std*
> valgrind: ./heap: cannot execute binary file
> real 0.01
> user 0.00
> sys 0.00
> [filcab@farnsworth ~/dev/stuff/valgrind-darwin64] $ cd perf
> /Users/filcab/dev/stuff/valgrind-darwin64/perf
> [filcab@farnsworth ~/dev/stuff/valgrind-darwin64/perf] $ bash perf.cmd
> valgrind: ./heap: cannot execute binary file
> real 0.00
> user 0.00
> sys 0.00
> [filcab@farnsworth ~/dev/stuff/valgrind-darwin64/perf] $ cd ..
> [filcab@farnsworth ~/dev/stuff/valgrind-darwin64] $ sed -e
> 's!\./heap!./perf/heap!g' perf/perf.cmd |bashinitialisingrunningdonereal
> 7.09
> user 2.76
> sys 4.17
>
>
>
> The weird thing is... if I'm not in the perf directory, valgrind can run
> the test... If I'm in the perf directory, it can't execute the file...
That is weird. Could it be a path issue? There is an executable
/usr/bin/heap on my machine...
Nick
|