Bug 495909
Summary: | selective strace is still waiting after all children exit | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> |
Component: | strace | Assignee: | Roland McGrath <roland> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | dvlasenk, mnowak, roland |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-09-22 15:02:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Reiser
2009-04-15 14:37:37 UTC
The same problem occurs on x86_64, and with a strange involvement of /usr/sbin/gpm ? strace-4.5.18-2.fc11.x86_64 kernel-2.6.29.1-70.fc11.x86_64 (gdb) bt #0 0x0000003c7aca419a in wait4 () from /lib64/libc.so.6 #1 0x00000000004034d4 in trace () at strace.c:2205 #2 0x0000000000404743 in main (argc=<value optimized out>, argv=0x7fff5dbcd4c8) at strace.c:879 Tail of output file: 25883 --- SIGCHLD (Child exited) @ 0 (0) --- 26588 open("/dev/tty0", O_RDONLY) = 4 25883 stat("/var/cache/yum/rawhide/packages/libpst-libs-0.6.36-1.fc11.x86_64.rpm", {st_dev=makedev(8, 25), st_ino=347439, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=168, st_size=77830, st_atime=2009/04/15-10:58:08, st_mtime=2009/04/14-08:19:03, st_ctime=2009/04/15-10:58:07}) = 0 25883 unlink("/var/cache/yum/rawhide/packages/libpst-libs-0.6.36-1.fc11.x86_64.rpm") = 0 25883 stat("/var/cache/yum/rawhide/headers/libpst-libs-0.6.36-1.fc11.x86_64.hdr", 0x7fff1f0cd6c0) = -1 ENOENT (No such file or directory) 25883 stat("/var/cache/yum/rawhide/packages/gpm-libs-1.20.6-3.fc11.x86_64.rpm", {st_dev=makedev(8, 25), st_ino=347438, st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=56, st_size=27558, st_atime=2009/04/15-10:58:07, st_mtime=2009/04/14-00:51:02, st_ctime=2009/04/15-10:58:06}) = 0 25883 unlink("/var/cache/yum/rawhide/packages/gpm-libs-1.20.6-3.fc11.x86_64.rpm") = 0 25883 stat("/var/cache/yum/rawhide/headers/gpm-libs-1.20.6-3.fc11.x86_64.hdr", 0x7fff1f0cd6c0) = -1 ENOENT (No such file or directory) 25883 unlink("/var/lib/yum/transaction-all.2009-04-15.10:58.16") = 0 25883 unlink("/var/lib/yum/transaction-done.2009-04-15.10:58.16") = 0 25883 open("/var/lib/rpm/Conflictname", O_RDWR) = 10 25883 unlink("/var/run/yum.pid") = 0 26588 open("/dev/tty0", O_RDONLY) = 4 26588 open("/dev/tty0", O_RDONLY) = 4 26588 open("/dev/tty0", O_RDONLY) = 4 [above line repeats about 145 times until end of current contents of file] # ps ax | grep 26588 26588 ? Ss 0:00 /usr/sbin/gpm -m /dev/input/mice -t exps2 This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Hmm. Not reproducible for me. Can this be narrowed somehow? Like: is it important that yum is actually installing (or attempting) packages? Not reproducible for me, either. strace-4.5.18-2.fc11.i586 [same] kernel-PAE-2.6.29.6-217.2.3.fc11.i686 [updated from 2.6.29.1-70] yum-3.2.23-3.fc11.noarch But the problem re-appears in Fedora12! (gdb) bt ## of stalled strace when yum has finished (nothing in "ps ax") #0 0x001ca416 in __kernel_vsyscall () #1 0x00aa20ee in wait4 () from /lib/libc.so.6 #2 0x0804abdd in trace () at strace.c:2205 #3 0x0804bf53 in main (argc=1993, argv=0xbf81ad84) at strace.c:879 ----- installed versions kernel-2.6.31-0.125.4.2.rc5.git2.fc12.i686 (note *not* -PAE) strace-4.5.18-3.fc12.i686 yum-3.2.23-13.fc12.noarch ----- ----- tail of strace output (consistent with successful finish of 'yum') 2065 open("/var/lib/rpm/Conflictname", O_RDWR|O_LARGEFILE) = 18 2065 open("/var/lib/rpm/Providename", O_RDWR|O_LARGEFILE) = 18 2065 open("/var/lib/rpm/Requirename", O_RDWR|O_LARGEFILE) = 18 2065 open("/var/lib/rpm/Group", O_RDWR|O_LARGEFILE) = 18 2065 open("/var/lib/rpm/Basenames", O_RDWR|O_LARGEFILE) = 17 2065 unlink("/var/run/yum.pid") = 0 ----- Please check the logfile that there really aren't any traced processes left, like anything spawned from scripts. Also, the logfile needs to end with exit_group, before that the process didn't exit. It really looks like strace is still busy tracing a daemon spawned by one of the scripts or something like this. |