|
From: Konstantin S. <kon...@gm...> - 2009-08-18 17:27:59
|
On Tue, Aug 18, 2009 at 8:58 PM, Tom Hughes <to...@co...> wrote: > On 18/08/09 17:00, Konstantin Serebryany wrote: > > > Is the following expected? > > Valgrind (latest trunk, compiled in the combined 64- and 32-bit mode) > > can not run a shell script if the shell is a 32-bit executable. > > The shell script is a text file (chmod +x) with first line > > "#!/path/to/shell". > > Running 'valgrind /path/to/shell script' directly -- works. > > Should work - we recursively probe the interpreter. Still it doesn't :( Also, I can see messages 'wrong ELF executable class' in some of the nightly runs' logs sent by Nick. Same problem? > > > What does -d say the launcher is doing? --18260:1:debuglog DebugLog system started by Stage 1, level 1 logging requested --18260:1:launcher no tool requested, defaulting to 'memcheck' --18260:1:launcher no platform detected, defaulting platform to 'amd64-linux' --18260:1:launcher launching /home/kcc/valgrind/trunk/inst/lib/valgrind/memcheck-amd64-linux --18260:1:debuglog DebugLog system started by Stage 2 (main), level 1 logging requested --18260:1:main Welcome to Valgrind version 3.5.0-TEST1 debug logging --18260:1:main Checking current stack is plausible --18260:1:main Checking initial stack was noted --18260:1:main Starting the address space manager --18260:1:main Address space manager is running --18260:1:main Starting the dynamic memory manager --18260:1:mallocfr newSuperblock at 0x402001000 (pszB 4194272) owner VALGRIND/tool --18260:1:main Dynamic memory manager is running --18260:1:main Initialise m_debuginfo --18260:1:main VG_(libdir) = /home/kcc/valgrind/trunk/inst/lib/valgrind --18260:1:main Getting launcher's name ... --18260:1:main ... /home/kcc/valgrind/trunk/inst/bin/valgrind --18260:1:main Get hardware capabilities ... --18260:1:main ... arch = AMD64, hwcaps = amd64-sse3-cx16 --18260:1:main Getting the working directory at startup --18260:1:main ... /home/kcc/valgrind/script_bug --18260:1:main Split up command line --18260:1:main (early_) Process Valgrind's command line options --18260:1:main Create initial image --18260:1:initimg Loading client valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit) > > > Tom > > -- > Tom Hughes (to...@co...) > http://www.compton.nu/ > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |