Subject: Re: AMD64 bug testing
To: Peter Seebach <seebs@plethora.net>
From: Quentin Garnier <cube@cubidou.net>
List: current-users
Date: 03/08/2006 03:06:26
--7iH89WndFPCVpQsx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 07, 2006 at 07:16:44PM -0600, Peter Seebach wrote:
> Hi!  This is NOT a NetBSD bug, but I'm really curious as to whether anyon=
e's
> seen it.
>=20
> This program reliably hangs three different AMD64 machines, all of them
> Athlons, and all with nForce4 chipsets.  I would love to know more cases
> where it works or doesn't.  Hangs have been observed under 64-bit Linux
> and 32-bit Windows.
>=20
>         #include <string.h>
>         unsigned char a[4*1024*1024];
>=20
>         int
>         main(void) {
>                 while (1)
>                         memset(a, 0, 4*1024*1024);
>                 return 0;
>         }
>=20
> This program 100% reliably hangs my Athlon64 box.  It takes under 10 seco=
nds
> under Linux, several minutes on Windows.  And no, that doesn't make any s=
ense.
> I don't have any EM64T boxes handy for testing.

The memory is probably failing.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--7iH89WndFPCVpQsx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBRA48ItgoQloHrPnoAQI9EQf7BJLdgK4eLn9MTiXvgbfzXRhmyMjAn36G
ybqG+c2OP9sYGLZX6FXmiRieSolRtMELAcBCBfeBSwGKKjzfx/a1g/QFe3Ws//Pz
jiDUV2UlRk0hM5O8LMZ99IlO6yyyI1VCuVrO/PooEVXJLxm7QB2QVlu2/GnFNAYr
9fgU7yP2tKAZot8rvT4MauNm9+k+5ZLRE3pzMnfG68/7JuxVsEEPITlkBMF7FQfF
8+gVunWEMY7Bo0YIAfYhFT5pCdzggr2L/d/VdwfO+u6k4Di545bdFnfoC60aVxiZ
a3Z+yB44s8ctwGdOaR8NOKvdadYXCWHR5Bc53Hj2vLeEgb6jgKUCTA==
=/W0K
-----END PGP SIGNATURE-----

--7iH89WndFPCVpQsx--