This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Shutdown socket results in cyg_callout_reset assertion
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Joel Eriksson <joel_eriksson_ecos at hotmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 1 Oct 2004 11:14:12 +0200
- Subject: Re: [ECOS] Shutdown socket results in cyg_callout_reset assertion
- References: <BAY17-F24yFJWNUrKVU000116d6@hotmail.com>
On Fri, Oct 01, 2004 at 08:58:37AM +0000, Joel Eriksson wrote:
> Hi,
> I have made a Telnet server in eCos. Everyting is ok in the communication
> but when the server tries to close the connection with the client i get
> following assertion:
>
> ASSERT FAIL: <3>timeout.c[317]cyg_callout_reset() delta is right now, or
> even sooner!
> ASSERT FAIL: <3>timeout.c [ 317] cyg_callout_reset() delta is
> right now, or even sooner!
>
> It does not matter if I close the connection with the shutdown or close
> function. However, if i close the client connection first and then the
> server connection then everyting is ok.
>
> What could this be? Is it possible to close the socket in another way?
>
> I'm using eCos (with FreeBSD stack) on a i386 PC with a 82559 ethernet PCI
> card.
Are you using eCos 2.0 or anoncvs? There was a change to the timer
handling on 2003/05/12 which won't be in 2.0.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss