Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: http-push: double free or corruption (!prev): 0x09fedb50

From: Daniel Stenberg <hidden>
Date: 2016-06-15 22:46:17

On Wed, 25 Feb 2009, Felipe Contreras wrote:
I'm trying to push over https and I keep getting a crash. "curl -netrc 
https://server/repo/HEAD" seems to work fine.
I'm attaching the output of valgrind and this is the backtrace (not on
the same run):
#6  0x064d5b37 in PR_Free (ptr=0x0) at
../../../mozilla/nsprpub/pr/src/malloc/prmem.c:490
#7  0x00df72f8 in nss_ZRealloc (pointer=0x9fedb58, newSize=4096) at arena.c:1076
#8  0x00de579b in pem_CreateObject (fwInstance=0x8109ba0,
fwSession=0x810bac8, mdToken=0x8109cf8, pTemplate=0xbfffd6e4,
ulAttributeCount=4, pError=0xbfffd608) at pobject.c:1080
[...]
Any ideas?
You didn't mention what libcurl version you use, but clearly this is built to 
use NSS for the SSL layer so I guess you're using a Fedora-provided library.

There's already at least one NSS-libcurl-git related bug report[*] for Fedora 
submitted and I think you'll have a reason to follow that to see if you can 
help them or they can help you. To me this looks like at least one NSS bug.

In the mean time I suggest you attempt a work-around: build a new libcurl 
powered by another SSL library such as OpenSSL or GnuTLS. It's just a matter 
of running libcurl's configure with the proper command line

[*] = https://bugzilla.redhat.com/show_bug.cgi?id=483222

-- 

  / daniel.haxx.se
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help