# Finding error: thread\[thread-per-block\[357\]: \<block queue\_sink (4)\>\]: std::bad\_alloc

**URL:** <https://www.ruby-forum.com/t/finding-error-thread-thread-per-block-357-block-queue-sink-4-std-bad-alloc/240093>\
**Category:** GNU Radio\
**Created:** [March 27, 2014, 6:11am UTC](https://www.ruby-forum.com/t/finding-error-thread-thread-per-block-357-block-queue-sink-4-std-bad-alloc/240093 "2014-03-27T06:11:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [March 27, 2014, 6:11am UTC](https://www.ruby-forum.com/t/finding-error-thread-thread-per-block-357-block-queue-sink-4-std-bad-alloc/240093/1 "2014-03-27T06:11:18Z")

</div>

Dear Gnuradio Community,

I ran my GNURADIO program and got the following error message:

thread[thread-per-block[357]: \<block queue\_sink (4)\>]: std::bad\_alloc

This looks like a memory allocation problem with the scheduler. Has  
anyone seen this before? What would cause this?

Sincerely,  
Tommy James Tracy II  
Ph.D Student  
High Performance Low Power Lab  
University of Virginia  
Phone: 913-775-2241

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [March 27, 2014, 9:43am UTC](https://www.ruby-forum.com/t/finding-error-thread-thread-per-block-357-block-queue-sink-4-std-bad-alloc/240093/2 "2014-03-27T09:43:07Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi Tommy,

as this, I haven’t seen it.  
However, this is really guessing - could you supply a little more  
information (Platform, GR version, OS version etc) and try to do a  
backtrace?  
Since you have problems with low-level and scheduler-related code (and  
if I remember correctly, not the first time), a little information on  
your application as whole and in detail how you use that block would  
obviously be of help 😉

Greetings,  
Marcus

On 27.03.2014 06:09, Tommy T. II wrote:

> Sincerely, Tommy James Tracy II Ph.D Student High Performance Low  
> Power Lab University of Virginia Phone: 913-775-2241
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Discuss-gnuradio  
> mailing list [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1  
Comment: Using GnuPG with Thunderbird - [http://www.enigmail.net/](http://www.enigmail.net/)

iQEcBAEBAgAGBQJTM+Q4AAoJEBQ6EdjyzlHt45cH/12DkjRmR7iDkfmZVABqi3Wa  
h5eQAk6RHOo0VT6Fj0SyjQdc/wfQr0EF4AYs/6ojfJbrRdUJNqLu/xESJEzdTwnF  
OfpWGpmtwzoNKthq1Se0nZf01WYJXDha09OXwArWM3ohr71qjSJBlsxXx+IbxuRD  
wx21WKS7uV03J7ISHZ3yAezh2I9YRxIFgsrQglBJSeHafRpvZ6bm5Q2FBXVvOmfh  
A5op+Zv/w3qQXpsX4BbJHc+K6v5eqSVXAiS/AYgE5Tg9Jc2lMx68jFlrDpCRmqCK  
wbm7+c5qoBE8T15A5ayuaZcf5zCtMvl9naHH2YbRF4WdyAagIB+XeXMaQ/Flkn8=  
=STqV  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [March 27, 2014, 3:29pm UTC](https://www.ruby-forum.com/t/finding-error-thread-thread-per-block-357-block-queue-sink-4-std-bad-alloc/240093/3 "2014-03-27T15:29:14Z")

</div>

* * *

Discuss-gnuradio mailing list  
removed\_email\_address@domain.invalid  
[https://lists.gnu.org/mailman/listinfo/discuss-gnuradio](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

---

<div class="post-metadata">

**Author:** ![Tommy\_TSII](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e56c9b/32.png) [@Tommy\_TSII](https://www.ruby-forum.com/u/Tommy_TSII)\
**Post date:** [March 27, 2014, 10:28pm UTC](https://www.ruby-forum.com/t/finding-error-thread-thread-per-block-357-block-queue-sink-4-std-bad-alloc/240093/4 "2014-03-27T22:28:36Z")

</div>

* * *

Discuss-gnuradio mailing list  
removed\_email\_address@domain.invalid  
[https://lists.gnu.org/mailman/listinfo/discuss-gnuradio](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)
