Discussion:
[ast-developers] valgrind hits when launching external commands from ast-ksh.2014-03-01 ...
Roland Mainz
2014-03-12 12:44:46 UTC
Permalink
Hi!

----

While looking at Irek's problem I found some valgrind hits when
external commands are launched from ast-ksh.2014-03-01 on SuSE
12.3/AMD64/64bit Linux:
-- snip --
$ valgrind ./arch/linux.i386-64/bin/ksh -c '/usr/bin/true ; true'
==3634== Memcheck, a memory error detector
==3634== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==3634== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==3634== Command: ./arch/linux.i386-64/bin/ksh -c /usr/bin/true\ ;\ true
==3634==
[snip]
==3634==
==3634== Conditional jump or move depends on uninitialised value(s)
==3634== at 0x4E9D27: spawnvex (spawnvex.c:1100)
==3634== by 0x456118: _spawnveg (path.c:158)
==3634== by 0x459897: path_spawn (path.c:1288)
==3634== by 0x472632: sh_ntfork (xec.c:3879)
==3634== by 0x46B874: sh_exec (xec.c:1724)
==3634== by 0x46D654: sh_exec (xec.c:2255)
==3634== by 0x40FAB2: exfile (main.c:610)
==3634== by 0x40ECFD: sh_main (main.c:382)
==3634== by 0x40DE80: main (pmain.c:45)
==3634==
==3635== Conditional jump or move depends on uninitialised value(s)
==3635== at 0x4E9D81: spawnvex (spawnvex.c:1118)
==3635== by 0x456118: _spawnveg (path.c:158)
==3635== by 0x459897: path_spawn (path.c:1288)
==3635== by 0x472632: sh_ntfork (xec.c:3879)
==3635== by 0x46B874: sh_exec (xec.c:1724)
==3635== by 0x46D654: sh_exec (xec.c:2255)
==3635== by 0x40FAB2: exfile (main.c:610)
==3635== by 0x40ECFD: sh_main (main.c:382)
==3635== by 0x40DE80: main (pmain.c:45)
==3635==
==3634== Conditional jump or move depends on uninitialised value(s)
==3634== at 0x4EA14D: spawnvex (spawnvex.c:1193)
==3634== by 0x456118: _spawnveg (path.c:158)
==3634== by 0x459897: path_spawn (path.c:1288)
==3634== by 0x472632: sh_ntfork (xec.c:3879)
==3634== by 0x46B874: sh_exec (xec.c:1724)
==3634== by 0x46D654: sh_exec (xec.c:2255)
==3634== by 0x40FAB2: exfile (main.c:610)
==3634== by 0x40ECFD: sh_main (main.c:382)
==3634== by 0x40DE80: main (pmain.c:45)
==3634==
-- snip --

Glenn... what do you think about these valgrind hits ?

----

Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
Loading...