[comp.windows.x] Program crashes with BadDrawable

bill@polygen.uucp (Bill Poitras) (09/27/90)

When I am running a program in X11R4, which has a pixmap stipple in its main
window, and I click in it, it crashes with the following error upon a call to
XNextEvent:
X windows Protocol error: BadDrawable (invalid Pixmap or Window parameter)
     Major opcode of failed request:  63
     Minor opcode of failed request: 0
     Resource id in failed request: 0x8
     Serial number of failed request: 351

Is there something I didn't set, a bad event mask, a bad window property?
Any help would greatly be appreciated.


+-----------------+---------------------------+-----------------------------+
| Bill Poitras    | Polygen Corporation       | {princeton mit-eddie        |
|     (bill)      | Waltham, MA USA           |  bu sunne}!polygen!bill     |
|                 |                           | bill@polygen.com            |
+-----------------+---------------------------+-----------------------------+

klee@wsl.dec.com (Ken Lee) (09/28/90)

In article <830@redford.UUCP>, bill@polygen.uucp (Bill Poitras) writes:
|> When I am running a program in X11R4, which has a pixmap stipple in its main
|> window, and I click in it, it crashes with the following error upon a call to
|> XNextEvent:
|> X windows Protocol error: BadDrawable (invalid Pixmap or Window parameter)
|>      Major opcode of failed request:  63
|>      Resource id in failed request: 0x8

63 is XCopyPlane.  0x8 does not look like a valid drawable ID.  You
should check your XCopyPlane requests, or convenience routines that do
XCopyPlane, to make sure the drawable ID's in them are correct.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee