> ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 17 Dec 2015 14:24:07 -0600 > From: [email protected] > To: [email protected] > Subject: Re: Getting Segmentation Fault from curl_multi_perform() when > I add data > Message-ID: > <of2351debf.608739e8-on86257f1e.006fb511-86257f1e.00700...@parker.com> > Content-Type: text/plain; charset="utf-8" > > I did a little digging. Looks like I was incorrect. I assumed libcurl was > version 5.3.0 because the libcurl.so file in /usr/lib is pointing to > libcurl.so.5.3.0 so I assumed it was version 5.3. However, the curl > command seems to say different. > > root@mtt:/usr/lib# curl -V > curl 7.35.0 (arm-mlinux-linux-gnueabi) libcurl/7.35.0 GnuTLS/2.12.23 > zlib/1.2.8 > Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp > smtp smtps telnet tftp > Features: NTLM NTLM_WB SSL libz TLS-SRP > > Is anyone else getting segfaults using curl_multi_perform()? > I figured out why I was getting the segfaults. I was freeing the curl_slist struct after I "put" it into the message. I assumed that it copied the information that it needed and then I could discard the struct but apparently not. I took away the free_slist() call and it's operating fine now.
> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://cool.haxx.se/pipermail/curl-library/attachments/ > 20151217/17a94cc8/attachment-0001.html> > > ------------------------------
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
