cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: icc segmentation faults

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 12 Sep 2007 12:41:08 +0200 (CEST)

On Wed, 12 Sep 2007, Tor Arntsen wrote:

> BTW the Solaris coredump is different:
>
> #1 0xff116138 in _ndoprnt () from /lib/libc.so.1
> #2 0xff118148 in fprintf () from /lib/libc.so.1
> #3 0x00011788 in loop (cm=0x25560, url=0xffbffde5
> "http://test.remote.server.com/path/540", userpwd=0xffbffe22
> "silly:person", headers=0x227b8)
> at lib540.c:94

[...]

> #3 0x00011788 in loop (cm=0x25560, url=0xffbffde5
> "http://test.remote.server.com/path/540", userpwd=0xffbffe22
> "silly:person", headers=0x227b8)
> at lib540.c:94
> 94 curl_easy_strerror(msg->data.result), usedurl);
>
> 'usedurl' is 0x0.
> lib540.c line 92 (the previous line) says:
> 92 curl_easy_getinfo(msg->easy_handle, CURLINFO_PRIVATE, &usedurl);

Hah, yes. This is clearly traces of some older code layout as nothing sets the
private pointer to anything so of course it fetches a NULL and sends that to
fprintf's %s...

I'll fix.

The calloc() one is more of a mystery still though! :-/

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-09-12

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET