curl-library
RE: Segmentation Fault with multithread app. with libcurl 7.15 RedHatLinux 64 bits
Date: Wed, 13 Jan 2010 07:21:51 -0500
We have RHEL 5.4 and gcc 4.1.2. I think in our case it is more related to the known bug https://bugzilla.redhat.com/539809 like Kamil said. Actually, by setting the CURLOPT_NOSIGNAL option to 1, it seems to fix my problem. No more segfault.
Thank you
Marc
-----Message d'origine-----
De : Pinakin Mevawala [mailto:Pinakin_Mevawala_at_symantec.com]
Envoyé : mardi 12 janvier 2010 21:26
À : libcurl development; Perreault, Marc
Objet : RE: Segmentation Fault with multithread app. with libcurl 7.15 RedHatLinux 64 bits
> 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