Unfortunatly I have run your test program for five minutes without problem.
I think we?re getting close. I suspect you didn?t link the binary static?
With same object file and othervise same link line, if I remove -static it runsfine,
if I link the binary with -static it fails within a first few seconds.
Now, thread guru?s, what happens differently when running statically linked
binary? It?s compiled and linked and run on the same box than the non-staticone.