[tor-bugs] #18241 [Tor]: Assert that the event_base is initialized before using it.

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 5 00:47:05 UTC 2016


#18241: Assert that the event_base is initialized before using it.
-------------------------------+------------------------------
 Reporter:  nickm              |          Owner:  nickm
     Type:  enhancement        |         Status:  needs_review
 Priority:  Medium             |      Milestone:
Component:  Tor                |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:  TorCoreTeam201602  |  Actual Points:
Parent ID:                     |         Points:
  Sponsor:                     |
-------------------------------+------------------------------

Comment (by teor):

 When I run `make test` with this branch checked out, I get an infinite
 recursion:
 {{{
 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
 0   test                                0x000000010b5411b4 logv__real + 20
 (log.c:472)
 1   test                                0x000000010b5422e0 log_fn_ + 144
 (log.c:688)
 2   test                                0x000000010b541211 logv__real +
 113 (log.c:487)
 3   test                                0x000000010b5422e0 log_fn_ + 144
 (log.c:688)
 4   test                                0x000000010b541211 logv__real +
 113 (log.c:487)
 5   test                                0x000000010b5422e0 log_fn_ + 144
 (log.c:688)
 }}}
 Unfortunately, I can't work out where it starts, because the backtrace
 only goes down 512 stacks.

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


More information about the tor-bugs mailing list