[tor-bugs] #18025 [Tor]: test_util_touch_file is racy and *does* fail
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Jan 9 16:22:30 UTC 2016
#18025: test_util_touch_file is racy and *does* fail
--------------------+------------------------------------
Reporter: weasel | Owner: nickm
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.2.8.x-final
Component: Tor | Version: Tor: 0.2.7.6
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Sponsor: |
--------------------+------------------------------------
Comment (by weasel):
ex #debian-devel:
{{{
<ron> weasel: apparently ext4 uses cached time from inside the kernel that
only gets updated by the timer interrupt.
<ron> so it's probably getting truncated to the previous jiffy.
<ron> which sort of makes sense, you don't really want an expensive time
lookup everytime fs metadata changes.
<ron> but is kinda evil for the use you have here.
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18025#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list