cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SIGSEGV in curl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Apr 2008 13:26:07 +0200 (CEST)

On Wed, 2 Apr 2008, tristan wrote:

> I don't know why but when using libcurl with efence and valgrind I got this
> SIGSEGV :
>
> Process terminating with default action of signal 11 (SIGSEGV)
> ==31153== Bad permissions for mapped region at address 0x37AF1F00
> ==31153== at 0x403C6C4: memalign (in /usr/lib/libefence.so.0.0)
> ==31153== by 0x403C9AC: malloc (in /usr/lib/libefence.so.0.0)
> ==31153== by 0x4D4348D: (within /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==31153== by 0x4D43AEE: CRYPTO_malloc (in
> /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==31153== by 0x4DABAF2: lh_insert (in
> /usr/lib/i686/cmov/libcrypto.so.0.9.8)
> ==31153== by 0x4DAFED6: (within /usr/lib/i686/cmov/libcrypto.so.0.9.8)

This looks like deep inside OpenSSL. If you really want to venture down this
road, I'd first suggest that you rebuild OpenSSL with PURIFY defined and see
if it still happens. If it does, then try just to pinpoint what you need to do
to make it happen and tell us about it!

Of course I also assume you use the latest OpenSSL and libcurl versions.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-04-02