Olivier, Did the sigpipe crash occured while running gdb (or another debugger) ? If yes, that isn't a crash, it's just the debugger warning you there was a sigpipe. Just continue the execution of your code and it should be ok. Try running it out of your debugger and it won't crash. I hope this helps. -Jose