[tor-bugs] #21682 [Core Tor/Tor]: memory leak at shutdown

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 8 10:18:42 UTC 2017


#21682: memory leak at shutdown
------------------------------+------------------------------
     Reporter:  cypherpunks   |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:  Tor: unspecified
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 =================================================================
 ==2636==ERROR: LeakSanitizer: detected memory leaks

 Direct leak of 7 byte(s) in 1 object(s) allocated from:
     #0 0x5566c0999f40 in __interceptor_strdup (/home/reince/tor-
 browser_en-US/Browser/TorBrowser/Tor/tor+0x4f0f40)
     #1 0x5566c0ec9125 in tor_strdup_
 /home/reince/tor/src/common/util.c:280:15
     #2 0x5566c0cfe147 in config_get_assigned_option
 /home/reince/tor/src/or/confparse.c:690:17
     #3 0x5566c0ccd659 in option_get_assignment
 /home/reince/tor/src/or/config.c:2299:10
     #4 0x5566c0d77484 in handle_control_getconf
 /home/reince/tor/src/or/control.c:1033:31
     #5 0x5566c0d77484 in connection_control_process_inbuf
 /home/reince/tor/src/or/control.c:5032
     #6 0x5566c0d35eba in connection_process_inbuf
 /home/reince/tor/src/or/connection.c:4476:14
     #7 0x5566c0d2596b in connection_handle_read_impl
 /home/reince/tor/src/or/connection.c:3451:7
     #8 0x5566c0d2596b in connection_handle_read
 /home/reince/tor/src/or/connection.c:3492
     #9 0x5566c0a44791 in conn_read_callback
 /home/reince/tor/src/or/main.c:733:7
     #10 0x7f3842c871fc in event_persist_closure
 /home/reince/libevent/event.c:1580:9
     #11 0x7f3842c871fc in event_process_active_single_queue
 /home/reince/libevent/event.c:1639

 SUMMARY: AddressSanitizer: 7 byte(s) leaked in 1 allocation(s).

 just once when shutting down
 libevent c199df7bc78824ff579ff34c5f9f922034e8fa31
 tor efa5bbaba07d20d1aacff7d1d2a5fe08a6ec2d72

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


More information about the tor-bugs mailing list