Hi there,
I'm trying to use valgrind in FC5..
$ valgrind --help Killed
Any other attempt to run valgrind w/ a correct command-line gives the same error (user or root). I tried valgrind-3.1.0-2 or 3.1.1 from the sources.
FYI, kernel is 2.6.16-1.2096_FC5.custom3 (stripped down to me smaller towards hardware drivers), no se_linux.
Any hint? Did I miss anything?
strace output: $ strace valgrind --help execve("/usr/bin/valgrind", ["valgrind", "--help"], [/* 40 vars */]) = 0 brk(0) = 0x9bd7000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f76000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=121122, ...}) = 0 mmap2(NULL, 121122, PROT_READ, MAP_PRIVATE, 4, 0) = 0xa7f58000 close(4) = 0 open("/lib/libc.so.6", O_RDONLY) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0J\330c\000"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=1532536, ...}) = 0 mmap2(0x628000, 1254780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x628000 mmap2(0x755000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x12d) = 0x755000 mmap2(0x758000, 9596, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x758000 close(4) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f57000 set_thread_area({entry_number:-1 -> 6, base_addr:0xa7f576c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x755000, 8192, PROT_READ) = 0 mprotect(0x624000, 4096, PROT_READ) = 0 munmap(0xa7f58000, 121122) = 0 readlink("/proc/self/exe", "/usr/bin/valgrind", 4096) = 17 brk(0) = 0x9bd7000 brk(0x9bf8000) = 0x9bf8000 execve("/usr/lib/valgrind/x86-linux/memcheck", ["valgrind", "--help"], [/* 41 vars */]) = 0 +++ killed by SIGKILL +++ Process 21593 detached
Regards,
On 5/23/06, wwp subscript@free.fr wrote:
Hi there,
I'm trying to use valgrind in FC5..
$ valgrind --help Killed
Any other attempt to run valgrind w/ a correct command-line gives the same error (user or root). I tried valgrind-3.1.0-2 or 3.1.1 from the sources.
FYI, kernel is 2.6.16-1.2096_FC5.custom3 (stripped down to me smaller towards hardware drivers), no se_linux.
Any hint? Did I miss anything?
strace output: $ strace valgrind --help execve("/usr/bin/valgrind", ["valgrind", "--help"], [/* 40 vars */]) = 0 brk(0) = 0x9bd7000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f76000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=121122, ...}) = 0 mmap2(NULL, 121122, PROT_READ, MAP_PRIVATE, 4, 0) = 0xa7f58000 close(4) = 0 open("/lib/libc.so.6", O_RDONLY) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0J\330c\000"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=1532536, ...}) = 0 mmap2(0x628000, 1254780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x628000 mmap2(0x755000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x12d) = 0x755000 mmap2(0x758000, 9596, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x758000 close(4) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f57000 set_thread_area({entry_number:-1 -> 6, base_addr:0xa7f576c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x755000, 8192, PROT_READ) = 0 mprotect(0x624000, 4096, PROT_READ) = 0 munmap(0xa7f58000, 121122) = 0 readlink("/proc/self/exe", "/usr/bin/valgrind", 4096) = 17 brk(0) = 0x9bd7000 brk(0x9bf8000) = 0x9bf8000 execve("/usr/lib/valgrind/x86-linux/memcheck", ["valgrind", "--help"], [/* 41 vars */]) = 0 +++ killed by SIGKILL +++ Process 21593 detached
Regards,
-- wwp
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Hi wwp!
Just some thoughts.
Can you find the files not found in the strace (missing or unavailable (permissions) dependencies)?
How (what applications) manage memory in FC5 and how well do they cooperate with valgrind?
Good hunting!
Tod
Hello Tod,
On Tue, 23 May 2006 02:09:56 -0700 "Tod Merley" todbot88@gmail.com wrote:
On 5/23/06, wwp subscript@free.fr wrote:
Hi there,
I'm trying to use valgrind in FC5..
$ valgrind --help Killed
Any other attempt to run valgrind w/ a correct command-line gives the same error (user or root). I tried valgrind-3.1.0-2 or 3.1.1 from the sources.
FYI, kernel is 2.6.16-1.2096_FC5.custom3 (stripped down to me smaller towards hardware drivers), no se_linux.
Any hint? Did I miss anything?
strace output: $ strace valgrind --help execve("/usr/bin/valgrind", ["valgrind", "--help"], [/* 40 vars */]) = 0 brk(0) = 0x9bd7000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f76000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=121122, ...}) = 0 mmap2(NULL, 121122, PROT_READ, MAP_PRIVATE, 4, 0) = 0xa7f58000 close(4) = 0 open("/lib/libc.so.6", O_RDONLY) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0J\330c\000"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=1532536, ...}) = 0 mmap2(0x628000, 1254780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x628000 mmap2(0x755000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x12d) = 0x755000 mmap2(0x758000, 9596, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x758000 close(4) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f57000 set_thread_area({entry_number:-1 -> 6, base_addr:0xa7f576c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x755000, 8192, PROT_READ) = 0 mprotect(0x624000, 4096, PROT_READ) = 0 munmap(0xa7f58000, 121122) = 0 readlink("/proc/self/exe", "/usr/bin/valgrind", 4096) = 17 brk(0) = 0x9bd7000 brk(0x9bf8000) = 0x9bf8000 execve("/usr/lib/valgrind/x86-linux/memcheck", ["valgrind", "--help"], [/* 41 vars */]) = 0 +++ killed by SIGKILL +++ Process 21593 detached
Regards,
-- wwp
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Hi wwp!
Just some thoughts.
Can you find the files not found in the strace (missing or unavailable (permissions) dependencies)?
Those lines are quite normal, at least usual, it's just looking for libc.so.6 in a specific list of paths. As you could see, it finally founds it in /lib:
open("/lib/libc.so.6", O_RDONLY) = 4
IIRC I always see this when running a program in strace.
How (what applications) manage memory in FC5 and how well do they cooperate with valgrind?
Well, there's nothing "unusual" here, and resources are not stressed (1GB mem, very few buffers/swap used). I run some desktop/development stuff (mail, browser, gcc, etc.) as I always did, and attempted to valgrind as it used to work. I tried w/ all apps closed, this didn't help, as I expected.
Good hunting!
:)
Regards,
On 23/05/06, wwp subscript@free.fr wrote:
Hi there,
I'm trying to use valgrind in FC5..
$ valgrind --help Killed
Any other attempt to run valgrind w/ a correct command-line gives the same error (user or root). I tried valgrind-3.1.0-2 or 3.1.1 from the sources.
But did you try with the Fedora Core valgrind packages? (yum install valgrind) ? They work fine here.
Hello Jonathan,
On Tue, 23 May 2006 14:11:54 +0100 "Jonathan Underwood" jonathan.underwood@gmail.com wrote:
On 23/05/06, wwp subscript@free.fr wrote:
Hi there,
I'm trying to use valgrind in FC5..
$ valgrind --help Killed
Any other attempt to run valgrind w/ a correct command-line gives the same error (user or root). I tried valgrind-3.1.0-2 or 3.1.1 from the sources.
But did you try with the Fedora Core valgrind packages? (yum install valgrind) ? They work fine here.
Yes, sorry, I wasn't clear enough: the "valgrind-3.1.0-2" is the FC5 one.
`yum search valgrind` (excerpts): valgrind.i386 1:3.1.0-2 installed
Regards,
Hello,
On Tue, 23 May 2006 10:48:55 +0200 wwp subscript@free.fr wrote:
Hi there,
I'm trying to use valgrind in FC5..
$ valgrind --help Killed
Any other attempt to run valgrind w/ a correct command-line gives the same error (user or root). I tried valgrind-3.1.0-2 or 3.1.1 from the sources.
FYI, kernel is 2.6.16-1.2096_FC5.custom3 (stripped down to me smaller towards hardware drivers), no se_linux.
Any hint? Did I miss anything?
[snip]
Sorry for replying to myself, but I've found something interesting: when I boot w/ the 2.6.16-1.2122_FC5 kernel, valgrind works. With my 2.6.16-1.2122_FC5.custom kernel, it doesn't. I'll try to find what kernel option is missing or blocking, anyone has a clue about this?
Regards,
wwp wrote:
Hello,
On Tue, 23 May 2006 10:48:55 +0200 wwp subscript@free.fr wrote:
Hi there,
I'm trying to use valgrind in FC5..
$ valgrind --help Killed
Any other attempt to run valgrind w/ a correct command-line gives the same error (user or root). I tried valgrind-3.1.0-2 or 3.1.1 from the sources.
FYI, kernel is 2.6.16-1.2096_FC5.custom3 (stripped down to me smaller towards hardware drivers), no se_linux.
Any hint? Did I miss anything?
[snip]
Sorry for replying to myself, but I've found something interesting: when I boot w/ the 2.6.16-1.2122_FC5 kernel, valgrind works. With my 2.6.16-1.2122_FC5.custom kernel, it doesn't. I'll try to find what kernel option is missing or blocking, anyone has a clue about this?
Regards,
"strace valgrind --help" might give you a clue.
Regards,
John
Hello John,
On Fri, 02 Jun 2006 09:40:26 -0700 John Wendel john.wendel@metnet.navy.mil wrote:
wwp wrote:
Hello,
On Tue, 23 May 2006 10:48:55 +0200 wwp subscript@free.fr wrote:
Hi there,
I'm trying to use valgrind in FC5..
$ valgrind --help Killed
Any other attempt to run valgrind w/ a correct command-line gives the same error (user or root). I tried valgrind-3.1.0-2 or 3.1.1 from the sources.
FYI, kernel is 2.6.16-1.2096_FC5.custom3 (stripped down to me smaller towards hardware drivers), no se_linux.
Any hint? Did I miss anything?
[snip]
Sorry for replying to myself, but I've found something interesting: when I boot w/ the 2.6.16-1.2122_FC5 kernel, valgrind works. With my 2.6.16-1.2122_FC5.custom kernel, it doesn't. I'll try to find what kernel option is missing or blocking, anyone has a clue about this?
Regards,
"strace valgrind --help" might give you a clue.
I suppose that you didn't follow get the whole thread, as this is exactly what I've tried before. The log below didn't help much in fact.
strace output: $ strace valgrind --help execve("/usr/bin/valgrind", ["valgrind", "--help"], [/* 40 vars */]) = 0 brk(0) = 0x9bd7000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f76000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=121122, ...}) = 0 mmap2(NULL, 121122, PROT_READ, MAP_PRIVATE, 4, 0) = 0xa7f58000 close(4) = 0 open("/lib/libc.so.6", O_RDONLY) = 4 read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0J\330c\000"..., 512) = 512 fstat64(4, {st_mode=S_IFREG|0755, st_size=1532536, ...}) = 0 mmap2(0x628000, 1254780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x628000 mmap2(0x755000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x12d) = 0x755000 mmap2(0x758000, 9596, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x758000 close(4) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xa7f57000 set_thread_area({entry_number:-1 -> 6, base_addr:0xa7f576c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0x755000, 8192, PROT_READ) = 0 mprotect(0x624000, 4096, PROT_READ) = 0 munmap(0xa7f58000, 121122) = 0 readlink("/proc/self/exe", "/usr/bin/valgrind", 4096) = 17 brk(0) = 0x9bd7000 brk(0x9bf8000) = 0x9bf8000 execve("/usr/lib/valgrind/x86-linux/memcheck", ["valgrind", "--help"], [/* 41 vars */]) = 0 +++ killed by SIGKILL +++ Process 21593 detached
Regards,
Hello all,
On Fri, 2 Jun 2006 18:44:42 +0200 wwp subscript@free.fr wrote:
Hello John,
On Fri, 02 Jun 2006 09:40:26 -0700 John Wendel john.wendel@metnet.navy.mil wrote:
wwp wrote:
Hello,
On Tue, 23 May 2006 10:48:55 +0200 wwp subscript@free.fr wrote:
Hi there,
I'm trying to use valgrind in FC5..
$ valgrind --help Killed
Any other attempt to run valgrind w/ a correct command-line gives the same error (user or root). I tried valgrind-3.1.0-2 or 3.1.1 from the sources.
FYI, kernel is 2.6.16-1.2096_FC5.custom3 (stripped down to me smaller towards hardware drivers), no se_linux.
Any hint? Did I miss anything?
[snip]
Sorry for replying to myself, but I've found something interesting: when I boot w/ the 2.6.16-1.2122_FC5 kernel, valgrind works. With my 2.6.16-1.2122_FC5.custom kernel, it doesn't. I'll try to find what kernel option is missing or blocking, anyone has a clue about this?
Regards,
"strace valgrind --help" might give you a clue.
I suppose that you didn't follow get the whole thread, as this is exactly what I've tried before. The log below didn't help much in fact.
[snip]
Okay, for the archives: http://sourceforge.net/mailarchive/message.php?msg_id=14946071 http://bugs.kde.org/show_bug.cgi?id=117290
it's a known bug, fixed in current 3.2.0 release candidate: http://www.valgrind.org/downloads/valgrind-3.2.0rc1.tar.bz2
I'm just amazed that nobody got it here excepted me!
Regards,