[comp.windows.x] mem mgt problems in Motif

dpb@deepthot.UUCP (Don Bennett 433-3311, 408) (09/18/89)

> I am involved in the development of a mid-sized Motif application,
> and we are running into a lot of non-deterministic crashes that
> smack of memory management errors.  We *think* we have covered all
> the bases in our programme, and have started to look for other
> causes.
> 
> Is anyone else seeing problems like this in Motif 1.0?  Even
> remotely similar?

There are three memory leaks in Motif 1.0 that I know of, one of 
which is pretty tricky.  Two places in the Xt intrinsics pass
a list to a function that wants a pointer to the list,  the other
involves the modifyVerify callback of the Text widget.
(The first two I found by a "benign type mismatch" in Saber-C).

I don't think any serious work can be done with Motif-1.0
without fixing these problems.

I plan to find out what mechanisms exist within the OSF for 
redistribution of fixes.  We went through a lot of trouble
to find the 3rd leak. (or, to have someone find it for us as
it turned out).

   Don Bennett           (408)433-3311
   dpb@frame.com
   Frame Technology	(of course, my opinions are my own.)