cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Segmentation Fault with multithread app. with libcurl 7.15 RedHatLinux 64 bits

From: Pinakin Mevawala <Pinakin_Mevawala_at_symantec.com>
Date: Wed, 13 Jan 2010 07:55:33 +0530

> I move my application from a i386-redhat-linux-gnu server using
libcurl
> 7.12 to a x86_64-redhat-linux-gnu server using libcurl version 7.15
and
> have been getting segfault in curl functions after a while (Takes some
> time). My application is multithread.

I'm also a victim of the same issue during POST. Segfault occurs in
curl_formfree().http://curl.haxx.se/mail/archive-2009-12/0039.html
What version of RHEL gcc/glibc you are using?
I was using RHEL5.0 gcc 3.4.6/glibc 2.5.12 and moved to RHEL5.3 gcc
4.1.12/glibc 2.5.34 and segfault went away.
I doubt if its curl issue as if you make single threaded app then you
won't see segfault. I don't see anymore segfault in binaries built on
RHEL5.3.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-13