If I use a Java6 JVM I do *not* see the problem, even on 32-bit Ubuntu.
So there is some interplay of Java7, LUA and 32-bit Ubuntu that triggers the bug. I guess it is possible that this is a JVM bug, but the fact remains that if I use a vanilla lua build rather than the Ubuntu lua build my problem goes away, even on Java7.
My initial report was not entirely accurate.
If I use a Java6 JVM I do *not* see the problem, even on 32-bit Ubuntu.
So there is some interplay of Java7, LUA and 32-bit Ubuntu that triggers the bug. I guess it is possible that this is a JVM bug, but the fact remains that if I use a vanilla lua build rather than the Ubuntu lua build my problem goes away, even on Java7.