MC running under root changes file perms for /dev/null !!!

Alexander Oberhuber lzw77rnc at gmx.at
Mon Jan 1 22:20:40 UTC 2007


Hi all,

Here are the details so far...

At 21:38 01.01.2007, Pavel Tsekov wrote:
>Hello Alexander,
>
>Please, do not steal threads started by others.

Sorry, I'm a newbie to this list. I didn't knew...

>I remember that I wasn't able to reproduce this bug either. To track
>this bug down I'd need some help from you. First of all I'd like to
>ask you to provide the output of 'mc -V'. Next, I'd like to know
>whether MC is changing the permissions of /dev/null each time you
>use it as root, no matter what you do with it i.e. if you start it
>and then stop it immediately does it still change the permissions ?

Yes it does: Here, check this:

aaa:~ # ls -al /dev/null
crw-rw-rw- 1 root root 1, 3 Sep  7 16:56 /dev/null
aaa:~ # mc -V
GNU Midnight Commander 4.6.1
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish
With builtin Editor
Using included S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
aaa:~ # ls -al /dev/null
crw-rw-rw- 1 root root 1, 3 Sep  7 16:56 /dev/null
aaa:~ # mc

aaa:~ # ls -al /dev/null
crw------- 1 root root 1, 3 Sep  7 16:56 /dev/null

The only thing I press is the F10 button to immidately quit the MC, 
in the example above.


>Finally, I'd like you to provide a strace log from MC session which
>changes the permissions of /dev/null.

Okay:

the output of "strace mc 2> tracelog" is as follows:

------------------------long tracelog  start

