Christian, I've checked your backtraces. All of them look OK. What we need to figure out is how come that write is called after close have been called on a particular instance of tcp_socket_t. Any ideas? Martin