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]

Re: help in tcp/ip stack !!!


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/


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