cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: axTLS + valgrind = sad face

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 19 Dec 2010 23:15:54 +0100 (CET)

On Sun, 19 Dec 2010, Eric Hu wrote:

> I'd like to help out with this. Is there a standard way to invoke valgrind
> through the test suite? I see that it gets turned on during the HTTPS
> tests, but am just wondering if you have your own way of running it.

The standard way to run a test case with valgrind is to do nothing, as it
detects and uses valgrind on its own if it finds it. runtests.pl has a -n
optino that _disables_ valgrind even if found...

> However you ran valgrind, what output did you see? I'd like to re-create
> what you've done as closely as possible.

I ran this command line:

  $ valgrind ./src/curl -L https://www.sf.net/ -k -v 2>dump

The attach file is the 'dump' output.

My build looks like this:

$ ./src/curl -V
curl 7.21.4-DEV (i686-pc-linux-gnu) libcurl/7.21.4-DEV axTLS/1.2.7
zlib/1.2.3.4 libidn/1.18 libssh2/1.2.6
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
pop3s rtsp scp sftp smtp smtps telnet tftp
Features: Debug TrackMemory IDN IPv6 Largefile SSL libz

$ git describe --tags
curl-7_21_3-27-g7f3b87d

-- 
  / daniel.haxx.se


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

  • TEXT/PLAIN attachment: dump
Received on 2010-12-19