Re: XForms: segmentation fault

Steve Lamont (
Thu, 26 Mar 98 07:05:26 PST

# To subscribers of the xforms list from (Steve Lamont) :

> I'll keep looking for problems that my code could be causing. I did
> although try the code on a Solaris machine with the same version of Xforms
> (0.88) and it worked absolutely fine.. Seems sorta strange to me.

Actually, that's not so strange at all. Since you're on two different
machines with two different compilers, not to mention instruction sets
and memory architectures, things will be in different places relative
to one another in memory. You may be walking on something unused on
the Solaris machine while on the Linux box you're walking on something

As Dick suggested, look for inadvertent use pointers after they've
been freed or memory/buffer overruns (berserk for-loop indices).

There is a very nice memory debug tool called DBMALLOC written by
Conor P. Cahill that is freely available at a number of FTP sites,
particularly Linux oriented ones, which is extremely useful in
tracking down re-use of freed pointers and memory overruns. No
programmer should be without it or a similar tool.


To unsubscribe, send the message "unsubscribe" to or see
XForms Home Page:
List Archive: