[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #14901 [Tor]: Segfault when calling SETCONF
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs