[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Weird irreproducible error
- From: David Given <dg@...>
- Date: Mon, 08 Oct 2007 23:13:22 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steve Heller wrote:
[...]
> Yes, that would be a good approach if I had an indefinite amount of
> time to find the problem, and it may in fact be the only way. Of
> course, if it is a hardware problem, even that approch won't work.
> However, clearly there is something seriously wrong somewhere either
> in my code, in Lua, or in the Windows environment in which my code is
> running.
Get a copy of memtest86 (if you have an Ubuntu CD handy, just boot from that
and there's an option to start it). That will do a thorough test of your RAM,
if you're worried about hardware problems.
Are you using any DirectX code as part of your program, by any chance? There's
a DirectX bug (well, more of a designed in misfeature) that leaves the FPU in
the wrong mode, which causes Lua's fast truncate-to-int code to produce
incorrect results.
- --
┌── dg@cowlark.com ─── http://www.cowlark.com ───────────────────
│
│ "There does not now, nor will there ever, exist a programming language in
│ which it is the least bit hard to write bad programs." --- Flon's Axiom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHCquCf9E0noFvlzgRAuSZAJ9TBY6vWtV+CAQIa+a9gqcezQOQ3ACg4IS+
MNiEniRSWRuOVeZ356zXaHk=
=zxcV
-----END PGP SIGNATURE-----