[tor-bugs] #23693 [Core Tor/Tor]: 0.3.1.7: Assertion threadpool failed in cpuworker_queue_work

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Oct 2 23:03:58 UTC 2017


#23693: 0.3.1.7: Assertion threadpool failed in cpuworker_queue_work
-------------------------------------------------+-------------------------
 Reporter:  alif                                 |          Owner:  nickm
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.2.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.1.7
 Severity:  Normal                               |     Resolution:
 Keywords:  029-backport 030-backport            |  Actual Points:
  031-backport                                   |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by alif):

 Now, trying to solve my connectivity problem, I installed obfs4proxy from
 the Xenial repository, and coped over the obfs4 bridges from Tor-browser's
 torrc but nothing happened. Still "[notice] While fetching directory info,
 no running dirservers known. Will try again later. (purpose 6)"

 But after I copied the "cached-x" files from Tor browser's Data directory
 to my system and restarting the service, the exception appeared again:

 {{{
 **** several messages pertaining to connecting to bridges **** then
 Oct 03 00:54:12.000 [notice] new bridge descriptor 'XXXX' (cached):
 $FC259A04A328A07FED1413E9FC6526530D9FD87A~NX01 at XX.XX.XX.XX
 Oct 03 00:54:12.000 [notice] new bridge descriptor 'XXXXX' (cached):
 $FE7840FE1E21FE0A0639ED176EDA00A3ECA1E34D~Azadi at XXX.XX.XX.XX
 Oct 03 00:54:12.000 [notice] Delaying directory fetches: Pluggable
 transport proxies still configuring
 Oct 03 00:54:12.000 [notice] Opening Socks listener on /var/run/tor/socks
 Oct 03 00:54:12.000 [notice] Opening Control listener on
 /var/run/tor/control
 Oct 03 00:54:13.000 [err] tor_assertion_failed_(): Bug:
 ../src/or/cpuworker.c:499: cpuworker_queue_work: Assertion threadpool
 failed; aborting. (on Tor 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug: Assertion threadpool failed in
 cpuworker_queue_work at ../src/or/cpuworker.c:499. Stack trace: (on Tor
 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:     /usr/bin/tor(log_backtrace+0x42)
 [0x55fb088902b2] (on Tor 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:
 /usr/bin/tor(tor_assertion_failed_+0x94) [0x55fb088a8904] (on Tor 0.3.1.7
 )
 Oct 03 00:54:13.000 [err] Bug:     /usr/bin/tor(cpuworker_queue_work+0x65)
 [0x55fb0884c395] (on Tor 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:     /usr/bin/tor(consdiffmgr_rescan+0x9a7)
 [0x55fb0883f037] (on Tor 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:     /usr/bin/tor(+0x4ec7d) [0x55fb08776c7d]
 (on Tor 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:     /usr/lib/x86_64-linux-
 gnu/libevent-2.0.so.5(event_base_loop+0x754) [0x7fa5e1eecf24] (on Tor
 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:     /usr/bin/tor(do_main_loop+0x24d)
 [0x55fb08777a4d] (on Tor 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:     /usr/bin/tor(tor_main+0x1c35)
 [0x55fb0877b215] (on Tor 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:     /usr/bin/tor(main+0x19)
 [0x55fb087733c9] (on Tor 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:     /lib/x86_64-linux-
 gnu/libc.so.6(__libc_start_main+0xf5) [0x7fa5e1099f45] (on Tor 0.3.1.7 )
 Oct 03 00:54:13.000 [err] Bug:     /usr/bin/tor(+0x4b41b) [0x55fb0877341b]
 (on Tor 0.3.1.7 )
 }}}

 the files I copied are:
 cached-certs
 cached-descriptors
 cached-descriptors.new
 cached-microdesc-consensus
 cached-microdescs
 cached-microdescs.new

 lines changed in torrc:
 {{{
 ClientTransportPlugin obfs2,obfs3,obfs4,scramblesuit exec
 /usr/bin/obfs4proxy
 #ClientTransportPlugin obfs2,obfs3,ScrambleSuit exec /usr/bin/obfsproxy
 managed
 }}}
 then some obfs4 definitions copied from tor-browser

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


More information about the tor-bugs mailing list