[dsc] dsc malloc() memory corruption error
Ted Fines
fines at macalester.edu
Tue Feb 23 13:47:57 UTC 2010
Hi,
Thank you. Still having problems, unfortunately.
The source download at
http://dns.measurement-factory.com/tools/dsc/download/dsc-200911111630.tar.gzalready
has the changes you note below in its collector/dsc/Makefile.in. I
also tried the older one at
http://dns.measurement-factory.com/tools/dsc/download/dsc-200801301758.tar.gz,
which didn't have the diff changes you noted. So I patched that one and
make/make installed it, but I get the same malloc error.
However, one way I can get any of the versions to run, without getting the
error, is if I run it with the "-d" debug flag. Whether I do
cd /usr/local/dsc
bin/dsc -d etc/dsc.conf
...or...
/usr/local/dsc/bin/dsc -d /usr/local/dsc/etc/dsc.conf
The program runs correctly, without error and produces the .xml file.
I don't know why that would be -- seems strange to me. Is that any help?
Thanks,
Ted
On Mon, Feb 22, 2010 at 5:01 PM, Duane Wessels <
wessels at measurement-factory.com> wrote:
>
>
>
> 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 @@
> PROG=dsc
> HAPY=../TmfBase/Hapy
> -CFLAGS=-g -Wall -DUSE_IPV6=1 -I $(HAPY)/src/include -I/usr/local/include
> +CFLAGS=-g -Wall
> CPPFLAGS = ${CFLAGS}
> +MYCPPFLAGS = -DUSE_IPV6=1 -I $(HAPY)/src/include -I/usr/local/include
> LDFLAGS += -L/usr/local/lib
> TODAY != date +%Y%m%d
> INSTALLDIR=/usr/local/dsc
> @@ -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