cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Crash in curl_multi_perform add_next_timeout

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 21 Jan 2016 16:48:00 +0100 (CET)

On Wed, 20 Jan 2016, Amit K Sharma wrote:

> We are facing one issue where curl_multi_perform calls -->add_next_timeout
> which crashes as Session Handle (pointer d )is Null.

> We are using 7.32 version of libcurl . Could you please think of the
> scenario which leads to this . Ours is multithreaded application

It sounds like you're using the same handle in multiple threads. Crashes like
that usually turns out to be threading related.

Can you reproduce the problem in a stand-alone test code? Have you tried to
build it with a modern libcurl version just to see if the problem might go
away?

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