> What would cause a program to seg fault when the output is redirected > to a file but run file otherwise? We could all try to come up with clever answers ... or you could tell us how you did it (what compiler, what platform, test case etc).