execve("/usr/local/bin/mc", ["mc"], [/* 64 vars */]) = 0
brk(0)                                  = 0x80eb000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=95758, ...}) = 0
mmap2(NULL, 95758, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f03000
close(3)                                = 0
open("/opt/gnome/lib/libgmodule-2.0.so.0", O_RDONLY) = 3
read(3, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\r\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9984, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7f02000
mmap2(NULL, 8720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7eff000
madvise(0xb7eff000, 8720, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7f01000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0xb7f01000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, 
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\f\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13814, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7efb000
madvise(0xb7efb000, 12412, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7efd000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7efd000
close(3)                                = 0
open("/opt/gnome/lib/libglib-2.0.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\342"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=550784, ...}) = 0
mmap2(NULL, 548744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
3, 0) = 0xb7e75000
madvise(0xb7e75000, 548744, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7efa000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x85) = 0xb7efa000
close(3)                                = 0
open("/usr/lib/libgpm.so.1", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\26"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=18660, ...}) = 0
mmap2(NULL, 22104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7e6f000
madvise(0xb7e6f000, 22104, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7e74000, 4096, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0xb7e74000
close(3)                                = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`5\0\000"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=87850, ...}) = 0
mmap2(NULL, 83712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7e5a000
madvise(0xb7e5a000, 83712, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7e6b000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10) = 0xb7e6b000
mmap2(0xb7e6d000, 5888, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e6d000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300Y\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1404242, ...}) = 0
mmap2(NULL, 1176988, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
3, 0) = 0xb7d3a000
madvise(0xb7d3a000, 1176988, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7e53000, 16384, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x118) = 0xb7e53000
mmap2(0xb7e57000, 9628, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e57000
close(3)                                = 0
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\366\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=288188, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7d39000
mmap2(NULL, 288900, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
3, 0) = 0xb7cf2000
madvise(0xb7cf2000, 288900, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7d2d000, 45056, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a) = 0xb7d2d000
mmap2(0xb7d38000, 2180, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d38000
close(3)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0004\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=180631, ...}) = 0
mmap2(NULL, 147584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
3, 0) = 0xb7ccd000
madvise(0xb7ccd000, 147584, MADV_SEQUENTIAL|0x1) = 0
mmap2(0xb7cf0000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22) = 0xb7cf0000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7ccc000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7ccc6b0, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, 
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7e53000, 8192, PROT_READ)   = 0
munmap(0xb7f03000, 95758)               = 0
brk(0)                                  = 0x80eb000
brk(0x810c000)                          = 0x810c000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 
ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7f1a000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2528
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7f1a000, 4096)                = 0
open("/usr/lib/locale/de_DE.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT 
(No such file or directory)
open("/usr/lib/locale/de_DE.utf8/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=238624, ...}) = 0
mmap2(NULL, 238624, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c91000
close(3)                                = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25404, ...}) = 0
mmap2(NULL, 25404, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f14000
close(3)                                = 0
getuid32()                              = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0
poll([{fd=3, events=POLLOUT|POLLERR|POLLHUP, revents=POLLOUT}], 1, 5000) = 1
send(3, "\2\0\0\0\v\0\0\0\7\0\0\0passwd\0\267", 20, MSG_NOSIGNAL) = 20
poll([{fd=3, events=POLLIN|POLLERR|POLLHUP, 
revents=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1
recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"passwd\0", 7}], 
msg_controllen=16, {cmsg_len=16, cmsg_level=SOL_SOCKET, 
cmsg_type=SCM_RIGHTS, {4}}, msg_flags=0}, 0) = 7
fstat64(4, {st_mode=S_IFREG|0600, st_size=217016, ...}) = 0
pread64(4, 
"\1\0\0\0h\0\0\0\n\0\0\0\1\0\0\0A8\231E\0\0\0\0\323\0\0"..., 104, 0) = 104
mmap2(NULL, 217016, PROT_READ, MAP_SHARED, 4, 0) = 0xb7c5c000
close(4)                                = 0
close(3)                                = 0
lstat64("/tmp/mc-root", {st_mode=S_IFDIR|0700, st_size=48, ...}) = 0
getuid32()                              = 0
open("/usr/local/share/mc/extfs/extfs.ini", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=846, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
read(3, "# Each external VFS type must be"..., 4096) = 846
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7c5b000, 4096)                = 0
open("/usr/local/share/mc/extfs/sfs.ini", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=649, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
read(3, "#\n# This is config for Single Fi"..., 4096) = 649
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7c5b000, 4096)                = 0
rt_sigaction(SIGPIPE, {0x80b8af0, [], 0}, NULL, 8) = 0
getcwd("/root", 4096)                   = 6
stat64("/root", {st_mode=S_IFDIR|0700, st_size=1320, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=520, ...}) = 0
close(-1)                               = -1 EBADF (Bad file descriptor)
close(-1)                               = -1 EBADF (Bad file descriptor)
pipe([3, 4])                            = 0
pipe([5, 6])                            = 0
clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7ccc6f8) = 5331
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3)                                = 0
close(6)                                = 0
read(5, "\0", 1)                        = 1
close(4)                                = 0
close(5)                                = 0
waitpid(5331, [{WIFEXITED(s) && WEXITSTATUS(s) == 3}], 0) = 5331
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon 
echo ...}) = 0
rt_sigaction(SIGCHLD, {0x8083ac0, [], SA_RESTART}, NULL, 8) = 0
stat64("/root/.mc", {st_mode=S_IFDIR|0755, st_size=168, ...}) = 0
rt_sigaction(SIGTSTP, NULL, {SIG_DFL}, 8) = 0
open("/root/.terminfo/x/xterm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)
open("/usr/share/terminfo/x/xterm", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2520, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
read(3, "\32\0010\0&\0\17\0\235\0010\5xterm|xterm terminal"..., 4096) = 2520
close(3)                                = 0
munmap(0xb7c5b000, 4096)                = 0
ioctl(1, TIOCGWINSZ, {ws_row=24, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon 
echo ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT QUIT TSTP TTIN TTOU WINCH], [], 8) = 0
open("/dev/tty", O_RDWR|O_LARGEFILE)    = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon 
echo ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon 
echo ...}) = 0
ioctl(3, SNDCTL_TMR_STOP or TCSETSW, {B38400 -opost isig -icanon 
-echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 -opost isig -icanon 
-echo ...}) = 0
ioctl(3, SNDCTL_TMR_STOP or TCSETSW, {B38400 -opost isig -icanon 
-echo ...}) = 0
ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 -opost isig -icanon 
-echo ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 -opost isig -icanon 
-echo ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT QUIT TSTP TTIN TTOU WINCH], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {0x80831e0, [], SA_RESTART}, {SIG_DFL}, 8) = 0
access("/root/.mc/ini", R_OK)           = 0
open("/root/.mc/ini", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2935, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
read(4, "\n[Midnight-Commander]\nshow_backu"..., 4096) = 2935
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xb7c5b000, 4096)                = 0
rt_sigprocmask(SIG_BLOCK, [INT QUIT TSTP TTIN TTOU WINCH], [], 8) = 0
write(1, "\33[?1049h\33[1;24r\33[4l\33(B\33)0\33[24;1H"..., 75) = 75
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/root/.terminfo/x/xterm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No 
such file or directory)
open("/usr/share/terminfo/x/xterm", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2520, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
read(4, "\32\0010\0&\0\17\0\235\0010\5xterm|xterm terminal"..., 4096) = 2520
close(4)                                = 0
munmap(0xb7c5b000, 4096)                = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 -opost isig -icanon 
-echo ...}) = 0
open("/dev/ptmx", O_RDWR)               = 4
statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, 
f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 
0}, f_namelen=255, f_frsize=4096}) = 0
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon 
echo ...}) = 0
ioctl(4, TIOCGPTN, [2])                 = 0
stat64("/dev/pts/2", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
statfs("/dev/pts/2", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, 
f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 
0}, f_namelen=255, f_frsize=4096}) = 0
ioctl(4, TIOCSPTLCK, [0])               = 0
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon 
echo ...}) = 0
ioctl(4, TIOCGPTN, [2])                 = 0
stat64("/dev/pts/2", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
open("/dev/pts/2", O_RDWR|O_LARGEFILE)  = 5
pipe([6, 7])                            = 0
clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7ccc6f8) = 5332
close(5)                                = 0
write(4, " PROMPT_COMMAND=\'pwd>&7;kill -ST"..., 39) = 39
rt_sigaction(SIGINT, {0x80831e0, [], 0}, NULL, 8) = 0
select(7, [4 6], NULL, NULL, {10, 0})   = 1 (in [4], left {10, 0})
read(4, " PROMPT_COMMAND=\'pwd>&7;kill -ST"..., 100) = 40
select(7, [4 6], NULL, NULL, {10, 0})   = 1 (in [4], left {9, 880000})
read(4, "mxm:~ # ", 100)                = 8
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, " ", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "P", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "R", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "O", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "M", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "P", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "T", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "_", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "C", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "O", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "M", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 880000})
read(4, "M", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 880000}) = 1 (in [4], left {9, 876000})
read(4, "A", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "N", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "D", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "=", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "\'", 100)                      = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "p", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "w", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "d", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, ">", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "&", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "7", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, ";", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "k", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "i", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "l", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "l", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, " ", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "-", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "S", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "T", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 876000})
read(4, "O", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 876000}) = 1 (in [4], left {9, 872000})
read(4, "P", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 872000}) = 1 (in [4], left {9, 872000})
read(4, " ", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 872000}) = 1 (in [4], left {9, 872000})
read(4, "$", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 872000}) = 1 (in [4], left {9, 872000})
read(4, "$", 100)                       = 1
select(7, [4 6], NULL, NULL, {9, 872000}) = 1 (in [4], left {9, 872000})
read(4, "\'", 100)                      = 1
select(7, [4 6], NULL, NULL, {9, 872000}) = 1 (in [4], left {9, 872000})
read(4, "\r\n", 100)                    = 2
select(7, [4 6], NULL, NULL, {9, 872000}) = 1 (in [6], left {9, 872000})
read(6, "/root\n", 4097)                = 6
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigsuspend([])                       = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(5332, [{WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP}], 
WNOHANG|WSTOPPED) = 5332
waitpid(5331, 0xbf8673f0, WNOHANG|WSTOPPED) = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [CHLD])
ioctl(4, TCFLSH, 0x1)                   = 0
kill(5332, SIGCONT)                     = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(5332, 0xbf867360, WNOHANG|WSTOPPED) = 0
waitpid(5331, 0xbf867360, WNOHANG|WSTOPPED) = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
open("/usr/local/share/mc/mc.lib", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2205, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
read(5, "[Special dirs]\nlist=/afs,/coda,/"..., 4096) = 2205
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb7c5b000, 4096)                = 0
getcwd("/root", 4096)                   = 6
stat64("/root", {st_mode=S_IFDIR|0700, st_size=1320, ...}) = 0
stat64("/root", {st_mode=S_IFDIR|0700, st_size=1320, ...}) = 0
open("/root/.mc/history", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFCHR|0600, st_rdev=makedev(1, 3), ...}) = 0
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf864d30) = -1 ENOTTY 
(Inappropriate ioctl for device)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb7c5b000, 4096)                = 0
time(NULL)                              = 1167689151
open("/etc/localtime", O_RDONLY)        = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
read(5, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0"..., 
4096) = 801
close(5)                                = 0
munmap(0xb7c5b000, 4096)                = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
open("/root", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0700, st_size=1320, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 47 entries */, 4096)   = 1512
lstat64("/root/.mc", {st_mode=S_IFDIR|0755, st_size=168, ...}) = 0
lstat64("/root/.qt", {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
lstat64("/root/bin", {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
lstat64("/root/.kbd", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
lstat64("/root/.kde", {st_mode=S_IFDIR|0700, st_size=192, ...}) = 0
lstat64("/root/.rnd", {st_mode=S_IFREG|0600, st_size=1024, ...}) = 0
lstat64("/root/.ssh", {st_mode=S_IFDIR|0700, st_size=80, ...}) = 0
lstat64("/root/Mail", {st_mode=S_IFDIR|0700, st_size=112, ...}) = 0
lstat64("/root/binaries_important", {st_mode=S_IFDIR|0755, 
st_size=240, ...}) = 0
lstat64("/root/zzz_newinstall", {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
lstat64("/root/.dmrc", {st_mode=S_IFREG|0600, st_size=26, ...}) = 0
lstat64("/root/.exrc", {st_mode=S_IFREG|0644, st_size=1332, ...}) = 0
lstat64("/root/.fvwm", {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
lstat64("/root/.lftp", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
lstat64("/root/.zcompdump", {st_mode=S_IFREG|0644, st_size=21965, ...}) = 0
lstat64("/root/.skel", {st_mode=S_IFDIR|0755, st_size=168, ...}) = 0
lstat64("/root/.wapi", {st_mode=S_IFDIR|0755, st_size=160, ...}) = 0
lstat64("/root/certs", {st_mode=S_IFDIR|0700, st_size=72, ...}) = 0
lstat64("/root/.suse_register.log", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
lstat64("/root/.pinerc", {st_mode=S_IFREG|0600, st_size=20580, ...}) = 0
lstat64("/root/.ICEauthority", {st_mode=S_IFREG|0600, st_size=185, ...}) = 0
lstat64("/root/.viminfo", {st_mode=S_IFREG|0600, st_size=672, ...}) = 0
lstat64("/root/Desktop", {st_mode=S_IFDIR|0700, st_size=320, ...}) = 0
lstat64("/root/.joe_state", {st_mode=S_IFREG|0600, st_size=755, ...}) = 0
lstat64("/root/install_work", {st_mode=S_IFDIR|0755, st_size=312, ...}) = 0
lstat64("/root/.bash_history", {st_mode=S_IFLNK|0777, st_size=9, ...}) = 0
stat64("/root/.bash_history", {st_mode=S_IFCHR|0600, 
st_rdev=makedev(1, 3), ...}) = 0
lstat64("/root/zzz_test_mirc", {st_mode=S_IFDIR|0700, st_size=136, ...}) = 0
lstat64("/root/listen", {st_mode=S_IFDIR|0755, st_size=104, ...}) = 0
lstat64("/root/.gtk_qt_engine_rc", {st_mode=S_IFREG|0644, 
st_size=24600, ...}) = 0
lstat64("/root/.Xauthority", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
write(1, "\33[?1049h\33[1;24r\33[4l\33(B\33)0\33[?1h\33="..., 80) = 80
lstat64("/root/scripts_for_help", {st_mode=S_IFDIR|0755, st_size=104, ...}) = 0
lstat64("/root/.gnupg", {st_mode=S_IFDIR|0700, st_size=280, ...}) = 0
lstat64("/root/.irssi", {st_mode=S_IFDIR|0700, st_size=72, ...}) = 0
lstat64("/root/.local", {st_mode=S_IFDIR|0700, st_size=72, ...}) = 0
lstat64("/root/perl_scripts", {st_mode=S_IFDIR|0755, st_size=144, ...}) = 0
lstat64("/root/zshtests", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0
lstat64("/root/.DCOPserver_mxm_:0", {st_mode=S_IFLNK|0777, 
st_size=24, ...}) = 0
stat64("/root/.DCOPserver_mxm_:0", {st_mode=S_IFREG|0644, st_size=52, ...}) = 0
lstat64("/root/.DCOPserver_mxm__0", {st_mode=S_IFREG|0644, 
st_size=52, ...}) = 0
lstat64("/root/.zsh_history", {st_mode=S_IFREG|0600, st_size=9, ...}) = 0
lstat64("/root/.lesshst", {st_mode=S_IFREG|0600, st_size=35, ...}) = 0
lstat64("/root/.xsession-errors", {st_mode=S_IFREG|0600, 
st_size=6925, ...}) = 0
lstat64("/root/.fonts.cache-2", {st_mode=S_IFREG|0600, 
st_size=1454081, ...}) = 0
lstat64("/root/tracelog", {st_mode=S_IFREG|0644, st_size=24082, ...}) = 0
getdents64(5, /* 0 entries */, 4096)    = 0
open("/proc/meminfo", O_RDONLY)         = 8
fstat64(8, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
read(8, "MemTotal:       256740 kB\nMemFre"..., 1024) = 693
close(8)                                = 0
munmap(0xb7c5b000, 4096)                = 0
close(5)                                = 0
chdir("/root/zzz_newinstall")             = 0
getcwd("/root/zzz_newinstall", 4096)      = 19
stat64("/root/zzz_newinstall", {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
stat64("/root/zzz_newinstall", {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
open("/root/zzz_newinstall", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 5
fstat64(5, {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
getdents64(5, /* 2 entries */, 4096)    = 48
getdents64(5, /* 0 entries */, 4096)    = 0
close(5)                                = 0
write(1, "\33[23;1H\33[39m\33[49m               "..., 104) = 104
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5b000
write(1, "\33]0;mc - ~/zzz_newinstall\7", 24) = 24
rt_sigaction(SIGWINCH, {0x8073aa0, [], SA_RESTART}, {SIG_DFL}, 8) = 0
write(1, "\33[?1001s\33[?1000h", 16)    = 16
gettimeofday({1167689151, 97208}, NULL) = 0
open("/usr/local/share/mc/mc.hint.POSIX", O_RDONLY|O_LARGEFILE) = -1 
ENOENT (No such file or directory)
open("/usr/local/share/mc/mc.hint.PO", O_RDONLY|O_LARGEFILE) = -1 
ENOENT (No such file or directory)
open("/usr/local/share/mc/mc.hint", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2965, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=2965, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5a000
read(5, "Hint: Use C-x t to copy tagged f"..., 4096) = 2965
close(5)                                = 0
munmap(0xb7c5a000, 4096)                = 0
write(1, "\33[AHint: Setting the CDPATH vari"..., 83) = 83
chdir("/root")                          = 0
write(1, "\33]0;mc - ~\7", 11)          = 11
time(NULL)                              = 1167689151
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
chdir("/root")                          = 0
write(1, "\33]0;mc - ~\7", 11)          = 11
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689151
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "\33[1;1H\33[30m\33[46m  Above     File"..., 3620) = 3620
gettimeofday({1167689151, 109079}, NULL) = 0
rt_sigaction(SIGINT, {0x80831e0, [], 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, "mxm:~ # ", 100)                = 8
select(5, [4], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "\33[39m\33[49mmxm:~ #\33[23;9H", 24) = 24
rt_sigaction(SIGINT, {0x80831e0, [], 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, 0xbf8667cc)         = -1 EINVAL (Invalid argument)
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
select(4, [3], NULL, NULL, {0, 0})      = 0 (Timeout)
write(1, "\33[7;12H\33[30m\33[47m               "..., 759) = 759
gettimeofday({1167689152, 857844}, NULL) = 0
rt_sigaction(SIGINT, {0x80831e0, [], 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, "\r", 1)                        = 1
ioctl(0, TIOCLINUX, 0xbf86668c)         = -1 EINVAL (Invalid argument)
time(NULL)                              = 1167689153
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689153
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689153
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
time(NULL)                              = 1167689153
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=801, ...}) = 0
write(1, "\33[?1000l\33[?1001r", 16)    = 16
open("/root/.mc/ini", 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) = 0xb7c5a000
write(5, "\n[Midnight-Commander]\nshow_backu"..., 2935) = 2935
close(5)                                = 0
munmap(0xb7c5a000, 4096)                = 0
open("/root/.mc/history", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 5
close(5)                                = 0
write(1, "\33[1;1H\33[37m\33[40m\33[K\n\33[K\n\33[K\n\33[K\n"..., 111) = 111
ioctl(3, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {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/ini", 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) = 0xb7c5a000
write(5, "\n[Midnight-Commander]\nshow_backu"..., 2935) = 2935
close(5)                                = 0
munmap(0xb7c5a000, 4096)                = 0
open("/root/.mc/history", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 5
fstat64(5, {st_mode=S_IFCHR|0600, st_rdev=makedev(1, 3), ...}) = 0
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbf866184) = -1 ENOTTY 
(Inappropriate ioctl for device)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0xb7c5a000
write(5, "\n[Dir Hist New Left Panel]\n0=/ro"..., 84) = 84
close(5)                                = 0
munmap(0xb7c5a000, 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) = 0xb7c5a000
write(5, "Midnight Commander TreeStore v 2"..., 35) = 35
close(5)                                = 0
munmap(0xb7c5a000, 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(B\33[m\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
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {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}, {0x8083ac0, [], SA_RESTART}, 8) = 0
write(1, "\n", 1)                       = 1
exit_group(0)                           = ?
Process 5330 detached



------------------------long tracelog end

The bug is still there when running under STRACE and just immidately 
quitting with F10.


> > And, MC keeps crashing my (Windows-)Putty terminal every once in a
> > while, no matter what.  Often rather soon. :-(   I use Suse 10.1
> > straight out of the box.
>
>Define "crashing". Does putty crash after a specific sequence of events ?
>Which version of putty do you use ?

Not at all, but, most of the time, when either using MC's inbuild 
viewer for reading files
(F3) or when editing such a file such as /etc/services, for example, 
by using MC.

Any more help?
Yours
Alex




More information about the mc mailing list