|
From: Roland M. <rol...@nr...> - 2012-06-28 03:21:11
|
On Wed, Jun 27, 2012 at 7:50 PM, Julian Seward <js...@ac...> wrote: > On Wednesday, June 27, 2012, Roland Mainz wrote: >> Does anyone remember any reasons why an application under control of $ >> valgrind --tool=none ... # can fail (valgrind version is 3.7.0)? >> We're seeing the following failures (test script attached as >> "ksh_valgrind_arith_sh_compound_var_arithmetic_failed.sh.txt") with >> recent ksh93 versions and I'm not sure why it even fails with >> "--tool=none" (if I remember it right applications should never fail >> with --tool=none unless it's a valgrind bug... right ?) ... >> >> Steps to reproduce: >> -- snip -- >> $ wget --http-user="I accept www.opensource.org/licenses/eclipse" >> --http-passwd="." >> 'http://www.research.att.com/sw/download/beta/INIT.2012-06-26.tgz' >> $ wget --http-user="I accept www.opensource.org/licenses/eclipse" >> --http-passwd="." >> 'http://www.research.att.com/sw/download/beta/ast-ksh.2012-06-26.tgz' >> $ gunzip -c <INIT.2012-06-26.tgz | tar -xf - >> $ gunzip -c <ast-ksh.2012-06-26.tgz | tar -xf - >> $ CC='gcc -g -ggdb -fno-builtin' ./bin/package make 2>&1 | tee -a >> buildlog.log $ cd arch/*/bin >> $ valgrind --tool=none ./ksh valgr_ksh_cmdsubfail.sh >> ==23175== Nulgrind, the minimal Valgrind tool >> ==23175== Copyright (C) 2002-2011, and GNU GPL'd, by Nicholas Nethercote. >> ==23175== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info >> ==23175== Command: /home/test001/bin/ksh valgr_ksh_cmdsubfail.sh >> ==23175== >> ==23178== >> compound var arithmetic failed, expected '( bar=2 baz=3 foo=1 )', got '' >> ==23179== >> compound var arithmetic failed, expected '( faz=0 )', got '' >> ==23180== >> compound var arithmetic failed, expected '( foz=777 )', got '' >> ==23181== >> compound var arithmetic failed, expected '( foz=777 )', got '' >> ==23182== >> compound var arithmetic failed, expected '( fuz=777 )', got '' >> ==23183== >> compound var arithmetic failed, expected 0, got '' >> ==23184== >> compound var arithmetic failed, expected 0, got '' >> ==23175== >> -- snip -- >> >> Any ideas/clues/etc. would be welcome... [snip] > > A setuid related problem, maybe? We have had those in the past. No... the shell's tests run as plain user. No special setuid/setgid or other priviledge stunts are used. ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) rol...@nr... \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) |