From: Andrei S. <sta...@ya...> - 2008-02-29 09:16:28
|
This is the illegal instruction that is causing the crash, maybe this can help 4f80: 7d 29 5f 1e .long 0x7d295f1e Thanks --- Julian Seward <js...@ac...> wrote: > > What CPU is this? > > J > > On Wednesday 27 February 2008 17:37, Andrei Stanciu > wrote: > > Hi all, > > > > I've a problem when starting valgrind on a powerpc > > target, i receive disInstr(ppc): unhandled > > instruction: 0x7D295F1E > > > > The output is below: > > > > Thanks > > > > > > /local/target/bin# ./valgrind -v --tool=massif > date > > ==10822== Massif, a heap profiler. > > ==10822== Copyright (C) 2003-2007, and GNU GPL'd, > by > > Nicholas Nethercote > > ==10822== Using LibVEX rev 1804, a library for > dynamic > > binary translation. > > ==10822== Copyright (C) 2004-2007, and GNU GPL'd, > by > > OpenWorks LLP. > > ==10822== Using valgrind-3.3.0, a dynamic binary > > instrumentation framework. > > ==10822== Copyright (C) 2000-2007, and GNU GPL'd, > by > > Julian Seward et al. > > ==10822== > > --10822-- Command line > > --10822-- date > > --10822-- Startup, with flags: > > --10822-- -v > > --10822-- --tool=massif > > --10822-- Contents of /proc/version: > > --10822-- Linux version 2.4.20_mvl31-8555-cplab > > (kscc@tlvpe2) (gcc version 3.4.1 (MontaVista > > 3.4.1-2.0.14.0401563 2004-11-12)) #98 Mon Jun 11 > > 17:32:20 CEST 2007 > > --10822-- Arch and hwcaps: PPC32, > ppc32-int-flt-FX-GX > > --10822-- Page sizes: currently 4096, max > supported > > 65536 > > --10822-- Valgrind library directory: > > /local/target//lib/valgrind > > --10822-- Massif: alloc-fns: > > --10822-- Massif: 0: malloc > > --10822-- Massif: 1: __builtin_new > > --10822-- Massif: 2: operator new(unsigned) > > --10822-- Massif: 3: operator new(unsigned long) > > --10822-- Massif: 4: __builtin_vec_new > > --10822-- Massif: 5: operator new[](unsigned) > > --10822-- Massif: 6: operator new[](unsigned > long) > > --10822-- Massif: 7: calloc > > --10822-- Massif: 8: realloc > > --10822-- Massif: 9: memalign > > --10822-- Massif: 10: operator new(unsigned, > > std::nothrow_t const&) > > --10822-- Massif: 11: operator new[](unsigned, > > std::nothrow_t const&) > > --10822-- Massif: 12: operator new(unsigned > long, > > std::nothrow_t const&) > > --10822-- Massif: 13: operator new[](unsigned > long, > > std::nothrow_t const&) > > --10822-- Reading syms from /lib/ld-2.3.2.so > > (0x4000000) > > --10822-- Reading syms from /bin/date (0x10000000) > > --10822-- object doesn't have a symbol table > > --10822-- Reading syms from > > /local/target/lib/valgrind/ppc32-linux/massif > > (0x38000000) > > --10822-- object doesn't have a dynamic symbol > > table > > disInstr(ppc): unhandled instruction: 0x7D295F1E > > primary 31(0x1F), secondary > > 1822(0x71E) > > ==10822== valgrind: Unrecognised instruction at > > address 0x4004F80. > > ==10822== Your program just tried to execute an > > instruction that Valgrind > > ==10822== did not recognise. There are two > possible > > reasons for this. > > ==10822== 1. Your program has a bug and > erroneously > > jumped to a non-code > > ==10822== location. If you are running > Memcheck > > and you just saw a > > ==10822== warning about a bad jump, it's > probably > > your program's fault. > > ==10822== 2. The instruction is legitimate but > > Valgrind doesn't handle it, > > ==10822== i.e. it's Valgrind's fault. If you > think > > this is the case or > > ==10822== you are not sure, please let us know > and > > we'll try to fix it. > > ==10822== Either way, Valgrind will now raise a > SIGILL > > signal which will > > ==10822== probably kill your program. > > ==10822== > > ==10822== Process terminating with default action > of > > signal 4 (SIGILL) > > ==10822== Illegal opcode at address 0x4004F80 > > ==10822== at 0x4004F80: _dl_start (do-rel.h:79) > > ==10822== by 0x40117DC: _start (dl-start.S:39) > > ==10822== > > --10822-- Massif: heap allocs: 0 > > --10822-- Massif: heap reallocs: 0 > > --10822-- Massif: heap frees: 0 > > --10822-- Massif: stack allocs: 0 > > --10822-- Massif: stack frees: 0 > > --10822-- Massif: XPts: 1 > > --10822-- Massif: top-XPts: 0 (0%) > > --10822-- Massif: XPt init expansions: 0 > > --10822-- Massif: XPt later expansions: 0 > > --10822-- Massif: SXPt allocs: 0 > > --10822-- Massif: SXPt frees: 0 > > --10822-- Massif: skipped snapshots: 0 > > --10822-- Massif: real snapshots: 1 > > --10822-- Massif: detailed snapshots: 0 > > --10822-- Massif: peak snapshots: 0 > > --10822-- Massif: cullings: 0 > > --10822-- Massif: XCon redos: 0 > > --10822-- translate: fast SP updates > > identified: 0 ( --%) > > --10822-- translate: generic_known SP updates > > identified: 0 ( --%) > > --10822-- translate: generic_unknown SP updates > > identified: 0 ( --%) > > --10822-- tt/tc: 82 tt lookups requiring 81 > probes > > --10822-- tt/tc: 82 fast-cache updates, 2 > flushes > > --10822-- transtab: new 41 (1,200 -> > 10,012; > > ratio 83:10) [0 scs] > > --10822-- transtab: dumped 0 (0 -> ??) > > --10822-- transtab: discarded 0 (0 -> ??) > > --10822-- scheduler: 92 jumps (bb entries). > > --10822-- scheduler: 0/44 major/minor sched > events. > > --10822-- sanity: 1 cheap, 1 expensive checks. > > --10822-- exectx: 769 lists, 0 contexts (avg 0 > per > > list) > > --10822-- exectx: 0 searches, 0 full compares > (0 > > per 1000) > > --10822-- exectx: 0 cmp2, 0 cmp4, 0 cmpAll > > --10822-- errormgr: 0 supplist searches, 0 > > comparisons during search > > --10822-- errormgr: 0 errlist searches, 0 > comparisons > > during search > > Illegal instruction > > > > > > > > > > > ___________________________________________________________________________ > >_________ Never miss a thing. Make Yahoo your home > page. > > http://www.yahoo.com/r/hs > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio > 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Valgrind-users mailing list > > Val...@li... > > > https://lists.sourceforge.net/lists/listinfo/valgrind-users > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio > 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > === message truncated === ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping |