Bug 164757 - first parameter of msgrcv printed too late
first parameter of msgrcv printed too late
Product: Fedora
Classification: Fedora
Component: strace (Show other bugs)
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:
Last Closed: 2006-04-03 04:33:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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:

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  <drepper@redhat.com>

	* ipc.c (sys_msgrcv): Add entering handling and print first parameter
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.