lkml.org 
[lkml]   [1996]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectscript broke
Hi,

Since I installed 1.3.100 (from 1.3.45) I've noticed that the script
command seems broken. It exits without taking any input. Its not really
a big problem here, but I thought I'd pass it along to this group in case
there is some issue with the kernel change above. Note: I also
recompiled script from source with the same effect. strace is below


/home #script -a sctest
Script started, file is sctest <---just exists, thus
!Script done, file is sctest



/home #strace script -a sctest
uselib("/lib/ld.so") = 0
stat("/etc/ld.so.cache", {st_mode=S_IFREG|0774, st_size=582, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
mmap(0, 582, PROT_READ, MAP_SHARED, 3, 0) = 0x40000000
close(3) = 0
uselib("/usr/X11/lib/libc.so.4") = -1 ENOENT (No such file or
directory)
uselib("/usr/packages/interviews/lib/LINUX/libc.so.4") = -1 ENOENT (No
such file or directory)
uselib("/usr/X11R6/lib/libc.so.4") = -1 ENOENT (No such file or
directory)
uselib("/usr/lib/libc.so.4") = -1 ENOENT (No such file or
directory)
uselib("/lib/libc.so.4") = 0
munmap(0x40000000, 582) = 0
munmap(0x62f00000, 16384) = 0
brk(0) = 0xbf4
brk(0x3bf4) = 0x3bf4
brk(0x4000) = 0x4000
brk(0x5000) = 0x5000
stat("/etc/locale/C/libc.cat", 0xbffff5c4) = -1 ENOENT (No such file or
directory)
stat("/usr/lib/locale/C/libc.cat", 0xbffff5c4) = -1 ENOENT (No such file
or directory)
stat("/usr/lib/locale/libc/C/usr/share/locale/C/libc.cat", 0xbffff5c4) =
-1 ENOENT (No such file or directory)
stat("/usr/local/share/locale/C/libc.cat", 0xbffff5c4) = -1 ENOENT (No
such file or directory)
brk(0x6000) = 0x6000
open("sctest", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
brk(0x7000) = 0x7000
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
lseek(3, 0, SEEK_SET) = 0
stat("/dev/ptyp0", {st_mode=S_IFCHR|0666, st_rdev=makedev(4, 128), ...})
= 0
open("/dev/ptyp0", O_RDWR) = -1 EIO (I/O error)
open("/dev/ptyp1", O_RDWR) = -1 EIO (I/O error)
open("/dev/ptyp2", O_RDWR) = 4
access("/dev/ttyp2", R_OK|W_OK) = 0
ioctl(0, TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(0, TIOCGWINSZ, {ws_row=43, ws_col=129, ws_xpixel=792,
ws_ypixel=569}) = 0
fstat(1, {st_mode=S_IFCHR|0622, st_rdev=makedev(4, 192), ...}) = 0
brk(0x8000) = 0x8000
ioctl(1, TCGETS, {B9600 opost isig icanon echo ...}) = 0
write(1, "Script started, file is sctest\n"..., 31Script started, file is
sctest
) = 31
ioctl(0, TCSETSF, {B9600 -opost -isig -icanon -echo ...}) = 0
sigaction(SIGCHLD, {0x2b4, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, {SIG_DFL}) = 0
fork() = 25096
close(3) = 0
read(0, 0xbffff684, 1024) = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 25096
wait4(-1, 0xbffff564, WNOHANG, NULL) = -1 ECHILD (No child processes)
ioctl(0, TCSETSF , {B9600 opost isig icanon echo ...}) = 0write(1, "Script done, file is sctest\n", 28Script done, file is sctest) = 28
_exit(0) = ?


____________________________________________________
| Steve M. Burnett sburn@smbtech.com |




\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.021 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site