terminate called after throwing an instance of 'boost::thread_resource_error' what()

On Sun, Sep 14, 2008 at 08:00:01PM +0000, Nick Foster wrote:
> Hi all,

> Hoping this isn't a naive question. I'm running into Boost errors
> when attempting to run the FLEX decoder, specifically the
> multithreaded instances (usrp_flex_all.py and
> usrp_flex_band.py). Here's the output:

> bistromath@xxx:~/gnuradio/gr-pager/src$ ./usrp_flex_band.py -R A -g 32 -c 13e3 
>>> gr_fir_fff: using SSE 
> terminate called after throwing an instance of 'boost::thread_resource_error' what():
> boost::thread_resource_error Aborted

> So, Boost can't allocate a thread, or a mutex, or a lock, or
> something. It's a pretty ambiguous error.

This particular app has about 525 blocks.
I'm guessing it's exceeding the total limit for stack space in a 
process.

First check what

  $ ulimit -a

shows.  Then try setting -s to something smaller, say 4096,

  $ ulimit -s 4094

then try running usrp_flex_band.py again.

你可能感兴趣的:(thread,Flex,sun,output)