EDEADLK and recvfrom(2), connect(2), and/or socket(2)

Ernest H. Rice, III ehr3 at ehr3.com
Tue Jun 3 12:05:06 PDT 2003


I have a network application which has been ported to several Unixes, 
including SVR4, UW711, AIX, HP-UX, SunOs, Linux, etc.

When ported to FreeBSD, it dies periodically with EDEADLK (errno 11).
I have attempted to isolate the problem. So far it has eluded me since the 
application may run for days - even weeks - before failing. 

The application runs for months under other Unixes, and has never died with 
EDEADLK (or the old EAGAIN).

The program in question opens sockets, connects to services, etc. Much like a 
ping would.

If anyone can shed some light on how to approach debugging this it would be 
greatly appreciated!

Ernie Rice


More information about the freebsd-ports mailing list