[tor-bugs] #4251 [Tor Hidden Services]: memory leak for hidden service?

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Oct 17 19:34:47 UTC 2011


#4251: memory leak for hidden service?
---------------------------------+------------------------------------------
 Reporter:  arma                 |          Owner:     
     Type:  defect               |         Status:  new
 Priority:  normal               |      Milestone:     
Component:  Tor Hidden Services  |        Version:     
 Keywords:                       |         Parent:     
   Points:                       |   Actualpoints:     
---------------------------------+------------------------------------------
 I ran moria1 under valgrind and it identified the following leak:
 {{{
 ==29415== 80 bytes in 1 blocks are definitely lost in loss record 38 of
 206
 ==29415==    at 0x4C244E8: malloc (vg_replace_malloc.c:236)
 ==29415==    by 0x4D3A07: _tor_malloc (util.c:144)
 ==29415==    by 0x4D4EC5: _tor_malloc_zero (util.c:170)
 ==29415==    by 0x42C579: rend_services_introduce (rendservice.c:1347)
 ==29415==    by 0x46CFB2: circuit_build_needed_circs (circuituse.c:708)
 ==29415==    by 0x40C644: second_elapsed_callback (main.c:1412)
 ==29415==    by 0x52C9343: event_base_loop (in
 /usr/lib/libevent-1.4.so.2.1.3)
 ==29415==    by 0x409990: do_main_loop (main.c:1889)
 ==29415==    by 0x409CCC: tor_main (main.c:2570)
 ==29415==    by 0x5F10C4C: (below main) (libc-start.c:228)
 }}}

 I haven't checked yet if it's a false positive, but usually there's
 something wrong in these cases. To be clear, moria1 runs a hidden service
 too.

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


More information about the tor-bugs mailing list