Bug 164757

Summary: first parameter of msgrcv printed too late
Product: [Fedora] Fedora Reporter: Ulrich Drepper <drepper>
Component: straceAssignee: Roland McGrath <roland>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ldv
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.5.14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-03 08:33:39 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:
Bug Depends On:    
Bug Blocks: 158504    
Attachments:
Description Flags
Add entering handling none

Description Ulrich Drepper 2005-08-01 00:30:42 UTC
Description of problem:
The msgrcv syscall can get stuck and then it is nice to know which msq is used.
 For this the first parameter should be printed on entry.

Version-Release number of selected component (if applicable):


How reproducible:
strace-4.5.12-1

Steps to Reproduce:
1.strace code using msgrcv
2.
3.
  
Actual results:
[pid 32580] msgrcv(<unfinished ...>


Expected results:
[pid 32580] msgrcv(458752,  <unfinished ...>


Additional info:
The attached patch should fix it:
2005-07-31  Ulrich Drepper  <drepper>

	* ipc.c (sys_msgrcv): Add entering handling and print first parameter
	there.

Comment 1 Ulrich Drepper 2005-08-01 00:30:43 UTC
Created attachment 117331 [details]
Add entering handling

Comment 2 Roland McGrath 2005-12-02 03:41:26 UTC
Applied upstream.

Comment 3 Roland McGrath 2006-04-03 08:33:39 UTC
Fixed in fc4 update and in fc5.