Re: XForms: segmentation fault

Chris (
Thu, 26 Mar 1998 08:18:40 -0600 (CST)

# To subscribers of the xforms list from Chris <> :

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.

Chris ..

On Thu, 26 Mar 1998, Dick Middleton wrote:

> # To subscribers of the xforms list from Dick Middleton <> :
> > # To subscribers of the xforms list from Chris <> :
> > I keep getting a segmentation fault in one point of a program I'm writing
> > using xforms v0.88 in Linux. The segmentation fault occurs when I call
> > any fl function that opens up a new window. Ex. I have a
> > fl_show_question("Are you sure you want to quit?",1); When the program
> > calls this function my program seg faults (sometimes) -- I can cause a
> > segmentation fault pretty much when I want.
> When I get problems like this that look convincingly like problems with
> certain xforms objects or calls I go looking for memory access mistakes in my
> program. Invariably I find I'm using a buffer too small or a freed pointer
> or some stupid thing; not necessarily anything to do with the code that is
> actually failing. They can be very hard to find.
> Dick

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