[tor-bugs] #21312 [Obfuscation/Snowflake]: snowflake-client is pegged at 100% cpu

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 17 00:39:38 UTC 2017


#21312: snowflake-client is pegged at 100% cpu
-----------------------------------+------------------------
 Reporter:  arlolra                |          Owner:  (none)
     Type:  defect                 |         Status:  new
 Priority:  Medium                 |      Milestone:
Component:  Obfuscation/Snowflake  |        Version:
 Severity:  Normal                 |     Resolution:
 Keywords:                         |  Actual Points:
Parent ID:                         |         Points:
 Reviewer:                         |        Sponsor:
-----------------------------------+------------------------

Comment (by dcf):

 Thanks yawning.

 Here are backtraces from another case from today, this time with debugging
 symbols. In this case there were 89 threads and 168 fds.
   attachment:20170816-thread-apply-all-bt.txt

 Most of the backtraces are in one of two patterns.
  * 27 threads
    {{{
 #0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
 ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
 #1  0x000000000063c9de in rtc::Event::Wait(int) ()
 #2  0x000000000088833a in webrtc::EventWrapperImpl::Wait(unsigned long) ()
 #3  0x000000000087ac0d in webrtc::ProcessThreadImpl::Process() ()
 #4  0x000000000063e837 in rtc::PlatformThread::Run() ()
 #5  0x000000000063e786 in rtc::PlatformThread::StartThread(void*) ()
 #6  0x00007fcf4b70a494 in start_thread (arg=0x7fcebc5f6700) at
 pthread_create.c:333
 #7  0x00007fcf4aba2a8f in clone () at
 ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
 }}}
  * 50 threads
    {{{
 #0  0x00007fcf4ab9b383 in select () at ../sysdeps/unix/syscall-
 template.S:84
 #1  0x0000000000688e48 in rtc::PhysicalSocketServer::Wait(int, bool) ()
 #2  0x000000000063b3b1 in rtc::MessageQueue::Get(rtc::Message*, int, bool)
 ()
 #3  0x0000000000639a72 in rtc::Thread::Run() ()
 #4  0x0000000000639783 in rtc::Thread::PreRun(void*) ()
 #5  0x00007fcf4b70a494 in start_thread (arg=0x7fcead7ea700) at
 pthread_create.c:333
 #6  0x00007fcf4aba2a8f in clone () at
 ../sysdeps/unix/sysv/linux/x86_64/clone.S:97
 }}}

 {{{

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


More information about the tor-bugs mailing list