Overview
| Artifact ID: | 1f3c737a678e851169a9a3d83b8caaf4cb091e1c |
|---|---|
| Ticket: | 3544685fffffffffffffffffffffffffffffffff
Threaded build failures on OpenBSD-current |
| User & Date: | ferrieux on 2012-07-27 05:44:54 |
Changes
- icomment:
Update: updated snippet and new ktrace by Stu; still no repro, but show something interesting by contrast: In fact, the Tcl sequence of syscalls does *not* include clock_gettime ! It is only based on gettimeofday. 1342727996.861547 CALL gettimeofday(0xcfbe1788,0) 1342727996.861558 STRU struct timeval { "Jul 19 15:59:56 2012".861555 } 1342727996.861565 RET gettimeofday 0 1342727996.861574 CALL __thrsleep(0x2e62abe0,CLOCK_REALTIME,0xcfbe17e4,0x83596ea0,0x2e62ac78) 1342727996.861584 STRU struct timespec { "Jul 19 15:59:56 2012".951731000 } *** 500ms delay, 400ms late !!! *** 1342727997.361283 RET __thrsleep 35/0x23 1342727997.361400 CALL gettimeofday(0xcfbe17d8,0) 1342727997.361430 STRU struct timeval { "Jul 19 15:59:57 2012".361426 } 1342727997.361441 RET gettimeofday 0 So for some reason Tcl trusts gettimeofday and pthread_cond_timedwait' s absolute target to be congruent. Maybe that plays a role in the bug. The log above shows another strange phenomenon (as if Time itself had slipped), but the analysis is muddied by the fact that we don't know which of the two clocks feeds the ktrace timestamps... - login: "ferrieux"
- mimetype: "text/plain"
- priority changed to: "8"
- username: "ferrieux"