Opened 7 months ago

Closed 2 weeks ago

#21356 closed defect (fixed)

[0.2.9.9] Bug: compat_time.c: monotime_coarse_absolute_nsec() called before monotime_init() on windows service

Reported by: cypherpunks Owned by: nickm
Priority: Medium Milestone: Tor: 0.3.0.x-final
Component: Core Tor/Tor Version:
Severity: Minor Keywords: windows, 029-backport
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by dgoulet)

[notice] Bootstrapped 85%: Finishing handshake with first hop
[warn] tor_bug_occurred_(): Bug: compat_time.c:636: monotime_coarse_absolute_nsec: Non-fatal assertion !(monotime_initialized == 0) failed. (on Tor 0.2.9.9 )
[warn] Bug: Non-fatal assertion !(monotime_initialized == 0) failed in monotime_coarse_absolute_nsec at compat_time.c:636. (Stack trace not available) (on Tor 0.2.9.9 )
[notice] Bootstrapped 90%: Establishing a Tor circuit

type: Win32 Tor service
result: show error only. Can connect to internet without problem.

Child Tickets

Change History (8)

comment:1 Changed 7 months ago by dgoulet

Description: modified (diff)
Keywords: windows added
Milestone: Tor: 0.3.0.x-final
Type: taskdefect

comment:2 Changed 7 months ago by nickm

Keywords: 029-backport added
Severity: NormalMinor
Summary: [0.2.9.9] Bug: compat_time.c[0.2.9.9] Bug: compat_time.c: monotime_coarse_absolute_nsec() called before monotime_init() on windows service

I bet that this being a service is something to do with this.

(This bug is not actually harmful, but we should fix it anyway).

comment:3 Changed 7 months ago by nickm

Owner: set to nickm
Status: newaccepted

bug21356_029 should be a straightforward fix here.

comment:4 Changed 7 months ago by nickm

Status: acceptedneeds_review

comment:5 Changed 7 months ago by teor

Status: needs_reviewmerge_ready

It seems correct to me, and it's good that it's after logging.
Let's bake it in master for a while before a backport?

comment:6 Changed 7 months ago by nickm

Milestone: Tor: 0.3.0.x-finalTor: 0.2.9.x-final

ok, merged!

comment:7 Changed 3 months ago by nickm

Keywords: windows 029-backportwindows, 029-backport

comment:8 Changed 2 weeks ago by nickm

Milestone: Tor: 0.2.9.x-finalTor: 0.3.0.x-final
Resolution: fixed
Status: merge_readyclosed

Not backporting.

Note: See TracTickets for help on using tickets.