[dsc] dsc malloc() memory corruption error

Duane Wessels wessels at measurement-factory.com
Mon Feb 22 23:01:59 UTC 2010

On Tue, 16 Feb 2010, Ted Fines wrote:

> I have built and installed dsc on a CentOS 5.x (RHEL 5 clone) system running
> kernel 2.6.18-164.6.1.el5 but can't get it to run.  When I try starting dsc
> I get the following malloc() memory corruption error right away (below).  I

Hi Ted,

You weren't the only one with this problem.  See if the attached
patch fixes it for you.

Index: collector/dsc/Makefile.in
--- collector/dsc/Makefile.in	(revision 12012)
+++ collector/dsc/Makefile.in	(revision 12013)
@@ -1,7 +1,8 @@
-CFLAGS=-g -Wall -DUSE_IPV6=1 -I $(HAPY)/src/include -I/usr/local/include
+CFLAGS=-g -Wall
+MYCPPFLAGS = -DUSE_IPV6=1 -I $(HAPY)/src/include -I/usr/local/include
  LDFLAGS += -L/usr/local/lib
  TODAY != date +%Y%m%d
@@ -76,6 +77,7 @@

  ParseConfig.o: ParseConfig.cc $(LIBHAPY)
+	$(CXX) -c -o $@ ${MYCPPFLAGS} ParseConfig.cc

  $(LIBHAPY): $(HAPY)/Makefile
  	@echo $@ is out of date

More information about the dsc mailing list