Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

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   
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:
Bug Depends On:    
Bug Blocks: 158504    
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:

Steps to Reproduce:
1.strace code using msgrcv
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  <>

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

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.