Re: [Boost-bugs] [Boost C++ Libraries] #8006: Boost::Chrono Assertion at startup - steady_clock::now() - Windows

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8006: Boost::Chrono Assertion at startup - steady_clock::now() - Windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-17 11:49:31


#8006: Boost::Chrono Assertion at startup - steady_clock::now() - Windows
-------------------------------+----------------------
  Reporter: meckschlager@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: chrono
   Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by dmitry@…):

 I'm getting this assertion from time to time when use asio::steady_timer
 which in turns uses steady_clock::now(). I've checked under debugger:
 nanosecs_per_tic is positive number (311.0 in my case), so
 QueryPerformanceCounter returns FALSE. GetLastError() in debugger returns
 0, but I'm not sure this is the value set after QueryPerformanceCounter.
 Some googling reveals that the argument to this function must be aligned
 to 64 bit boundary. I've also checked address of the argument - and it
 looks aligned properly.

 No more guesses from me :/

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