msgsendv_r returns ESVRFAULT

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

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.

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.