On 08/05/2012 11:16 PM, Jiri Svoboda wrote: > Jakub wrote: >> #469 tcp crashes during or after the first HTTP request > this problem should be fixed now. > >> My initial idea of what is going on was something along the lines that >> the tcp_sock_recv_fibril() gets scheduled either before the socket is >> fully created or after it is destroyed and hence finds garbage in the >> socket_core_t structure. > Good guess. The problem: when the application closes the socket while > TCP core did not signal end of data from the other side, > tcp_sock_recv_fibril() is still running and will attempt to access > the sock_core_t (when calling tcp_sock_notify_data()i). But the > sock_core_t structure had been freed already.
Thanks for fixing this. Your fix arrived just when I started to look at this earlier today. Jakub _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
