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

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Nov 27 20:09:30 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):

 a new one after a new crash a bit different:

 Loaded symbols for /lib64/ld-linux-x86-64.so.2
 [Thread debugging using libthread_db enabled]
 [New Thread 0x7fab07103700 (LWP 4997)]
 [New Thread 0x7faafffff700 (LWP 4996)]
 [New Thread 0x7fab07904700 (LWP 4995)]
 [New Thread 0x7fab08105700 (LWP 4994)]
 0x00007fab0a50b410 in _evbuffer_read_setup_vecs at plt () from
 /usr/local/lib/libevent-2.1.so.1
 (gdb) bt
 #0  0x00007fab0a50b410 in _evbuffer_read_setup_vecs at plt () from
 /usr/local/lib/libevent-2.1.so.1
 #1  0x00007fab0a5172de in evbuffer_reserve_space (buf=0x7fab0eac8e30,
 size=0, vec=0x7fff46d63fa0,
     n_vecs=2) at buffer.c:651
 #2  0x00007fab0a74984e in do_read (bev_ssl=0x7fab0df23260, n_to_read=2960)
     at bufferevent_openssl.c:576
 #3  0x00007fab0a74a0ea in consider_reading (bev_ssl=0x7fab0df23260) at
 bufferevent_openssl.c:775
 #4  0x00007fab0a74a178 in be_openssl_readeventcb (fd=<value optimized
 out>, what=0,
     ptr=0x7fab0df23260) at bufferevent_openssl.c:890
 #5  0x00007fab0a5115e3 in event_process_active_single_queue
 (base=0x7fab0cd30240,
     activeq=0x7fab0cd312a0, max_to_process=<value optimized out>,
 endtime=<value optimized out>)
     at event.c:1407
 #6  0x00007fab0a5121b8 in event_process_active (base=0x7fab0cd30240,
 flags=<value optimized out>)
     at event.c:1506
 #7  event_base_loop (base=0x7fab0cd30240, flags=<value optimized out>) at
 event.c:1709
 #8  0x00007fab0b01e5f7 in do_main_loop ()
 #9  0x00007fab0b01fc8f in tor_main ()
 #10 0x00007fab0b01986c in main ()

 (gdb) next
 Single stepping until exit from function _evbuffer_read_setup_vecs at plt,
 which has no line number information.
 _evbuffer_read_setup_vecs (buf=0x7fab0eac8e30, howmuch=0,
 vecs=0x7fff46d63fa0, n_vecs_avail=2,
     chainp=0x7fff46d63f48, exact=0) at buffer.c:2037
 2037    {
 2042            ASSERT_EVBUFFER_LOCKED(buf);
 2044            if (howmuch < 0)
 2049            firstchainp = buf->last_with_datap;
 2050            if (CHAIN_SPACE_LEN(*firstchainp) == 0) {
 2051                    firstchainp = &(*firstchainp)->next;
 2055            for (i = 0; i < n_vecs_avail && so_far < (size_t)howmuch;
 ++i) {
 2065            *chainp = firstchainp;
 2067    }
 evbuffer_reserve_space (buf=0x7fab0eac8e30, size=<value optimized out>,
 vec=0x7fff46d63fa0, n_vecs=2)
     at buffer.c:656
 656             EVBUFFER_UNLOCK(buf);
 659     }
 do_read (bev_ssl=0x7fab0df23260, n_to_read=2960) at
 bufferevent_openssl.c:577
 577             if (n < 0)
 576             n = evbuffer_reserve_space(input, n_to_read, space, 2);
 580             for (i=0; i<n; ++i) {
 do_read (bev_ssl=0x7fab0df23260, n_to_read=2960) at
 bufferevent_openssl.c:623
 623                             _bufferevent_run_readcb(bev);
 627     }
 consider_reading (bev_ssl=0x7fab0df23260) at bufferevent_openssl.c:786
 786                     n_to_read = SSL_pending(bev_ssl->ssl);
 774             while (n_to_read) {

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


More information about the tor-bugs mailing list