https://bugs.kde.org/show_bug.cgi?id=395266

Paul Floyd <pjfl...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOT A BUG
             Status|REPORTED                    |RESOLVED

--- Comment #9 from Paul Floyd <pjfl...@wanadoo.fr> ---
I now see what is happening.

On kubuntu, the valgrind package uses a shell wrapper. This sets a couple of
environment variables (LD_LIBRARY_PATH to pick up debug libs and
GLIBCXX_FORCE_NEW=1 to prevent new from using a cache). Then it execs
valgrind.bin.

Since FOO/BAR is not a valid environment variable (at least , not as far as
bash is concerned, env does allow it) then it doesn't get propagated to
valgrind.bin and the guest exe crashes.

If you run

env 'FOO/BAR=1' valgrind.bin ./test

then it should work normally.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to