[haiku-bugs] [Haiku] #12701: Leak checking "noise" caused by libnetapi.so

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Tue, 29 Mar 2016 15:35:39 -0000

#12701: Leak checking "noise" caused by libnetapi.so
---------------------------------------------+-----------------------------
 Reporter:  ttcoder                          |        Owner:  nobody
     Type:  enhancement                      |       Status:  new
 Priority:  normal                           |    Milestone:  R1
Component:  Applications/Command Line Tools  |      Version:
 Keywords:                                   |  R1/Development
 Blocking:                                   |   Blocked By:
 Platform:  All                              |  Has a Patch:  0
---------------------------------------------+-----------------------------
 The simple fact of linking `-l netapi` into an executable, results in 150
 entries popping up in leak_check.sh even if just doing a launch-and-close
 of the program without actually using any network code , presumably due to
 some static variables in that library

 These appear to be one-time "leaks", not recurrent ones, if so they
 wouldn't matter in term of memory usage.

 What this ticket is about though, is this: they make it harder to hunt for
 leaks, as you have to wade through 150 additional entries
 (if I'm wrong about this, let's change component to kit/netkit)

 To solve this, we don't necessarily have to "fix" the leaks per se, but
 instead could enrich the exception-list within leak_checker.sh to take
 those into account, much like it currently takes into account some other
 special cases in the support kit, ICU lib and so on

--
Ticket URL: <https://dev.haiku-os.org/ticket/12701>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: