Networking Forums

Networking Forums > Computer Networking > Linux Networking > RPC Client problem

Reply
Thread Tools Display Modes

RPC Client problem

 
 
AMol Natekar
Guest
Posts: n/a

 
      03-03-2004, 11:28 AM
Hello all,

We are using RPC under Linux environment; programming in C using xdr.
we are facing an error with clnt_call function in RPC. When ever we
try to set the memory(using memset) of the variable in which the
result is to be stored it is giving us a segmentation fault.
when clinet function run a loop repeatatively for 1000 times or so,
it abruptly halts and gives segmentation fault.
How could this error be handled?

thanks in advance!
 
Reply With Quote
 
 
 
 
Cameron Kerr
Guest
Posts: n/a

 
      03-04-2004, 04:13 AM
AMol Natekar <(E-Mail Removed)> wrote:
> Hello all,
>
> We are using RPC under Linux environment; programming in C using xdr.
> we are facing an error with clnt_call function in RPC. When ever we
> try to set the memory(using memset) of the variable in which the
> result is to be stored it is giving us a segmentation fault.


Make sure that the memory has been allocated first, and you're not
trying to write past its bounds.

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
W2003 Client FTP problem Andrew Kennard Windows Networking 1 10-29-2008 10:29 AM
Problem under FC4 with Cisco VPN Client scmoseman@gmail.com Linux Networking 3 02-20-2006 01:22 AM
VPN client routing problem Marcin Windows Networking 7 11-25-2005 03:23 AM
Client VPN - Problem HB Windows Networking 1 07-23-2005 05:31 PM
ICS Client problem Redfish Wireless Networks 0 08-30-2004 06:40 PM



1 2 3 4 5 6 7 8 9 10 11