This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: BSD socket stall
- From: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- To: <henry dot mahler at timedomain dot com>, <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 14 Sep 2012 16:19:41 +0200
- Subject: RE: [ECOS] BSD socket stall
- References: <504b83c0.056f650a.2700.0bdd@mx.google.com>,<BAY146-W727B35516EEA4449F4ECCE4910@phx.gbl>,<CAH0LssZ1+fGEESuzmZuRn0G+8D+yOcSaXu8ZBXruR36OUzdQxQ@mail.gmail.com>,<BAY146-W9C5D5C6B2F90532E65A51E4900@phx.gbl>
Ok Henry,
I tried it in the debugger, and the Mutex is really missing, so this could easily cause a deadlock as you described.
I updated the Bug# 1001656 to include this fix: The same bug is in soreceive() and shutdown(SHUT_RD/SHUT_RDWR) too.
Could you do me a favor please, and try the new BSD stack together with the previous version
of your Software, and tell me if this fixes the problem now?
Thanks
Bernd.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss