cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Test Suite using Valgrind

From: David Jensen <djensen_at_inebraska.com>
Date: Wed, 2 Feb 2005 14:58:32 +0000 (UTC)

Daniel Stenberg <daniel-curl <at> haxx.se> writes:

>
> On Wed, 2 Feb 2005, Randy McMurchy wrote:
>
> > You can find the results from the tests at:
> > http://www.linuxfromscratch.org/~randy/curl-7.13.0/
>
> Oh. Can you rerun configure with --disable-shared and rerun the tests? It
> looks like this is a leak in bash and I normally build by development verisons
> of curl with --disable-shared and then it doesn't use bash to run the
> programs... It would be interesting to know if you can get rid of the errors
> this way.
>

My errors are similar to Randy, but I get 36 bytes lost.
disable-shared probably fixed the 27 Randy was getting, but I have 9 bytes
remaining lost on 222 of 239 tests.
==18732== 9 bytes in 1 blocks are definitely lost in loss record 1 of 1
==18732== at 0x1B904B8D: malloc (vg_replace_malloc.c:131)
==18732== by 0x1BA89C36: _nl_normalize_codeset (l10nflist.c:342)
==18732== by 0x1BA84290: _nl_load_locale_from_archive (loadarchive.c:174)
==18732== by 0x1BA832E4: _nl_find_locale (findlocale.c:106)
==18732== by 0x1BA82C32: setlocale (setlocale.c:312)
==18732== by 0x804E817: main (main.c:2961)
==18732==

my glibc is from 2004-12-20
GNU C Library stable release version 2.3.4, by Roland McGrath et al.
Compiled by GNU CC version 3.4.3.
Compiled on a Linux 2.6.10 system on 2005-01-10.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.

---
David Jensen
Received on 2005-02-02