cURL / Mailing Lists / curl-library / Single Mail

curl-library

Sporadic crash in curl_multi_perform ()

From: MigueL DíaZ <tiomiguel_at_gmail.com>
Date: Tue, 9 Mar 2010 16:41:50 -0430

Hi,

I'm experiencing an strange crash in the middle of a libcurl function call.

My program uses multi interface. First I initialize and setup some
curl_easy_handle and in a processing loop I register them to
multi_interface, call curl_multi_perform, check for results, do the
extracion, cleanup, repeat... The crash occurs in curl_multi_interface (see
backtrace below), I'd like to know what are the possible causes of a crash
of this kind so I can start looking for a solution.

Extra information: Crash is not solid, I mean, it doesn't happen everytime,
maybe once or twice a day (The program it's supposed to run 24/7)

Program terminated with signal 11, Segmentation fault.
#0 0x0046d367 in ?? () from /usr/lib/libcurl.so.4
(gdb) bt
#0 0x0046d367 in ?? () from /usr/lib/libcurl.so.4
#1 0x0046e5a0 in curl_mvsnprintf () from /usr/lib/libcurl.so.4
#2 0x0046cb72 in curl_msnprintf () from /usr/lib/libcurl.so.4
#3 0x0045ee36 in Curl_failf () from /usr/lib/libcurl.so.4
#4 0x0047376a in Curl_readwrite () from /usr/lib/libcurl.so.4
#5 0x00479d18 in ?? () from /usr/lib/libcurl.so.4
#6 0x0047a3f9 in curl_multi_perform () from /usr/lib/libcurl.so.4

I have installed libcurl 7.19.7 for Fedora Core 11:

Installed Packages
Name : libcurl-devel
Arch : i586
Version : 7.19.7
Release : 4.fc11
Size : 485 k
Repo : installed

I'd really appreciate your thoughts!

Regards,
Miguel.

-- 
"Think" is not a four-letter word.
       -- Anonymous

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