[Bug 880685] [NEW] valgrind wrapper script crashes when LD_LIBRARY_PATH contains spaces

mascdman 880685 at bugs.launchpad.net
Mon Oct 24 07:29:01 UTC 2011


Public bug reported:

The valgrind wrapper script doesn't quote $LD_LIBRARY_PATH, so spaces in
paths cause it to crash:

[mascdman at home /tmp] export LD_LIBRARY_PATH=/usr/local/Library\ Name
[mascdman at home /tmp] valgrind ./program
export: 18: Name:/usr/lib/debug: bad variable name
[mascdman at home /tmp]

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: valgrind 1:3.6.0~svn20100724-0ubuntu2 [modified: usr/bin/valgrind]
ProcVersionSignature: Ubuntu 2.6.35-30.60-generic 2.6.35.13
Uname: Linux 2.6.35-30-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Mon Oct 24 01:05:55 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=en_CA.utf8
 SHELL=/bin/bash
SourcePackage: valgrind

** Affects: valgrind (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 maverick

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to valgrind in Ubuntu.
https://bugs.launchpad.net/bugs/880685

Title:
  valgrind wrapper script crashes when LD_LIBRARY_PATH contains spaces

Status in “valgrind” package in Ubuntu:
  New

Bug description:
  The valgrind wrapper script doesn't quote $LD_LIBRARY_PATH, so spaces
  in paths cause it to crash:

  [mascdman at home /tmp] export LD_LIBRARY_PATH=/usr/local/Library\ Name
  [mascdman at home /tmp] valgrind ./program
  export: 18: Name:/usr/lib/debug: bad variable name
  [mascdman at home /tmp]

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: valgrind 1:3.6.0~svn20100724-0ubuntu2 [modified: usr/bin/valgrind]
  ProcVersionSignature: Ubuntu 2.6.35-30.60-generic 2.6.35.13
  Uname: Linux 2.6.35-30-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Mon Oct 24 01:05:55 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  ProcEnviron:
   LANG=en_CA.utf8
   SHELL=/bin/bash
  SourcePackage: valgrind

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/880685/+subscriptions




More information about the foundations-bugs mailing list