|
From: Angel T. <fn...@fm...> - 2006-03-02 13:32:22
|
Every time I start valgrind on a command I get a sementation fault error, e.g.: valgrind -v --tool=none ls ==15208== Nulgrind, a binary JIT-compiler. ==15208== Copyright (C) 2002-2005, and GNU GPL'd, by Nicholas Nethercote. ==15208== Using LibVEX rev 1471, a library for dynamic binary translation. ==15208== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==15208== Using valgrind-3.1.0, a dynamic binary instrumentation framework. ==15208== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==15208== --15208-- Command line --15208-- ls --15208-- Startup, with flags: --15208-- -v --15208-- --tool=none --15208-- Contents of /proc/version: --15208-- Linux version 2.4.19-4asmp (ro...@ka...) (gcc version 2.95.4 20010319 (prerelease/franzo/20011204)) #1 SMP Wed Jun 5 00:59:38 EDT 2002 --15208-- Arch and subarch: PPC32, ppc32-int-fp-and-AV --15208-- Valgrind library directory: /home/angel/installed/Valgrind/lib/valgrind --15208-- Reading syms from /lib/ld-2.2.5.so (0x4000000) --15208-- Reading syms from /home/angel/installed/coreutils/bin/ls (0x10000000) --15208-- Reading syms from /home/angel/installed/Valgrind/lib/valgrind/ppc32-linux/none (0x70000000) --15208-- object doesn't have a dynamic symbol table ==15208== ==15208== Process terminating with default action of signal 11 (SIGSEGV) ==15208== Bad permissions for mapped region at address 0x4025D30 ==15208== at 0x4025D30: ??? ==15208== by 0x4010F20: _start (in /lib/ld-2.2.5.so) ==15208== --15208-- tt/tc: 5 tt lookups requiring 4 probes --15208-- tt/tc: 4 fast-cache updates, 2 flushes --15208-- translate: new 2 (100 -> 468; ratio 46:10) [0 scs] --15208-- translate: dumped 0 (0 -> ??) --15208-- translate: discarded 0 (0 -> ??) --15208-- scheduler: 2 jumps (bb entries). --15208-- scheduler: 0/3 major/minor sched events. --15208-- sanity: 1 cheap, 1 expensive checks. --15208-- exectx: 30,011 lists, 0 contexts (avg 0 per list) --15208-- exectx: 0 searches, 0 full compares (0 per 1000) --15208-- exectx: 0 cmp2, 0 cmp4, 0 cmpAll Segmentation fault Can anyone tell what might be wrong? Is it the program being debugged or is it Valgrind? |