This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 164757 - first parameter of msgrcv printed too late
first parameter of msgrcv printed too late
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: strace (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Roland McGrath
Brian Brock
:
Depends On:
Blocks: FC4Update
  Show dependency treegraph
 
Reported: 2005-07-31 20:30 EDT by Ulrich Drepper
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 4.5.14
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-03 04:33:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Add entering handling (861 bytes, patch)
2005-07-31 20:30 EDT, Ulrich Drepper
no flags Details | Diff

  None (edit)
Description Ulrich Drepper 2005-07-31 20:30:42 EDT
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@redhat.com>

	* ipc.c (sys_msgrcv): Add entering handling and print first parameter
	there.
Comment 1 Ulrich Drepper 2005-07-31 20:30:43 EDT
Created attachment 117331 [details]
Add entering handling
Comment 2 Roland McGrath 2005-12-01 22:41:26 EST
Applied upstream.
Comment 3 Roland McGrath 2006-04-03 04:33:39 EDT
Fixed in fc4 update and in fc5.

Note You need to log in before you can comment on or make changes to this bug.