[ECOS] help in tcp/ip stack !!!

Jonathan Larmour jlarmour@redhat.com
Thu Jun 7 21:14:00 GMT 2001


wangwei wrote:
> 
> Hi, Jonathan:
> I trace it , and find a strange thing .
> Before the memory exception happen , there are not any threads in the thread
> queue ,system is runing  a thread which not exist . I trace the variable
> "queue_map", and find :
>      before that , system put idle thread  to sleep and give zero to
> "queue_map", and make NONE thread in the
>      running  queue .
> At that time , I just connected one tcp to ecos , and the function
> cyg_thread_delete hadn't run,ecos application is just doing write(),send
> something through tcp . So I'm sure that the exception is not caused by the
> application .
> 
> I think you maybe met this before , when you disigned ecos . because there
> are many assertions about queue_map in the source code of mlqueue.cxx.
> Can you give me some advice .It 's very important to me.

Have you enabled assertions yourself? It sounds like you haven't then.
Enable CYGPKG_INFRA_DEBUG in your configuration.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/



More information about the Ecos-discuss mailing list