msgsendv_r returns ESVRFAULT

bridged with qdn.public.qnxrtp.os
Post Reply
Bob Kirby

msgsendv_r returns ESVRFAULT

Post by Bob Kirby » Sat Nov 08, 2003 10:42 am

Hi.
I'm running 6.2.1 on a MIPS platform and my msgsendv_r/msgreply works great
most of the time, but occasionally, after say 1000 or so iterations, I get a
ESVRFAULT.
I'm hoping this is something stupid I missed, since I am kind of a newby.
I'd be grateful for any suggestions.

-bk


--
mail me like this:
first dot last at ge dot com

David Gibbs

Re: msgsendv_r returns ESVRFAULT

Post by David Gibbs » Mon Nov 10, 2003 5:23 pm

Bob Kirby <seesig@bottom.com> wrote:
Hi.
I'm running 6.2.1 on a MIPS platform and my msgsendv_r/msgreply works great
most of the time, but occasionally, after say 1000 or so iterations, I get a
ESVRFAULT.
ESRVRFAULT means that an erorr occurred on the server side while dealing
with message buffers. That is, you passed an invalid pointer for the
receive buffer on MsgReceive*(), or MsgReply*(), or a pointer that was
valid, but did not point to a data area as large as the length selected,
or similar issues with an iov array.

-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Bob Kirby

Re: msgsendv_r returns ESVRFAULT

Post by Bob Kirby » Sat Nov 15, 2003 2:26 pm

Thanks for your help. The problem turned out to be a couple of classes
instantiated on the stack in the server. When I made these classes static,
the problem went away. I'm not convinced that there isn't some other
problem, like some timing crack exposed by the constructors, but it's
working.
bk

"David Gibbs" <dagibbs@qnx.com> wrote in message
news:boohi2$2av$3@nntp.qnx.com...
Bob Kirby <seesig@bottom.com> wrote:
Hi.
I'm running 6.2.1 on a MIPS platform and my msgsendv_r/msgreply works
great
most of the time, but occasionally, after say 1000 or so iterations, I
get a
ESVRFAULT.

ESRVRFAULT means that an erorr occurred on the server side while dealing
with message buffers. That is, you passed an invalid pointer for the
receive buffer on MsgReceive*(), or MsgReply*(), or a pointer that was
valid, but did not point to a data area as large as the length selected,
or similar issues with an iov array.

-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Post Reply

Return to “qdn.public.qnxrtp.os”