Denis Vlasenko vda.linux at
Fri Jul 27 12:16:32 UTC 2007

On 7/26/07, Joshua ChaitinPollak <jpollak at> wrote:
> Hello,
> I'm using uclibc in a project and I'm having trouble with sockets.
> Specifically, If I have my application detach (using pthread_detach),
> my server listening on a unix socket seems to only handle one
> connection. Once that connection is terminated, it seems to go into a
> deadlock and client applications lock up as well.

Can you show the code (simplified testcase would be best).

> I assume this is a problem with uclibc because my application works
> fine in my desktop environment using libc.
> What I'm really asking is, are there any known issues with unix
> sockets and uclibc, and is there a way to compile uclibc to output
> debugging information so I can start debugging this? As it is, all I
> can tell is my application hangs.

What do you see in strace, with uclibc and with glibc?

> I'm using 0.9.28, and I'm trying to decide if I want to upgrade to
> or 0.9.29

Makes sense, just to check - maybe it's fixed already

More information about the uClibc mailing list