[tor-bugs] #18614 [Core Tor/Tor]: tor uses full cpu when unplugged

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 26 23:44:59 UTC 2016


#18614: tor uses full cpu when unplugged
--------------------------+-----------------------------------
 Reporter:  zqcxobbe      |          Owner:
     Type:  defect        |         Status:  needs_information
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  tor cpu hang  |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+-----------------------------------

Comment (by zqcxobbe):

 Replying to [comment:10 zqcxobbe]:
 > Replying to [comment:9 cypherpunks]:
 > > "Could not attach to process." and/or "ptrace: Operation not
 permitted." too?
 > I don't remember any of that, but I'll check when it happens again.

 I hope that this helps

 {{{
 $ sudo gdb -p 2369

 GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
 Copyright (C) 2014 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64-linux-gnu".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
 For help, type "help".
 Type "apropos word" to search for commands related to "word".
 Attaching to process 2369
 Reading symbols from /usr/bin/tor...(no debugging symbols found)...done.
 Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols
 from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
 Reading symbols from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
 Reading symbols from /lib/x86_64-linux-gnu/libssl.so.1.0.0...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libssl.so.1.0.0
 Reading symbols from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no
 debugging symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
 Reading symbols from /usr/lib/x86_64-linux-gnu/libseccomp.so.2...(no
 debugging symbols found)...done.
 Loaded symbols for /usr/lib/x86_64-linux-gnu/libseccomp.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading
 symbols from /usr/lib/debug//lib/x86_64-linux-
 gnu/libpthread-2.19.so...done.
 done.
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
 Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
 Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols
 from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
 Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols
 from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.19.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
 Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from
 /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done.
 done.
 Loaded symbols for /lib64/ld-linux-x86-64.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging
 symbols found)...done.
 Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading
 symbols from /usr/lib/debug//lib/x86_64-linux-
 gnu/libnss_compat-2.19.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnss_compat.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols
 from /usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.19.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
 Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading
 symbols from /usr/lib/debug//lib/x86_64-linux-
 gnu/libnss_nis-2.19.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnss_nis.so.2
 Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading
 symbols from /usr/lib/debug//lib/x86_64-linux-
 gnu/libnss_files-2.19.so...done.
 done.
 Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2
 0x000056505b2d65b0 in circuit_get_global_list ()
 (gdb) bt
 #0  0x000056505b2d65b0 in circuit_get_global_list ()
 #1  0x000056505b2e27fa in circuit_stream_is_being_handled ()
 #2  0x000056505b2d0878 in ?? ()
 #3  0x000056505b2d429c in circuit_establish_circuit ()
 #4  0x000056505b2e5051 in circuit_launch_by_extend_info ()
 #5  0x000056505b2e5b75 in ?? ()
 #6  0x000056505b2e6422 in connection_ap_handshake_attach_circuit ()
 #7  0x000056505b306cf8 in connection_ap_handshake_rewrite_and_attach ()
 #8  0x000056505b336d3f in ?? ()
 #9  0x00007feed8b0efd3 in ?? ()
    from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
 #10 0x00007feed8b0f0a9 in ?? ()
    from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
 #11 0x00007feed8af2f24 in event_base_loop ()
    from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
 #12 0x000056505b25e49d in do_main_loop ()
 #13 0x000056505b2625ad in tor_main ()
 #14 0x000056505b25b7e9 in main ()
 }}}

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


More information about the tor-bugs mailing list