Re: [Boost-bugs] [Boost C++ Libraries] #8006: Boost::Chrono Assertion at startup

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8006: Boost::Chrono Assertion at startup
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-07 18:22:56


#8006: Boost::Chrono Assertion at startup
----------------------------------------+-----------------------------------
  Reporter: meckschlager@… | Owner: viboes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: chrono
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------+-----------------------------------

Comment (by viboes):

 Replying to [ticket:8006 meckschlager@…]:
> steady_clock::time_point now = steady_clock::now();
> sometimes causes
> Assertion failed: 0 && "Boost::Chrono - Internal Error", file
 C:\Projects\Librari
> es\src\boost\boost_1_48_0\boost/chrono/detail/inlined/win/chrono.hpp,
 line 44
> on Windows XP, boost 1.48

 The code in question is


 {{{
     if ( (nanosecs_per_tic <= 0.0L) ||
             (!boost::detail::win32::QueryPerformanceCounter( &pcount )) )
     {
       BOOST_ASSERT(0 && "Boost::Chrono - Internal Error");
       return steady_clock::time_point();
     }
 }}}

 could you check which condition is true?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8006#comment:3>
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:11 UTC