[Prev][Next][Index][Thread]

Re: BSD sockets, and pthreads.



> From: Britt Bolen <bolen@eecs.harvard.edu>
> Subject: BSD sockets, and pthreads.
> 
> The console watching works just fine.  And if we do only the FTP server it
> successfully accepts a connection, but then dies at some, currently,
> unknown point after receiving the first command.

Well, this is not enough information to base a guess on. I suggest you look
at examples/x86/threads/http_proxy.c to see if you spot anything that you
should be doing, or should not be doing.

If it is dying, then perhaps you get a stack backtrace? You can use the
sym-trace program in unsupported/scripts to give you a symbol trace, which
might provide some clues.

Lbs

---------------------------------------------------------------------------
Leigh B. Stoller                     Computer Science - Flux Research Group
stoller@cs.utah.edu                  University of Utah
http://www.cs.utah.edu/~stoller      Salt Lake City, Utah 84112
Voice: (541) 758-6252                FAX: (801) 585-3743
---------------------------------------------------------------------------