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

            Bug ID: 393023
           Summary: callgrind_control risks using the wrong vgdb
           Product: valgrind
           Version: 3.13 SVN
          Platform: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: callgrind
          Assignee: josef.weidendor...@gmx.de
          Reporter: jrei...@bitwagon.com
  Target Milestone: ---

The perl script 'callgrind_control' sub-invokes 'vgdb' free in $PATH:
  open LIST, "vgdb $vgdbPrefixOption -l|";
  open RESULT, "vgdb $vgdbPrefixOption --pid=$pid $vgdbCommand|";
which might invoke a mismatching vgdb (stale version in abandoned directory,
etc.)

It would be safer to look for vgdb first in the installation tree of valgrind
tools, typically the same tree in which the running 'callgrind_control'
resides.

[Low priority, but the problem has happened.]

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

Reply via email to