Hello,
if I access one of my systems via "ssh" and try to use "vi" there, then
it immediately returns with exit status "1".
System is an up-to-date 32bit ArchLinux system.
I've attached the strace output of my try to run "vi" to this mail.
Can someone see there what could have happened? Reinstalling "vi" didn't
fix this for me...
Thank you very much in advance
Yours
Manuel
execve("/usr/bin/vi", ["vi"], [/* 17 vars */]) = 0
brk(0) = 0x924a000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77b3000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=31071, ...}) = 0
mmap2(NULL, 31071, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb77ab000
close(3) = 0
open("/usr/lib/libncursesw.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\276\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=355820, ...}) = 0
mmap2(NULL, 360292, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7753000
mmap2(0xb77a8000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x54000) = 0xb77a8000
close(3) = 0
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \231\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=2005327, ...}) = 0
mmap2(NULL, 1759844, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb75a5000
mmap2(0xb774d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a8000) = 0xb774d000
mmap2(0xb7750000, 10852, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7750000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb75a4000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb75a46c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb774d000, 8192, PROT_READ) = 0
mprotect(0xb77a8000, 8192, PROT_READ) = 0
mprotect(0x807b000, 4096, PROT_READ) = 0
mprotect(0xb77d5000, 4096, PROT_READ) = 0
munmap(0xb77ab000, 31071) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
getpid() = 378
rt_sigaction(SIGHUP, {SIG_IGN, [], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x8058590, [], SA_RESTART}, {SIG_IGN, [], SA_RESTART}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGXFSZ, {SIG_IGN, [], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN, [], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x8058590, [], SA_RESTART}, {SIG_IGN, [], SA_RESTART}, 8) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=350032, ...}) = 0
mmap2(NULL, 350032, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb754e000
close(3) = 0
mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb77ab000
brk(0) = 0x924a000
rt_sigaction(SIGTSTP, {SIG_IGN, [], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTSTP, {0x8056d90, [], SA_RESTART}, {SIG_IGN, [], SA_RESTART}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
rt_sigaction(SIGINT, {0x8057080, [], SA_RESTART}, {SIG_IGN, [], SA_RESTART}, 8) = 0
rt_sigaction(SIGTSTP, {0x8056d90, [], SA_RESTART}, {0x8056d90, [], SA_RESTART}, 8) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
stat64("/root/.terminfo", 0xbfea3ff0) = -1 ENOENT (No such file or directory)
stat64("/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/usr/share/terminfo/x/xterm", R_OK) = 0
open("/usr/share/terminfo/x/xterm", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3270, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb754d000
read(3, "\32\0010\0&\0\17\0\235\1l\5xterm|xterm terminal"..., 4096) = 3270
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb754d000, 4096) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=39, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=39, ws_col=80, ws_xpixel=0, ws_ypixel=0}) = 0
getsid(0) = 245
getpgid(0) = 375
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
stat64("/root/.exrc", 0xbfea58e0) = -1 ENOENT (No such file or directory)
getcwd("/root", 8192) = 6
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=6, ...}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
write(1, "\33[?1049h\33[39;1H\"/var/tmp\" ", 26) = 26
write(1, "\33[7mValue too large for defined "..., 41) = 41
write(1, "\33[27m\n", 6) = 6
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(1, "\n", 1) = 1
write(1, "\33[?1049l", 8) = 8
exit_group(1) = ?
+++ exited with 1 +++