Re: [ovs-dev] [PATCH 1/2] ovs-ctl: Add support for glibc malloc debugging.

2012-10-01 Thread Ben Pfaff
On Mon, Oct 01, 2012 at 01:28:40PM -0700, Justin Pettit wrote: > On Oct 1, 2012, at 11:03 AM, Ben Pfaff wrote: > > > +glibc) > > +set env MALLOC_CHECK_=2 MALLOC_PERTURB_=165 "$@" > > It may be worth mentioning in the man page that this configuration > of MALLOC_CHECK_ may cau

Re: [ovs-dev] [PATCH 1/2] ovs-ctl: Add support for glibc malloc debugging.

2012-10-01 Thread Justin Pettit
On Oct 1, 2012, at 11:03 AM, Ben Pfaff wrote: > +glibc) > +set env MALLOC_CHECK_=2 MALLOC_PERTURB_=165 "$@" It may be worth mentioning in the man page that this configuration of MALLOC_CHECK_ may cause the system to crash if there are memory problems. --Justin ___

[ovs-dev] [PATCH 1/2] ovs-ctl: Add support for glibc malloc debugging.

2012-10-01 Thread Ben Pfaff
Unlike valgrind, glibc's built-in features for malloc debugging are cheap enough that one can run with them enabled all the time, at least in test scenarios. Signed-off-by: Ben Pfaff --- utilities/ovs-ctl.8 |8 +++- utilities/ovs-lib.in |3 +++ 2 files changed, 10 insertions(+), 1 d