Re: [Boost-bugs] [Boost C++ Libraries] #11562: Timer (using steady_clock) expires after computer time is set forward on Ubuntu 64-bit

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11562: Timer (using steady_clock) expires after computer time is set forward on Ubuntu 64-bit
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-10-13 06:47:53


#11562: Timer (using steady_clock) expires after computer time is set forward on
Ubuntu 64-bit
---------------------------+----------------------------------------
  Reporter: boriss@… | Owner: viboes
      Type: Bugs | Status: closed
 Milestone: Boost 1.60.0 | Component: thread
   Version: Boost 1.59.0 | Severity: Showstopper
Resolution: fixed | Keywords: steady_clock, Linux 64-bit
---------------------------+----------------------------------------

Comment (by boriss@…):

 We are using 1.59 release sources.
 After adding changes from boost::condition_variable_any (file
 condition_variable.hpp) we get an Segmentation fault error:

 {{{
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x7fffe5bad700 (LWP 3978)]
 0x00007ffff75e859a in
 boost::chrono::detail::duration_cast<boost::chrono::duration<long,
 boost::ratio<1l, 1000000000l> >, boost::chrono::duration<long,
 boost::ratio<1l, 1000000000l> > >::operator() (this=0x0, fd=...)
     at /usr/local/include/boost/chrono/duration.hpp:313
 313 BOOST_CONSTEXPR ToDuration operator()(const FromDuration&
 fd) const
 }}}

 Using gdb debugger we got in backtrace all the time the following print
 out:

 {{{
 at /usr/local/include/boost/thread/pthread/condition_variable.hpp:311
 #1460 0x00007ffff75e0731 in
 boost::condition_variable_any::wait_until<boost::unique_lock<boost::recursive_mutex>,
 boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > >
 (this=0x91b6d0, lock=..., t=...)
 }}}

 After updating also latest boost::chrono from development branch we got
 the same error.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11562#comment:22>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:19 UTC