Bug 209106
Summary: | Ltrace hangs when tracing child process with -f on FC6 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | IBM Bug Proxy <bugproxy> | ||||
Component: | ltrace | Assignee: | Petr Machata <pmachata> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | CC: | mattdm, mnewsome | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | powerpc | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.5-7.45svn.fc7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-07-11 15:21:41 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: | |||||||
Attachments: |
|
Description
IBM Bug Proxy
2006-10-03 09:39:50 UTC
Created attachment 137634 [details]
Combined patch for tracing fork and tracing with pid.
----- Additional Comments From yuweiy.com 2006-10-07 23:46 EDT ------- Tested the combined patch, it works fine. [root@blade9 ~]# /usr/src/redhat/BUILD/ltrace-0.5/ltrace ./trace-fork unexpected breakpoint at 0xffd63e0 __libc_start_main(1, 0xf82efad4, 0xf82efadc, 0xf82efb38, 0xffce9a0 <unfinished ...> fork( <unfinished ...> fork(Fork Child My child pid is 32390 <unfinished ...> wait(0x16 <unfinished ...> --- SIGCHLD (Child exited) --- <... wait resumed> ) = -1 +++ exited (status 0) +++ [root@blade9 ~]# /usr/src/redhat/BUILD/ltrace-0.5/ltrace -f ./trace-fork unexpected breakpoint at 0xffd63e0 __libc_start_main(1, 0xff19fad4, 0xff19fadc, 0xff19fb38, 0xffce9a0 <unfinished ...> fork( <unfinished ...> fork() = 3580 [pid 3574] printf("My child pid is %d ", 3580 <unfinished ...> [pid 3574] fork(My child pid is 3580 ) = 21 [pid 3574] wait(0x15 <unfinished ...> [pid 3580] puts("Fork Child"Fork Child ) = 11 [pid 3580] sleep(1 <unfinished ...> [pid 3580] puts("377377377377377377377377377377377377377377377377377377377377377377377377377377377377377377377377"...) = 0 [pid 3580] +++ exited (status 0) +++ --- SIGCHLD (Child exited) --- <... wait resumed> ) = -1 +++ exited (status 0) +++ [root@blade9 ~]# ./attach-process & [1] 13830 [root@blade9 ~]# /usr/src/redhat/BUILD/ltrace-0.5/ltrace -p 13830 sleep(3) = 0 +++ exited (status 0) +++ [1]+ Done ./attach-process [root@blade9 ~]# Fedora Core 5 and Fedora Core 6 are, as we're sure you've noticed, no longer test releases. We're cleaning up the bug database and making sure important bug reports filed against these test releases don't get lost. It would be helpful if you could test this issue with a released version of Fedora or with the latest development / test release. Thanks for your help and for your patience. [This is a bulk message for all open FC5/FC6 test release bugs. I'm adding myself to the CC list for each bug, so I'll see any comments you make after this and do my best to make sure every issue gets proper attention.] Retargetting the bug to FC6. Fix available in Fedora raw hide, will push it as update for F-7. ltrace-0.5-7.45svn.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |