[Bro-Dev] #534: Leak in DNS resolver

Bro Tracker bro at tracker.bro-ids.org
Wed Aug 3 17:25:28 PDT 2011


#534: Leak in DNS resolver
------------------------+---------------------
 Reporter:  robin       |       Type:  Problem
   Status:  new         |   Priority:  Normal
Milestone:  Bro1.6      |  Component:  Bro
  Version:  git/master  |   Keywords:  BETA
------------------------+---------------------
 I saw the following reported by perftools with the small trace in the
 public testsuite:

 {{{
 Welcome to pprof!  For help, type 'help'.
 (pprof) top
 Total: 14070 objects
     4512  32.1%  32.1%     4512  32.1% BroObj::SetLocationInfo
     Obj.cc:173
     4500  32.0%  64.1%     8975  63.8% ListExpr::ListExpr Expr.cc:4839
     4475  31.8%  95.9%     4475  31.8% safe_malloc util.h:281
      166   1.2%  97.0%      330   2.3% StringVal::StringVal Val.cc:1372
      164   1.2%  98.2%      164   1.2% BroString::Set BroString.cc:147
       97   0.7%  98.9%      291   2.1% LookupHostCallback::Timeout
       bro.bif:2890
       69   0.5%  99.4%      205   1.5% LookupHostCallback::Resolved
       bro.bif:2876
       45   0.3%  99.7%       45   0.3% DNS_Mgr::IssueAsyncRequests
       DNS_Mgr.cc:955
       42   0.3% 100.0%       42   0.3% DNS_Mgr::AddResult DNS_Mgr.cc:695
        0   0.0% 100.0%      414   2.9% EventHandler::Call
        EventHandler.cc:73
        0   0.0% 100.0%      449   3.2% Trigger::EvaluatePending
        Trigger.cc:281
 }}}

 Seth has been running into DNS resolver leaks as well, problem the
 same one. Haven't been able to track this down yet, and unfortunately
 perftools doesn't report the leaks consistnetly.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/534>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list