[tor-bugs] #21035 [Core Tor/Tor]: Assertion in 0.2.9.8: monotime_coarse_get

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Dec 23 12:46:07 UTC 2016


#21035: Assertion in 0.2.9.8: monotime_coarse_get
--------------------------+------------------------------------
 Reporter:  tmpname0901   |          Owner:  nickm
     Type:  defect        |         Status:  needs_review
 Priority:  Medium        |      Milestone:  Tor: 0.2.9.x-final
Component:  Core Tor/Tor  |        Version:  Tor: 0.2.9.8
 Severity:  Normal        |     Resolution:
 Keywords:  regression    |  Actual Points:  .1
Parent ID:                |         Points:  .2
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by nickm):

 Replying to [comment:14 yawning]:

 > Somewhat related, I think the tests will fail to compile on U*IX systems
 that lack `CLOCK_MONOTONIC_COARSE` entirely.
 (`test_util.c:test_util_monotonic_time()` calls `monotime_coarse_get()`
 which is behind a `#ifdef`).

 Ah, but in compat_time.h, we have:
 {{{
 #if defined(MONOTIME_COARSE_FN_IS_DIFFERENT)
 void monotime_coarse_get(monotime_coarse_t *out);
  ...
 #else
 #define monotime_coarse_get monotime_get
  ...
 #endif
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21035#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list