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

来源:互联网 发布:淘宝卖家如何屏蔽买家 编辑:程序博客网 时间:2024/05/17 03:40
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 -ashows.  Then try setting -s to something smaller, say 4096,  $ ulimit -s 4094then try running usrp_flex_band.py again.