This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem with using Two Cgi

Other Parts Discussed in Thread: TM4C129XNCZAD

Hi

I've create a project with HTTP server and i use Two CGI functions one used to pend on mailBox while the other Will post message in the same mail box , firstly i call the pending CGI and Dchild task will created and displayed status on ROV of this task is blocked on Mail box , when i'm trying to call the second CGI the second Dchild task will not created and NDK will be blocked, i need to know why the second dchild task didn't created and if you have another idea about receiving and transmitting from / to http client,

I used TI-RTOS 2.1.0.3,       NDK 2.23.2.3  ,   platform TM4C129XNCZAD

Thanks

Marwa

    

  • Hi Marwa,

    I will need more info so I can help you. Are you building a TI provided example or is this your own application ? If its your own application, can you summarize your application design (and possibly even share your app) ?

    You mentioned that when you call the second CGI, the dchild task was not created. It is possible that your application ran out of heap. Do you get a "out of heap" error msg ? You may also want to check SysMin buffer contents in ROV for an error msg. If the application did not exit then the msg will not get flushed and will be in the SysMin buffer. Depending on the type of heap (HeapMem, HeapBuf, ...) you can also check the heap's detailed ROV view to determine how much free heap space is available and if it is enough to create a new dchild thread.

    Best,
    Ashish