Wiso Sparbuch terminates with: X Error of failed request ..

Andreas Mohr Usenet 08/01 vooe7o001 at sneakemail.com
Tue Sep 4 04:03:16 CDT 2001


Stefan Leichter <Stefan.Leichter at camline.com> wrote:
> Dies ist eine mehrteilige Nachricht im MIME-Format.
> --------------4E9D44A6D76D5992AA96D406
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: quoted-printable

> Andreas Mohr Usenet 08/01 wrote:

>> > [AppDefaults\\wiso2001.exe\\x11drv]
>> > "Managed" =3D3D "Y"
>> > "Desktop" =3D3D "N"
>> > "Synchronous" =3D3D "Y"
>> Good.
> Yes, i have been reading cemw for some years ;-)
It shows ;-)

>> Ah.
>> Problem in graphics/x11drv/dib.c.
>> Add lotsa TRACEs there in order to find out where/how exactly XGetImage=
> ()
>> gets called in there (it's slightly non-obvious), and then in order to
>> find out which parameter of XGetImage() exactly is busted.
>> I don't have much experience in correcting BadMatch errors, though.

> When adding the TRACEs i found the failing function is XGetSubImage in th=
> e "case 8". I will try to
Ah, good.
Have you tried to find out which of these parameters is wrong ?
(just have a printout of several calls of this code part, including the call
that bombed, and compare them... should help)

> find some references for the function tomorrow, or knows somebody from th=
> e trace what the problem
> is?
Nope, but:
man XGetSubImage ;-))

andi at andi:/usr/local/src/wine$ loc XGetSubImage
/usr/X11R6/man/man3/XGetSubImage.3x.gz
andi at andi:/usr/local/src/wine$ dpkg -S /usr/X11R6/man/man3/XGetSubImage.3x.gz
xlibs-dev: /usr/X11R6/man/man3/XGetSubImage.3x.gz

DIAGNOSTICS
       BadMatch  An InputOnly window is used as a Drawable.

       BadMatch  Some argument or pair of arguments has the cor-
                 rect type and range but fails to match in some
                 other way required by the request.

Hmm, I guess putting a sleep(60); before the BadMatching XGetSubImage
and using xwininfo on the window it wants to use might help to find out
stuff...

> trace:bitmap:X11DRV_DIB_SetImageBits case 8:
> trace:bitmap:X11DRV_DIB_SetImageBits XGetSubImage: 0x08056f58 0x06400014 1 21 544 2 -1 2 0x08090a60 1 21
Hmm, nothing too obvious here. Upon first glance, all parameter values seem
to be about right.
I guess the dimensions could be wrong, e.g. 1x21 fits into the src drawable,
but not into the dst image (or the other way around).
Try playing with the dimension values ("fixing" them on the fly) to possibly
find out whether that's the problem.

> X Error of failed request:  BadMatch (invalid parameter attributes)
>   Major opcode of failed request:  73 (X_GetImage)
>   Serial number of failed request:  4579
>   Current serial number in output stream:  4579

Oh yeah, and did I mention that I hate BadMatch errors ?
It's a bit difficult to find out what's going on...

-- 
Andreas Mohr, Renningen, Germany
In case you need to contact me after expiry of temporary email address:
my real address is (initial of first name).(last name)@mailto.de



More information about the wine-users mailing list