|
From: Yardumian, H. (H. (hrant) <hr...@ch...> - 2005-01-12 21:51:41
|
Here is the Valgrind command line ... libtool --mode=3Dexecute '/data/intersect/users/liko/valgrind-2.2.0/bin/valgrind = --error-limit=3Dno --leak-check=3Dno -v --skin=3Dmemcheck --logfile=3DVALGRIND = --num-callers=3D25 --show-reachable=3Dyes' simulator_test_simulator_test_main.exe=20 It's version 2.2 Thanks ! Hrant Yardumian ChevronTexaco - ETC Reservoir Simulation Research - INTERSECT Team 4800 Fournace Pl., Rm E-561 Bellaire, TX 77401-2324 Tel : (713) 432-2816 =20 Mobile : (281) 782-8669 Fax : (713) 432-6620 -----Original Message----- From: Chris Shoemaker [mailto:c.s...@co...]=20 Sent: Wednesday, January 12, 2005 2:24 PM To: Yardumian, Hrant (HEYA) (hrant) Cc: val...@li...; Lim, Kok-Thye (KLim); Verma, Ajay Subject: Re: [Valgrind-users] (no subject) On Wed, Jan 12, 2005 at 12:49:23PM -0600, Yardumian, Hrant (HEYA) (hrant) wrote: >=20 > I am trying to use Valgrind on an executable that's built with the -g=20 > option, yet Valgrind complains that it cannot load the debug info and=20 > symbols. (see sample output below.) >=20 > As a result, Valgrind output will not give me exact locations of=20 > problems. >=20 > Are there any settings other than -g that I need when building my=20 > executable? >=20 > Thanks - >=20 You should show the command line used to execute valgrind. What version are you using? =20 >=20 >=20 > =3D=3D30298=3D=3D Reading syms from=20 > /.automount/zion/d/a/data/intersect/build/build_with_debug/ix/unit_tes > t/ > simulator_test/simulator_test_simulator_test_main.exe (0x8048000) > =3D=3D30298=3D=3D warning: mmap failed on Why is the mmap failing? > /.automount/zion/d/a/data/intersect/build/build_with_debug/ix/unit_tes > t/ > simulator_test/simulator_test_simulator_test_main.exe > =3D=3D30298=3D=3D no symbols or debug info loaded > =3D=3D30298=3D=3D Reading syms from /lib/ld-2.2.5.so (0x1B8E4000) > =3D=3D30298=3D=3D object doesn't have any debug info > =3D=3D30298=3D=3D Reading syms from > /.automount/izu/vol/vol0/rpo_rpp_q1/intersect/users/liko/valgrind-2.2.0/ > lib/valgrind/stage2 (0xB0000000) > =3D=3D30298=3D=3D Reading syms from /lib/ld-2.2.5.so (0xB1000000) > =3D=3D30298=3D=3D object doesn't have any debug info > =3D=3D30298=3D=3D Reading syms from /lib/libdl-2.2.5.so (0xB1031000) > =3D=3D30298=3D=3D object doesn't have any debug info > =3D=3D30298=3D=3D Reading syms from /lib/i686/libc-2.2.5.so = (0xB1035000) > =3D=3D30298=3D=3D object doesn't have any debug info >=20 > Hrant Yardumian > ChevronTexaco - ETC > Reservoir Simulation Research - INTERSECT Team > 4800 Fournace Pl., Rm E-561 > Bellaire, TX 77401-2324 >=20 > Tel : (713) 432-2816 =20 > Mobile : (281) 782-8669 > Fax : (713) 432-6620 >=20 |