Bug#704213: reTurn fails to start, exception: thread: Operation not supported

Daniel Pocock daniel at pocock.com.au
Fri Mar 29 14:16:07 UTC 2013


Package: resiprocate-turn-server
Version: 1.8.5-3
Severity: serious


I just upgraded a system from 1.8.5-1 to 1.8.5-3

The reTurnServer process fails to start, this is the log entry when it
fails:

ERR | 20130329-134514.217 | reTurnServer | RETURN | 140737354057504 |
reTurnServer.cxx:167 | exception: thread: Operation not supported


A search reveals the following:

https://sourceforge.net/tracker/?func=detail&aid=3263125&group_id=122478&atid=694037

This seems odd.  Debdiff shows that none of the compile options for
threading have changed.  In fact, no changes to the makefiles or debian
artifacts at all.

It suggests some difference in the build environment where 1.8.5-3 was
created.

Running under gdb, the exception is thrown here:


144	         boost::bind(&asio::io_service::run, &ioService)));
(gdb)
null_thread<boost::_bi::bind_t<unsigned long, boost::_mfi::mf0<unsigned
long, asio::io_service>,
boost::_bi::list1<boost::_bi::value<asio::io_service*> > > > (f=...,
this=<optimized out>)
    at /usr/include/asio/detail/null_thread.hpp:46
46	        asio::error::operation_not_supported, "thread");


This code is only active if !defined(BOOST_HAS_THREADS)


1.8.5-1 was tagged in Aug 2012, need to check if anything has changed
for packages based on boost since then.  This may also impact other
packages based on boost if they are recompiled.


The system where I built 1.8.5-3 for upload appears to have this version
of libboost-thread-dev:

ii  libboost-thread-dev                   1.42.0.1
     amd64        portable C++ multi-threading (default version)

while the latest version in wheezy appears to be v1.49.0.1

It appears to result from this issue:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654425

so this seems to confirm that packages which were built with gcc 4.7
without having boost-dev >= 1.46 may be similarly broken.



More information about the Pkg-voip-maintainers mailing list