Report forwarded to debian-bugs-dist@lists.debian.org, Wichert Akkerman <wakkerma@wi.leidenuniv.nl>:
Bug#6087; Package strace.   debian-bugs-dist@lists.debian.orgWichert Akkerman  Subject: Bug#6087: strace fails to trace run-amok pine Reply-To: Ian Jackson , 6087@bugs.debian.org Resent-From: Ian Jackson Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Wichert Akkerman Resent-Date: Thu, 19 Dec 1996 16:48:11 GMT Resent-Message-ID: Resent-Sender: iwj@debian.org X-Debian-PR-Package: strace X-Debian-PR-Keywords: X-Loop: owner@bugs.debian.org Received: via spool by bugs@bugs.debian.org id=B.8510139057492 (code B ref -1); Thu, 19 Dec 1996 16:48:11 GMT Message-Id: Date: Thu, 19 Dec 96 16:44 GMT From: Ian Jackson To: Debian bugs submission address Package: strace Version: 3.1-8 I tried to strace a Pine which had gone out of control using up all of the CPU because of an ungraceful disconnect by its user: -root@chiark:~> strace -p 21370 [ nothing happens. I wait 30 secs, then hit ^C ] -root@chiark:~> strace -p21370 [ again ] -root@chiark:~> strace strace -p21370 execve("/usr/bin/strace", ["strace", "-p21370"], [/* 39 vars */]) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40006000 mprotect(0x40000000, 20079, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 mprotect(0x8048000, 68308, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=4339, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 mmap(0, 4339, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000 close(3) = 0 stat("/etc/ld.so.preload", 0xbffffa70) = -1 ENOENT (No such file or directory) open("/lib/libc.so.5.4.13", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096 mmap(0, 753664, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40009000 mmap(0x40009000, 522803, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40009000 mmap(0x40089000, 21580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7f000) = 0x40089000 mmap(0x4008f000, 203440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4008f000 close(3) = 0 mprotect(0x40009000, 522803, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 munmap(0x40007000, 4339) = 0 mprotect(0x8048000, 68308, PROT_READ|PROT_EXEC) = 0 mprotect(0x40009000, 522803, PROT_READ|PROT_EXEC) = 0 mprotect(0x40000000, 20079, PROT_READ|PROT_EXEC) = 0 personality(PER_LINUX) = 0 geteuid() = 0 getuid() = 0 getgid() = 0 getegid() = 0 brk(0x80673cc) = 0x80673cc brk(0x8068000) = 0x8068000 stat("/etc/locale/C/libc.cat", 0xbfffe5b4) = -1 ENOENT (No such file or directory) stat("/usr/lib/locale/C/libc.cat", 0xbfffe5b4) = -1 ENOENT (No such file or directory) stat("/usr/lib/locale/libc/C", 0xbfffe5b4) = -1 ENOENT (No such file or directory) stat("/usr/share/locale/C/libc.cat", 0xbfffe5b4) = -1 ENOENT (No such file or directory) stat("/usr/local/share/locale/C/libc.cat", 0xbfffe5b4) = -1 ENOENT (No such file or directory) getpid() = 22773 getuid() = 0 getgid() = 0 getuid() = 0 geteuid() = 0 setreuid(0, 0) = 0 getuid() = 0 geteuid() = 0 setreuid(0, 0) = 0 ptrace(PTRACE_ATTACH, 21370, 0x1, 0) = 0 sigaction(SIGTTOU, {SIG_IGN}, NULL) = 0 sigaction(SIGTTIN, {SIG_IGN}, NULL) = 0 sigaction(SIGHUP, {0x804a330, [], 0}, NULL) = 0 sigaction(SIGINT, {0x804a330, [], 0}, NULL) = 0 --- SIGCHLD (Child exited) --- sigaction(SIGQUIT, {0x804a330, [], 0}, NULL) = 0 sigaction(SIGPIPE, {0x804a330, [], 0}, NULL) = 0 sigaction(SIGTERM, {0x804a330, [], 0}, NULL) = 0 sigprocmask(SIG_SETMASK, [], NULL) = 0 wait4(-1, [WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP], 0, NULL) = 21370 sigprocmask(SIG_BLOCK, [HUP INT QUIT PIPE TERM], NULL) = 0 ptrace(PTRACE_SYSCALL, 21370, 0x1, 0) = 0 sigprocmask(SIG_SETMASK, [], NULL) = 0 wait4(-1, [ Again, I press ^C after a while. ] -root@chiark:~> kill -QUIT 21370 -root@chiark:~> I was using a fairly standard 2.0.21 kernel. Ian.   Acknowledgement sent to Ian Jackson <ian@chiark.greenend.org.uk>:
New bug report received and forwarded. Copy sent to Wichert Akkerman <wakkerma@wi.leidenuniv.nl>.   -t  From: owner@bugs.debian.org (Ian Jackson) To: Ian Jackson Subject: Bug#6087: Acknowledgement (was: strace fails to trace run-amok pine) Message-ID: In-Reply-To: References: Thank you for the problem report you have sent regarding Debian Linux. This is an automatically generated reply, to let you know your message has been received. It is being forwarded to the developers' mailing list for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): Wichert Akkerman If you wish to submit further information on your problem, please send it to 6087@bugs.debian.org (and *not* to bugs@bugs.debian.org). Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (maintainer, Debian bug tracking system)   Received: (at submit) by bugs.debian.org; 19 Dec 1996 16:45:05 +0000 Received: (qmail 7489 invoked from network); 19 Dec 1996 16:45:00 -0000 Received: from login.chiark.greenend.org.uk (HELO chiark.greenend.org.uk) (root@194.159.240.210) by master.debian.org with SMTP; 19 Dec 1996 16:44:59 -0000 Received: by chiark.greenend.org.uk id m0valaC-0004O6C (Debian /\oo/\ Smail3.1.29.1 #29.37); Thu, 19 Dec 96 16:44 GMT Message-Id: Date: Thu, 19 Dec 96 16:44 GMT From: Ian Jackson To: Debian bugs submission address Subject: strace fails to trace run-amok pine Package: strace Version: 3.1-8 I tried to strace a Pine which had gone out of control using up all of the CPU because of an ungraceful disconnect by its user: -root@chiark:~> strace -p 21370 [ nothing happens. I wait 30 secs, then hit ^C ] -root@chiark:~> strace -p21370 [ again ] -root@chiark:~> strace strace -p21370 execve("/usr/bin/strace", ["strace", "-p21370"], [/* 39 vars */]) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40006000 mprotect(0x40000000, 20079, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 mprotect(0x8048000, 68308, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=4339, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 mmap(0, 4339, PROT_READ, MAP_SHARED, 3, 0) = 0x40007000 close(3) = 0 stat("/etc/ld.so.preload", 0xbffffa70) = -1 ENOENT (No such file or directory) open("/lib/libc.so.5.4.13", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096 mmap(0, 753664, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40009000 mmap(0x40009000, 522803, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x40009000 mmap(0x40089000, 21580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7f000) = 0x40089000 mmap(0x4008f000, 203440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4008f000 close(3) = 0 mprotect(0x40009000, 522803, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 munmap(0x40007000, 4339) = 0 mprotect(0x8048000, 68308, PROT_READ|PROT_EXEC) = 0 mprotect(0x40009000, 522803, PROT_READ|PROT_EXEC) = 0 mprotect(0x40000000, 20079, PROT_READ|PROT_EXEC) = 0 personality(PER_LINUX) = 0 geteuid() = 0 getuid() = 0 getgid() = 0 getegid() = 0 brk(0x80673cc) = 0x80673cc brk(0x8068000) = 0x8068000 stat("/etc/locale/C/libc.cat", 0xbfffe5b4) = -1 ENOENT (No such file or directory) stat("/usr/lib/locale/C/libc.cat", 0xbfffe5b4) = -1 ENOENT (No such file or directory) stat("/usr/lib/locale/libc/C", 0xbfffe5b4) = -1 ENOENT (No such file or directory) stat("/usr/share/locale/C/libc.cat", 0xbfffe5b4) = -1 ENOENT (No such file or directory) stat("/usr/local/share/locale/C/libc.cat", 0xbfffe5b4) = -1 ENOENT (No such file or directory) getpid() = 22773 getuid() = 0 getgid() = 0 getuid() = 0 geteuid() = 0 setreuid(0, 0) = 0 getuid() = 0 geteuid() = 0 setreuid(0, 0) = 0 ptrace(PTRACE_ATTACH, 21370, 0x1, 0) = 0 sigaction(SIGTTOU, {SIG_IGN}, NULL) = 0 sigaction(SIGTTIN, {SIG_IGN}, NULL) = 0 sigaction(SIGHUP, {0x804a330, [], 0}, NULL) = 0 sigaction(SIGINT, {0x804a330, [], 0}, NULL) = 0 --- SIGCHLD (Child exited) --- sigaction(SIGQUIT, {0x804a330, [], 0}, NULL) = 0 sigaction(SIGPIPE, {0x804a330, [], 0}, NULL) = 0 sigaction(SIGTERM, {0x804a330, [], 0}, NULL) = 0 sigprocmask(SIG_SETMASK, [], NULL) = 0 wait4(-1, [WIFSTOPPED(s) && WSTOPSIG(s) == SIGSTOP], 0, NULL) = 21370 sigprocmask(SIG_BLOCK, [HUP INT QUIT PIPE TERM], NULL) = 0 ptrace(PTRACE_SYSCALL, 21370, 0x1, 0) = 0 sigprocmask(SIG_SETMASK, [], NULL) = 0 wait4(-1, [ Again, I press ^C after a while. ] -root@chiark:~> kill -QUIT 21370 -root@chiark:~> I was using a fairly standard 2.0.21 kernel. Ian.   Information forwarded to Wichert Akkerman <wakkerma@debian.org>:
Bug#6087; Package strace.   Wichert Akkerman  Subject: Bug#6087: Old bugs need to be looked at Reply-To: remco@blaakmeer.student.utwente.nl (Remco Blaakmeer), 6087-maintonly@bugs.debian.org Resent-From: remco@blaakmeer.student.utwente.nl (Remco Blaakmeer) Resent-To: Wichert Akkerman Resent-Date: Sun, 01 Feb 1998 11:35:30 GMT Resent-Message-ID: Resent-Sender: iwj@debian.org X-Debian-PR-Message: report 6087 X-Debian-PR-Package: strace X-Debian-PR-Keywords: X-Loop: owner@bugs.debian.org Received: via spool by 6087-maintonly@bugs.debian.org id=M6087.8863324742991 (code M ref 6087); Sun, 01 Feb 1998 11:35:30 GMT Message-Id: Date: Sun, 1 Feb 1998 12:27:36 +0100 (CET) From: remco@blaakmeer.student.utwente.nl (Remco Blaakmeer) To: 6087-maintonly@bugs.debian.org This is an automated message sent to all bugs older than one year. This bug is very old. Please take a look at it and see if you can fix it. If it has already been fixed, please close it. If you have problems fixing it or if you don't have the time to fix it, please ask the people on debian-devel@lists.debian.org for help, so that at least the oldest bugs can be solved before Debian 2.0 is released. Remco Blaakmeer   Acknowledgement sent to remco@blaakmeer.student.utwente.nl (Remco Blaakmeer):
Extra info received and forwarded to maintainer. Copy sent to Wichert Akkerman <wakkerma@debian.org>.   -t  From: owner@bugs.debian.org (Ian Jackson) To: remco@blaakmeer.student.utwente.nl (Remco Blaakmeer) Subject: Bug#6087: Info received for maintainer only (was Old bugs need to be looked at) Message-ID: In-Reply-To: References: X-Debian-PR-Message: ack-info 6087 Thank you for the additional information you have supplied regarding this problem report. It has been forwarded to the developer(s) (but not to the mailing list) to accompany the original report. Your message has been sent to the package maintainer(s): Wichert Akkerman If you wish to continue to submit further information on your problem, please send it to 6087-maintonly@bugs.debian.org, as before. Please do not reply to the address at the top of this message, unless you wish to report a problem with the bug-tracking system. Ian Jackson (administrator, Debian bugs database)   Received: (at 6087-maintonly) by bugs.debian.org; 1 Feb 1998 11:27:54 +0000 Received: (qmail 2988 invoked by uid 71); 1 Feb 1998 11:27:53 -0000 Received: from cal011205.student.utwente.nl (HELO blaakmeer.student.utwente.nl) (root@130.89.222.95) by debian.novare.net with SMTP; 1 Feb 1998 11:27:53 -0000 Received: by blaakmeer.student.utwente.nl id m0xyxYm-0013urC (Debian Smail-3.2.0.100 1997-Dec-8 #2); Sun, 1 Feb 1998 12:27:36 +0100 (CET) Message-Id: Date: Sun, 1 Feb 1998 12:27:36 +0100 (CET) From: remco@blaakmeer.student.utwente.nl (Remco Blaakmeer) To: 6087-maintonly@bugs.debian.org Subject: Old bugs need to be looked at This is an automated message sent to all bugs older than one year. This bug is very old. Please take a look at it and see if you can fix it. If it has already been fixed, please close it. If you have problems fixing it or if you don't have the time to fix it, please ask the people on debian-devel@lists.debian.org for help, so that at least the oldest bugs can be solved before Debian 2.0 is released. Remco Blaakmeer