Bug 65545 - clnt_call() returns Failure in multithread environment on RH7.2
Summary: clnt_call() returns Failure in multithread environment on RH7.2
Keywords:
Status: CLOSED DUPLICATE of bug 65544
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.2
Hardware: i586
OS: Linux
high
high
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-27 11:15 UTC by Konda Reddy
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-05-27 11:15:46 UTC
Embargoed:


Attachments (Terms of Use)
new.tar file has the sample to reproduce the Bug. (110.00 KB, application/octet-stream)
2002-05-27 11:19 UTC, Konda Reddy
no flags Details

Description Konda Reddy 2002-05-27 11:15:41 UTC
Description of Problem:
I have a multi-threaded client, in which I create
CLIENT handle in the first thread, and then use
clnt_call in other child-threads to access server.
If the clnt_create() and clnt_call() are invoked in the same thread then 
clnt_call() returns success. 
On Linux RH7.1 there is no problem. but it's giving problem on RH7.2 (2.4.7-10 
#1 Thu Sep 6 17:21:28 EDT 2001 i586). 

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


How Reproducible:
Call clnt_create() in one thread and get the CLIENT pointer then call clnt_call
() in another thread by passing the same CLIENT pointer. It returns Failure.

I am attaching a file new.tar this contains
compile - to compile the sameple.
after compilation just run
1. dateproc &
2. rdate "hostname"  (hostname must be the host for the dateproc server)

you will see the problem. saying that clnt_call failed.

Steps to Reproduce:
1. 
2. 
3. 

Actual Results:
clnt_call() returns FAILURE.

Expected Results:
clnt_call() should return SUCCESS.

Additional Information:

Comment 1 Arjan van de Ven 2002-05-27 11:17:31 UTC

*** This bug has been marked as a duplicate of 65544 ***

Comment 2 Konda Reddy 2002-05-27 11:19:35 UTC
Created attachment 58665 [details]
new.tar file has the sample to reproduce the Bug.


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