Subject: Re: Bus errors on -current with certain X11 apps
To: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc64
Date: 12/28/2006 15:01:41
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 28, 2006, at 07:31, Jochen Kunz wrote:

> I get similar bus error core dumps with sylpheed-claws, but did't debug
> this.

Hmm, this used to work fine here, just had to fix a 64bit uncleanliness 
in the gpg-plugin, sent the patch to the developers and I think they 
used it.

> Also: Sometimes I get garbeld screen output in some window areas. It is
> easy to reproduce with sylpheed-claws, but I have seen it with xterm
> too. The xterm incident was related to konqueror. Some actions in
> konqueror garbeld the xterm window.

I've occasionally seen stray lines drawn in the wrong window.

> Here is an example of the sylpheed-claws window. It isn't the complete
> window, it is the message list only:
> http://www.unixag-kl.fh-kl.de/~jkunz/tmp/X11_err.png
>
> Maybe this is not a problem of NetBSD, but one of the libs from pkgsrc
> like gtk?

That's a problem with the sunffb driver. Sometimes the hardware freaks 
out like that, I have no idea why and I found no way to reproduce it 
reliably in X. If you find a way please let me know.
I got similar effects when playing with the ffb's alpha blending 
registers and then scrolling in the kernel's ffb driver so I guess some 
lazy register write in X is too lazy or there's a missing membar() 
although IIRC accesses to the ffb are strongly ordered and uncached 
anyway.

> And: Do we have a swap problem? It seems that applications like to
> crash when they get paged / swaped out and back in.

We've had that for a long time, got better about two years ago but 
still happens to some apps, mainly threaded ones.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRZQipcpnzkX8Yg2nAQKlMwf+IXS5zP/E2vkCbc4femZTYTFrJvlednEG
Jj82A/09dWzMNM82MQjtdliar2a5K1wxeePn+t3ZaK6MpZgQrU/e1BLFzBt+FO7w
CZmHWRvhF5FTPl9KdKzABhet4oKOM6Htao6Hgh++IS2SgRq2DmPhqeDavuwUdWAh
tViWKhOE0lFkEatmo8JVBusWJMN2TMmjTIwnac2kqnFXZLhlSb8Rb6UF/4pLxQ/k
Yj48DOw8O316Kp3UaNXq+w14KGMUeNikX9nmCdNTktJHgVJVauoMKFnvnN2aaPlI
Pm/GGRekWWF2N63ATsEcQNcZ5ia6XK97B3NJx5ZIY/v8Xclg0CY8Lg==
=wO0X
-----END PGP SIGNATURE-----