David Ward - 2008-05-29

Hi all:

We are having a problem whereby the default ostringstream compiler hangs our multi-threaded system. The code is a little complicated, but the threads always hang on:

{
    ...
    ostringstream responseStream;
    ...
}

I looked through the ostringstream constructor and didn't see anything glaringly obvious as to something that would hang our application. Seems to be in a tight CPU loop because no tools (top, etc.) will work and you can't telnet into the host. You can ping the host which means that drivers can still get access to the CPU.

This problem doesn't happen all the time (our application will run the same code repeatedly for 10 minutes or so before it hangs).

STLport5.1.5
Processor - arm
gcc3.3.4

Thanks for any insights.

David