[email protected]
[Top] [All Lists]

underscores (strace output)

Subject: underscores strace output
From: "Helmut Hullen"
Date: 30 May 2007 18:56:00 +0200
Hallo, mc,

here ist the strace output (sorry for the long log):

chdir("/tmp/s_t")                       = 0
getcwd("/tmp/s_t", 4096)                = 9
stat64("/tmp/s_t", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/tmp/s_t", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
write(4, " cd ", 4)                     = 4
write(4, "\"`echo -e \'\\057tmp\\057s\\137t\'`\"", 31) = 31
write(4, "\n", 1)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, " ", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "c", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "d", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, " ", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "\"", 100)                      = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "`", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "e", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "c", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "h", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "o", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, " ", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "-", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "e", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, " ", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "\'", 100)                      = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "\\", 100)                      = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "0", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "5", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "7", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "t", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "m", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "p", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "\\", 100)                      = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "0", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "5", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "7", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "s", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "\\", 100)                      = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "1", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "3", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "7", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "t", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "\'", 100)                      = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "`", 100)                       = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "\"", 100)                      = 1
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])
read(4, "\r\n", 100)                    = 2
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [4])

---------- start of error? --------

read(4, "bash: cd: /tmp/s\\137t: Datei ode"..., 100) = 62
select(7, [4 6], NULL, NULL, NULL)      = 1 (in [6])
read(6, "/tmp\n", 4097)                 = 5
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigsuspend([])                       = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(19708, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP}], WNOHANG|WSTOPPED) = 
19708
waitpid(19707, 0xbfd34380, WNOHANG|WSTOPPED) = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [CHLD])
ioctl(4, TCFLSH, 0x1)                   = 0
kill(19708, SIGCONT)                    = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(19708, 0xbfd342f0, WNOHANG|WSTOPPED) = 0
waitpid(19707, 0xbfd342f0, WNOHANG|WSTOPPED) = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
write(2, "Warnung: Kann nicht in /tmp/s_t "..., 42) = 42

------- Warning ----------


open("/tmp/s_t", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 2 entries */, 4096)    = 48
getdents64(5, /* 0 entries */, 4096)    = 0
close(5)                                = 0
gettimeofday({1180550383, 685421}, NULL) = 0
write(1, "\33]0;mc - /tmp/s_t\7", 18)   = 18
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "\33[2;8H\33[30m\33[47m/s_t\33[4;2H\33[46m/"..., 1153) = 1153
gettimeofday({1180550383, 687185}, NULL) = 0
rt_sigaction(SIGINT, {0x807b870, [], 0}, NULL, 8) = 0
select(5, [3 4], NULL, NULL, NULL)      = 1 (in [4])
rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
select(5, [4], NULL, NULL, {0, 0})      = 1 (in [4], left {0, 0})
read(4, "Hamar:/tmp # ", 100)           = 13
select(5, [4], NULL, NULL, {0, 0})      = 0 (Timeout)
rt_sigaction(SIGINT, {0x807b870, [], 0}, NULL, 8) = 0
select(5, [3 4], NULL, NULL, NULL)      = 1 (in [3])
rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
select(5, [3 4], NULL, NULL, NULL)      = 1 (in [3])
select(4, [3], NULL, NULL, {10, 0})     = 1 (in [3], left {10, 0})
read(3, "\33", 1)                       = 1
select(4, [3], NULL, NULL, {10, 0})     = 1 (in [3], left {10, 0})
read(3, "[", 1)                         = 1
select(4, [3], NULL, NULL, {10, 0})     = 1 (in [3], left {10, 0})
read(3, "2", 1)                         = 1
select(4, [3], NULL, NULL, {10, 0})     = 1 (in [3], left {10, 0})
read(3, "1", 1)                         = 1
select(4, [3], NULL, NULL, {10, 0})     = 1 (in [3], left {10, 0})
read(3, "~", 1)                         = 1
ioctl(0, TIOCLINUX, 0xbfd378d3)         = -1 EINVAL (Invalid argument)
write(1, "\33[?1000l\33[?1001r", 16)    = 16
write(1, "\33[1;1H\33[40m\33[K\n\33[K\n\33[K\n\33[K\n\33[K\n\33"..., 106) = 106
ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
open("/root/.mc/history", O_RDONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 
EEXIST (File exists)
chmod("/root/.mc/history", 0600)        = 0
open("/root/.mc/history", O_RDONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 
EEXIST (File exists)
chmod("/root/.mc/history", 0600)        = 0
open("/root/.mc/history", O_RDONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = -1 
EEXIST (File exists)
chmod("/root/.mc/history", 0600)        = 0
open("/root/.mc/history", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 5
fstat64(5, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x402f5000
write(5, "\n[edit-search]\n0=wins\n\n[inp Bloc"..., 3565) = 3565
close(5)                                = 0
munmap(0x402f5000, 4096)                = 0
open("/root/.mc/Tree.tmp", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x402f5000
write(5, "Midnight Commander TreeStore v 2"..., 35) = 35
close(5)                                = 0
munmap(0x402f5000, 4096)                = 0
rename("/root/.mc/Tree.tmp", "/root/.mc/Tree") = 0
rt_sigprocmask(SIG_BLOCK, [INT QUIT TSTP TTIN TTOU WINCH], [], 8) = 0
write(1, "\33[?1l\33>\33[24;1H\33[m\33(B\33[39;49m\r\33[K"..., 41) = 41
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "\33[?47l\0338\33[m", 11)      = 11
rt_sigprocmask(SIG_BLOCK, [INT QUIT TSTP TTIN TTOU WINCH], [], 8) = 0
ioctl(3, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0
close(3)                                = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\33[39;49m", 8)               = 8
rt_sigaction(SIGCHLD, {SIG_DFL}, {0x807d370, [], SA_RESTART}, 8) = 0
write(1, "\n", 1)                       = 1
munmap(0x402f4000, 4096)                = 0
exit_group(0)                           = ?

-------------------------------------------

Can anyone see the bug?

Viele Gruesse!
Helmut
_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>
  • underscores (strace output), Helmut Hullen <=