Re: XForms: X Error Messages

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 26 Oct 99 05:59:40 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I've been getting an error message while running a
> program and I can't determine the source of the
> problem...
>
> After my program exists, as a result of the problem,
> I get the following message:
>
> =======================================================
> X Error of failed request: BadDrawable (invalid
> Pixmap or Window parameter)
> [...whack!...]

Hard telling with so little to go on.

It looks to me as if you have somehow disarranged the innards of a
`FL_FORM' or `FL_OBJECT' data structure some how. Are you
manipulating any of the structure members directly, rather than
through XForms function calls? Perhaps you're walking on something
there.

You might also check to see that you're not inadvertently using a
pointer which has been free()ed or any of the other usual stuff.

What other objects are in the form? Are you using any Free objects or
Canvas objects?

Can you post a *preferably* short piece of test code which exhibits
the problem?

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/