Hi,

 I built kernel in usermode and i get an executable.

 Now i wanted to use valgrind to do memory check to this executable.


 But as soon run it i get an error. I googled it but i do not get much.

 Can you help me? Thanks.

 #my setup
  kubuntu 9.10

 #log begin

 edem...@test-linux:~/kernel/uml_build/linux-2.6.31$ valgrind  ./linux
 ==4297== Memcheck, a memory error detector
 ==4297== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
 ==4297== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for
 copyright info
 ==4297== Command: ./linux
 ==4297==

 valgrind: m_debuginfo/readelf.c:1317
 (vgModuleLocal_read_elf_debug_info): Assertion 'rw_svma_limit != 0'
 failed.
 ==4297==    at 0x38027410: ??? (in /usr/lib/valgrind/memcheck-x86-linux)

 sched status:
  running_tid=0


 Note: see also the FAQ in the source distribution.
 It contains workarounds to several common problems.
 In particular, if Valgrind aborted or crashed after
 identifying problems in your program, there's a good chance
 that fixing those problems will prevent Valgrind aborting or
 crashing, especially if it happened in m_mallocfree.c.

 If that doesn't help, please report this bug to: www.valgrind.org

 In the bug report, send all the above text, the valgrind
 version, and what OS and version you are using.  Thanks.

 #log end

 i hope i added enough information.

 Best regards,

 André.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to