From owner-freebsd-questions Wed Mar 22 23:16:22 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA02235 for questions-outgoing; Wed, 22 Mar 1995 23:16:22 -0800 Received: from violet.berkeley.edu (violet.Berkeley.EDU [128.32.155.22]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id XAA02229 for ; Wed, 22 Mar 1995 23:16:21 -0800 Received: by violet.berkeley.edu (8.6.10/1.33r) id XAA24892; Wed, 22 Mar 1995 23:16:10 -0800 Date: Wed, 22 Mar 1995 23:16:10 -0800 From: jkh@violet.berkeley.edu (Jordan K. Hubbard) Message-Id: <199503230716.XAA24892@violet.berkeley.edu> To: questions@FreeBSD.org Subject: SYSV IPC question Sender: questions-owner@FreeBSD.org Precedence: bulk Newsgroups: comp.os.386bsd.questions Path: agate!overload.lbl.gov!lll-winken.llnl.gov!uwm.edu!news.alpha.net!news.mathworks.com!zombie.ncsc.mil!admii!sparky!geni18!steve From: steve@geni18 (Steven J. Choy) Subject: SysV IPC on FreeBSD Message-ID: <1995Mar22.120920.18130@arl.mil> Sender: news@arl.mil (The News System ) Organization: U.S. Army Research Lab (ARL), APG, MD X-Newsreader: TIN [version 1.2 PL2] Date: Wed, 22 Mar 1995 12:09:20 GMT Lines: 16 I'm looking for others programmers that have tried using freeBSD implementation of sysV IPC message queues. I am having problems with the msgrcv call. I am using code that I have been running successfully on several other UNIX systems for the last 6 six years and now trying to port to freeBSD on a 486/66 platform. The msgrcv call appears to be overwriting my receive buffer. My buffer is a local variable (off the stack). The return value which is suppose to indicate the number of bytes is returned correctly, but extra bytes off my stack are wiped out and my buffer is overrun. I'm using version 1.1.5.1. Is there anyone else out there using the IPC feature on freeBSD? Steven Choy e-mail steve@msc.arl.mil