# Runtime error from boost 1.52 issue on OSX

**URL:** <https://www.ruby-forum.com/t/runtime-error-from-boost-1-52-issue-on-osx/225328>\
**Category:** GNU Radio\
**Created:** [December 29, 2012, 7:49pm UTC](https://www.ruby-forum.com/t/runtime-error-from-boost-1-52-issue-on-osx/225328 "2012-12-29T19:49:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [December 29, 2012, 7:49pm UTC](https://www.ruby-forum.com/t/runtime-error-from-boost-1-52-issue-on-osx/225328/1 "2012-12-29T19:49:05Z")

</div>

I’m writing to describe an issue, and to provide a workaround, related  
to  
gnuradio with boost 1.52.

I built the current gnuradio repo from source on Mac OSX 10.6.8  
(satisfied  
dependencies using MacPorts). The build went fine, but only 21% of the  
tests were passed with “make test”. The error was always the same (here  
the verbose output is for qa\_max):

46: File  
“/Users/mccoy/gnuradio/gnuradio-core/src/python/gnuradio/gr/qa\_max.py”,  
line 69, in   
46: gr\_unittest.run(test\_max, “test\_max.xml”)  
[… more tracebacks…]  
46: File  
“/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/suite.py”,  
line 93, in run  
46: for test in self:  
46: _RuntimeError: boost thread: thread not joinable: Invalid argument_  
\*  
\*  
The workaround: Downgrade to boost 1.51. All tests passed after the  
downgrade (except for one, unrelated to this issue).

Instructions to use macports to get old ports are available here:  
[https://trac.macports.org/wiki/howto/InstallingOlderPort](https://trac.macports.org/wiki/howto/InstallingOlderPort)

Note: I tried both python 2.6 and 2.7, since it appears, on its face, to  
be  
a python error. The output above comes from python 2.7. Python 2.6  
failed  
even more frequently.

Regards,  
-Mike

---

<div class="post-metadata">

**Author:** ![Michael\_McCoy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7ab992/32.png) [@Michael\_McCoy](https://www.ruby-forum.com/u/Michael_McCoy)\
**Post date:** [December 29, 2012, 7:52pm UTC](https://www.ruby-forum.com/t/runtime-error-from-boost-1-52-issue-on-osx/225328/2 "2012-12-29T19:52:01Z")

</div>

Hi Michael - Quite interesting. I wonder if the Boost folks know about  
this issue; I doubt it was introduced by MacPorts since mostly they just  
replicate the project’s functionality. I had seen some issues recently,  
and had wondered about them; I’ll definitely check into this. Thanks! -  
MLD

---

<div class="post-metadata">

**Author:** ![Michael\_McCoy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7ab992/32.png) [@Michael\_McCoy](https://www.ruby-forum.com/u/Michael_McCoy)\
**Post date:** [December 29, 2012, 8:23pm UTC](https://www.ruby-forum.com/t/runtime-error-from-boost-1-52-issue-on-osx/225328/3 "2012-12-29T20:23:33Z")

</div>

After a bit of sleuthing, it turns out that this was a general Boost  
issue, not just on OSX, discussed on their email list here \<  
[http://boost.2283326.n4.nabble.com/thread-thread-join-throws-in-1-52-0-td4638380.html](http://boost.2283326.n4.nabble.com/thread-thread-join-throws-in-1-52-0-td4638380.html)

> , in their tickets here \< [https://svn.boost.org/trac/boost/ticket/7669](https://svn.boost.org/trac/boost/ticket/7669)  
> , and fixed waiting for 1.53 to be released \<  
> [https://svn.boost.org/trac/boost/changeset/81667](https://svn.boost.org/trac/boost/changeset/81667) \>. So, we don’t want  
> to be using Boost 1.52 with GNU Radio. Any (other) GR developer want to  
> block it in the CMake build system? - MLD

---

<div class="post-metadata">

**Author:** ![Michael\_McCoy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/7ab992/32.png) [@Michael\_McCoy](https://www.ruby-forum.com/u/Michael_McCoy)\
**Post date:** [December 29, 2012, 8:44pm UTC](https://www.ruby-forum.com/t/runtime-error-from-boost-1-52-issue-on-osx/225328/4 "2012-12-29T20:44:35Z")

</div>

On Sat, Dec 29, 2012 at 11:22 AM, Michael D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> After a bit of sleuthing, it turns out that this was a general Boost  
> issue, not just on OSX, discussed on their email list here \<

[http://boost.2283326.n4.nabble.com/thread-thread-join-throws-in-1-52-0-td4638380.html](http://boost.2283326.n4.nabble.com/thread-thread-join-throws-in-1-52-0-td4638380.html)\>,  
in their tickets here \<

> [https://svn.boost.org/trac/boost/ticket/7669](https://svn.boost.org/trac/boost/ticket/7669) \>, and fixed waiting for  
> 1.53 to be released \< [https://svn.boost.org/trac/boost/changeset/81667](https://svn.boost.org/trac/boost/changeset/81667) \>.  
> So, we don’t want to be using Boost 1.52 with GNU Radio. Any (other) GR  
> developer want to block it in the CMake build system? - MLD

I’ll take care of this, thanks for checking it out.

Johnathan
