Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #9644

Closed (moved)
(moved)
Open
Created Sep 02, 2013 by Roger Dingledine@arma

Memory leak in get_cert_list() when the client bootstraps

Running release-0.2.4 (git commit 20d4356c3) as a Tor client. I let it bootstrap its directory info, and then kill it.

==27498== 216 bytes in 9 blocks are definitely lost in loss record 14 of 21
==27498==    at 0x4C28BED: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27498==    by 0x222FE7: tor_malloc_ (util.c:143)
==27498==    by 0x21AC5D: digestmap_new (container.c:1038)
==27498==    by 0x15A63E: get_cert_list (routerlist.c:48)
==27498==    by 0x15B7FD: authority_certs_fetch_missing (routerlist.c:692)
==27498==    by 0x127848: networkstatus_set_current_consensus (networkstatus.c:1724)
==27498==    by 0x1E652B: connection_dir_client_reached_eof (directory.c:1900)
==27498==    by 0x1E7F68: connection_dir_reached_eof (directory.c:2356)
==27498==    by 0x1C2406: connection_handle_read (connection.c:4122)
==27498==    by 0x11DFE0: conn_read_callback (main.c:718)
==27498==    by 0x52D8CCB: event_base_loop (in /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5.1.7)
==27498==    by 0x11E974: do_main_loop (main.c:1987)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking