Re: [evlog-dev] evltc problem
Steve Woodruff <[email protected]> Mon, 17 Mar 2003 08:41:55 -0800 (PST)
| Newsgroups | gmane.linux.kernel.event-logging |
|---|---|
| Message-ID | <[email protected]> |
Perhaps so, but I still don't see it:
# strace evltc -c iden.t
execve("/sbin/evltc", ["evltc", "-c", "iden.t"], [/*
16 vars */]) = 0
uname({sys="Linux", node="ia", ...}) = 0
brk(0) =
0x600000000000f3a8
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
SYS_1212(0x3, 0x80000fffffffaed0, 0, 0, 0, 0, 0, 0) =
0
mmap(NULL, 9651, PROT_READ, MAP_PRIVATE, 3, 0) =
0x2000000000030000
close(3) = 0
open("/lib/libpthread.so.0", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0002\0\1\0\0\0@j\0\0"...,
1024) = 1024
SYS_1212(0x3, 0x80000fffffffaed0, 0, 0, 0, 0, 0, 0) =
0
mmap(NULL, 203160, PROT_READ|PROT_EXEC, MAP_PRIVATE,
3, 0) = 0x2000000000044000
mprotect(0x200000000005c000, 104856, PROT_NONE) = 0
mmap(0x2000000000064000, 81920, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x20000) =
0x2000000000064000
close(3) = 0
open("/lib/libc.so.6.1", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0002\0\1\0\0\0ph\3\0"...,
1024) = 1024
SYS_1212(0x3, 0x80000fffffffaea0, 0, 0, 0, 0, 0, 0) =
0
mmap(NULL, 2508704, PROT_READ|PROT_EXEC, MAP_PRIVATE,
3, 0) = 0x2000000000078000
mprotect(0x20000000002c0000, 116640, PROT_NONE) = 0
mmap(0x20000000002c8000, 65536, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x240000) =
0x20000000002c8000
mmap(0x20000000002d8000, 18336, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =
0x20000000002d8000
close(3) = 0
mmap(NULL, 32768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2000000000034000
mmap(NULL, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20000000002e0000
munmap(0x2000000000030000, 9651) = 0
getpid() = 679
rt_sigaction(SIGRT0, {0x200000000003e298, [], 0},
NULL, 8) = 0
rt_sigaction(SIGRT1, {0x200000000003e308, [], 0},
NULL, 8) = 0
rt_sigaction(SIGRT2, {0x200000000003e368, [], 0},
NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RT0], NULL, 8) = 0
_sysctl(0x80000fffffffb970) = 0
brk(0) =
0x600000000000f3a8
brk(0x600000000000f408) =
0x600000000000f408
brk(0x6000000000010000) =
0x6000000000010000
getpid() = 679
clone(child_stack=0, flags=0x11) = 680
wait4(680, execv of cpp: No such file or directory
[WIFEXITED(s) && WEXITSTATUS(s) == 3], 0, NULL) = 680
--- SIGCHLD (Child exited) ---
rmdir("./tmplSrc679") = -1 ENOENT
(No such file or directory)
exit(1) = ?
--- Michel Dagenais <[email protected]>
wrote:
>
> > # /sbin/evltc -c iden.t
> > execv of cpp: No such file or directory
> > # which cpp
> > /usr/bin/cpp
> > # ls -l /usr/bin/cpp
> > -rwxr-xr-x 1 root root 511637 Mar 13
> > 18:10 /usr/bin/cpp
> >
> > I don't see the problem. Any idea?
>
> On Linux strace is your friend, it will list all
> system calls and thus
> all the files looked for and should easily uncover
> the problem (looking
> for cpp somewhere else for example).
>
=====
----------------------------------------------------------
Steve Woodruff, N9OH @ 42.18N 88.34W, [email protected]
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en