cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: axTLS + valgrind = sad face

From: Eric Hu <dummycheck2001_at_yahoo.com>
Date: Tue, 21 Dec 2010 11:06:02 -0800 (PST)

> 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 > Ok.  I ran this command (note -v in the valgrind options, also had to build valgrind 3.6.0, as my system was still on 3.3): $ valgrind36 -v ./src/curl -L https://www.sf.net/ -k -v 2>dump with a build that looks like this (lagging versions on components, but otherwise identical, I think): $ ./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 libidn/0.6.14 libssh2/0.18 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 and the exact same output from "git describe --tags."  I ended up with the attached dump file.  There were a couple of memory leaks (possibly not even cURL or axTLS related), but the problems don't look nearly as bad as what's in your dump file.  I thought this might have to do with naming a function "SSL_read" in axtls.c.  Since LDAP pulls in OpenSSL, maybe that reference got linked to the OpenSSL symbol.  However, when I enabled LDAP, I was still unable to reproduce your results. If it makes any difference, this is on a Red Hat FC9 distro. Eric

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

  • application/octet-stream attachment: dump
Received on 2010-12-21