> Can you reproduce it with llvm-gcc-4.2? Yes: % src/lua -e 'io.open("/dev/null"):close()' Bus error It happens when calling the close method, even if I use the ansi target instead of macosx. Can we blame the compiler? :-)