Bug 65545

Summary: clnt_call() returns Failure in multithread environment on RH7.2
Product: [Retired] Red Hat Linux Reporter: Konda Reddy <kondar>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: high Docs Contact:
Priority: high    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-05-27 11:15:46 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:
Attachments:
Description Flags
new.tar file has the sample to reproduce the Bug. none

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.