Re: Xsane 0.43 on IRIX6.5 CORE-dumps

William L. Sebok (wls@astro.umd.edu)
Tue, 9 Nov 1999 18:19:58 -0500 (EST)

Håkan Kvarnström said:
> I compiled and installed Glib/gtk 1.2.26 and Xsane 0.43 on IRIX 6.5
> However, if I try to open the preview window, it dumps with the
> following
> error message:
>
> > xsane hp:/dev/scsi/sc2d6l0
>
> Gdk-ERROR **: BadMatch (invalid parameter attributes)
> serial 2226 error_code 8 request_code 62 minor_code 0

I have seen this error on xsane-0.41 on Solaris 2.6 with Glib/gtk 1.2.26. The
problem manifests itself on machines with a 24 bit graphics card with the
Openwindows X server. By default the server has an 8 bit root window although
a 24 bit visual is available. The preview window seems to try to open a 24 bit
window but doesn't do all of the the right incantations to prevent an X
BadMatch error. The error does not occur if the server is started with the
options to use 24 bits for the root window. I'm not sure if the bug is in
xsane, gtk, or glib.

Bill Sebok Computer Software Manager, Univ. of Maryland, Astronomy
Internet: wls@astro.umd.edu URL: http://www.astro.umd.edu/~wls/

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com