[tor-bugs] #14901 [Tor]: Segfault when calling SETCONF
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Feb 14 20:39:52 UTC 2015
#14901: Segfault when calling SETCONF
------------------------+-----------------
Reporter: atagar | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: Tor | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
------------------------+-----------------
Comment (by yawning):
This is a easy one. There is one, and only one place where we call
cpuworker.c:`cpu_init()`, which is in main.c:`do_main_loop()`:
{{{
if (server_mode(get_options())) {
/* launch cpuworkers. Need to do this *after* we've read the onion
key. */
cpu_init();
}
}}}
Your reproduction examples is starting tor as a client, so the
initialization is never done.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14901#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list