[tor-bugs] #4588 [Tor Relay]: Tor hang on with cpu at 100%

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Nov 27 19:33:21 UTC 2011


#4588: Tor hang on with cpu at 100%
-----------------------+----------------------------------------------------
 Reporter:  stars      |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  critical   |      Milestone:                    
Component:  Tor Relay  |        Version:  Tor: 0.2.3.8-alpha
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by stars):

 here are my starce:

 Loaded symbols for /lib64/ld-linux-x86-64.so.2
 [Thread debugging using libthread_db enabled]
 [New Thread 0x7f9930b78700 (LWP 32140)]
 [New Thread 0x7f9931379700 (LWP 32139)]
 [New Thread 0x7f9931b7a700 (LWP 32138)]
 [New Thread 0x7f993237b700 (LWP 32137)]
 bufferevent_suspend_read (bufev=0x7f992c12d950, what=4) at
 bufferevent.c:72
 72              if (!bufev_private->read_suspended)
 (gdb) bt
 #0  bufferevent_suspend_read (bufev=0x7f992c12d950, what=4) at
 bufferevent.c:72
 #1  0x00007f99347aae47 in _bufferevent_get_rlim_max (bev=<value optimized
 out>)
     at bufferevent_ratelim.c:241
 #2  _bufferevent_get_read_max (bev=<value optimized out>) at
 bufferevent_ratelim.c:263
 #3  0x00007f99349d7834 in do_read (bev_ssl=0x7f992c12d950, n_to_read=0) at
 bufferevent_openssl.c:572
 #4  0x00007f99349d80ea in consider_reading (bev_ssl=0x7f992c12d950) at
 bufferevent_openssl.c:775
 #5  0x00007f99349d8178 in be_openssl_readeventcb (fd=<value optimized
 out>, what=0,
     ptr=0x7f992c12d950) at bufferevent_openssl.c:890
 #6  0x00007f993479f5e3 in event_process_active_single_queue
 (base=0x7f99360a8240,
     activeq=0x7f99360a92a0, max_to_process=<value optimized out>,
 endtime=<value optimized out>)
     at event.c:1407
 #7  0x00007f99347a01b8 in event_process_active (base=0x7f99360a8240,
 flags=<value optimized out>)
     at event.c:1506
 #8  event_base_loop (base=0x7f99360a8240, flags=<value optimized out>) at
 event.c:1709
 #9  0x00007f99352ac5f7 in do_main_loop ()
 #10 0x00007f99352adc8f in tor_main ()
 #11 0x00007f99352a786c in main ()

 (gdb) next
 74              bufev_private->read_suspended |= what;
 (gdb) next
 75              BEV_UNLOCK(bufev);
 (gdb) next
 _bufferevent_get_rlim_max (bev=<value optimized out>) at
 bufferevent_ratelim.c:251
 251                     UNLOCK_GROUP(g);
 (gdb) next
 _bufferevent_get_read_max (bev=0x0) at bufferevent_ratelim.c:264
 264     }
 (gdb) next
 do_read (bev_ssl=0x7f992c12d950, n_to_read=3184) at
 bufferevent_openssl.c:576
 576             n = evbuffer_reserve_space(input, n_to_read, space, 2);
 (gdb) next
 577             if (n < 0)
 (gdb) next
 576             n = evbuffer_reserve_space(input, n_to_read, space, 2);
 580             for (i=0; i<n; ++i) {
 do_read (bev_ssl=0x7f992c12d950, n_to_read=3184) at
 bufferevent_openssl.c:623
 623                             _bufferevent_run_readcb(bev);
 627     }
 consider_reading (bev_ssl=0x7f992c12d950) at bufferevent_openssl.c:786
 786                     n_to_read = SSL_pending(bev_ssl->ssl);
 774             while (n_to_read) {
 786                     n_to_read = SSL_pending(bev_ssl->ssl);
 775                     if (do_read(bev_ssl, n_to_read) <= 0)

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


More information about the tor-bugs mailing list