Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jeff Sullivan <jps@zk3.dec.com>
Subject: Re: Segmentation fault exceptions under DU4.0
Date: 1998/02/17	[thread overview]
Message-ID: <34E9A92C.83A1024B@zk3.dec.com> (raw)
In-Reply-To: 6c20te$m08@romeo.logica.co.uk


The user reported that this was, in fact, the problem and that it is
now resolved.

<quote>
It looks like we have been using the wrong message size in most of the
code, i.e. 8 bytes too big.  What really threw me was that the same code
to receive messages is used everywhere, in 30+ processes, and all but
one of them worked fine, whilst the one causing problems always crashed
in exactly the same manner, no matter what else I changed!

Anyway after much useless hacking and rewriting, a simple one line fix
has solved the problem ... I wish I'd posted the plea for help earlier
instead of ploughing through thousands of lines of code !
</quote>

I would also note that in DIGITAL UNIX V4.0, you also get the ATOM
tools. The tool I would highly recommend for cases like this, (memory
overwrites and the like) is "third degree". See the man page for
atom(1) and third(5). It is also described in the Programmer's Guide,
which should be available online.

-Jeff
-- 
Jeff Sullivan | Digital Equipment Corp | E-mail:    jps@zk3.dec.com
DEC C and C++ | Nashua, NH  ZK3-2/2X09 | sullivan@decc.enet.dec.com



      parent reply	other threads:[~1998-02-17  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-13  5:00 Segmentation fault exceptions under DU4.0 turnergw-at-logica-dot-com
1998-02-16  5:00 ` Segmentation fault exceptions under DU4.0 (msgrcv?) Jeff Sullivan
1998-02-17  5:00 ` Jeff Sullivan [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox