Comment 8 for bug 282146

Revision history for this message
tdflanders (thomasdelbeke) wrote :

Ok, this does not work. Option B, gdb.

thomas@thomas-laptop:/var/run$ cd
thomas@thomas-laptop:~$ sudo apt-get source valgrind
[sudo] password for thomas:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need to get 5811kB of source archives.
Get: 1 http://gb.archive.ubuntu.com intrepid/main valgrind 1:3.3.1-2ubuntu1 (dsc) [889B]
Get: 2 http://gb.archive.ubuntu.com intrepid/main valgrind 1:3.3.1-2ubuntu1 (tar) [5718kB]
30% [2 valgrind 1786685/5718kB 31%]
Get: 3 http://gb.archive.ubuntu.com intrepid/main valgrind 1:3.3.1-2ubuntu1 (diff) [92.5kB]
Fetched 5811kB in 3min10s (30.5kB/s)
Skipping unpack of already unpacked source in valgrind-3.3.1
thomas@thomas-laptop:~$
thomas@thomas-laptop:~$ sudo apt-get install valgrind
Reading package lists... Done
Building dependency tree
Reading state information... Done
valgrind is already the newest version.
valgrind set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
thomas@thomas-laptop:~$ sudo apt-get build-dep valgrind
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
  dpatch patchutils
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/179kB of archives.
After this operation, 631kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package dpatch.
(Reading database ... 193836 files and directories currently installed.)
Unpacking dpatch (from .../archives/dpatch_2.0.29_all.deb) ...
Selecting previously deselected package patchutils.
Unpacking patchutils (from .../patchutils_0.2.31-4_i386.deb) ...
Processing triggers for man-db ...
Setting up dpatch (2.0.29) ...
Setting up patchutils (0.2.31-4) ...
thomas@thomas-laptop:~$ sudo dpkg-reconfigure -p low valgrind
thomas@thomas-laptop:~$ sudo dpkg-reconfigure valgrind
thomas@thomas-laptop:~$ sudo rm valgrind.log.*
rm: cannot remove `valgrind.log.*': No such file or directory
thomas@thomas-laptop:~$ sudo rm valgrind.log
rm: cannot remove `valgrind.log': No such file or directory
thomas@thomas-laptop:~$ sudo G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log dpkg-reconfigure -aup low
Can't open perl script "dpkg-reconfigure": No such file or directory
thomas@thomas-laptop:~$