This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shutdown socket results in cyg_callout_reset assertion


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]