[tor-bugs] #8718 [Tor]: memory leak whenever a config change happens

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 17 15:08:49 UTC 2013


#8718: memory leak whenever a config change happens
--------------------+-------------------------------------------------------
 Reporter:  arma    |          Owner:     
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:     
Component:  Tor     |        Version:     
 Keywords:          |         Parent:     
   Points:          |   Actualpoints:     
--------------------+-------------------------------------------------------
 {{{
 ==10870== 10 bytes in 1 blocks are definitely lost in loss record 1 of 27
 ==10870==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
 ==10870==    by 0x5FDEB41: strdup (strdup.c:43)
 ==10870==    by 0x22111D: tor_strdup_ (in /usr/sbin/tor)
 ==10870==    by 0x1B8C04: config_get_assigned_option (in /usr/sbin/tor)
 ==10870==    by 0x1B580A: set_options (in /usr/sbin/tor)
 ==10870==    by 0x1B70FC: options_trial_assign (in /usr/sbin/tor)
 ==10870==    by 0x1D3FCD: control_setconf_helper (in /usr/sbin/tor)
 ==10870==    by 0x1D7584: connection_control_process_inbuf (in
 /usr/sbin/tor)
 ==10870==    by 0x1C11CC: connection_handle_read (in /usr/sbin/tor)
 ==10870==    by 0x11DEA0: conn_read_callback (in /usr/sbin/tor)
 ==10870==    by 0x52D8CCB: event_base_loop (in /usr/lib/x86_64-linux-
 gnu/libevent-2.0.so.5.1.7)
 ==10870==    by 0x11E834: do_main_loop (in /usr/sbin/tor)
 ==10870==
 ==10870== 42 bytes in 1 blocks are definitely lost in loss record 13 of 27
 ==10870==    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
 ==10870==    by 0x220DE7: tor_malloc_ (in /usr/sbin/tor)
 ==10870==    by 0x216DF2: smartlist_join_strings2 (in /usr/sbin/tor)
 ==10870==    by 0x1B8C9A: config_get_assigned_option (in /usr/sbin/tor)
 ==10870==    by 0x1B580A: set_options (in /usr/sbin/tor)
 ==10870==    by 0x1B70FC: options_trial_assign (in /usr/sbin/tor)
 ==10870==    by 0x1D3FCD: control_setconf_helper (in /usr/sbin/tor)
 ==10870==    by 0x1D7584: connection_control_process_inbuf (in
 /usr/sbin/tor)
 ==10870==    by 0x1C11CC: connection_handle_read (in /usr/sbin/tor)
 ==10870==    by 0x11DEA0: conn_read_callback (in /usr/sbin/tor)
 ==10870==    by 0x52D8CCB: event_base_loop (in /usr/lib/x86_64-linux-
 gnu/libevent-2.0.so.5.1.7)
 ==10870==    by 0x11E834: do_main_loop (in /usr/sbin/tor)
 }}}

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


More information about the tor-bugs mailing list