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

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

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:46:18

Hi,

Hmm, you didn't CC me so I didn't see your message until now. In
general it's a good idea to CC people in case they are not suscribed,
fortunately this is not the case.

On Wed, Feb 25, 2009 at 10:18 AM, Daniel Stenberg [off-list ref] wrote:
On Wed, 25 Feb 2009, Felipe Contreras wrote:
quoted
I'm trying to push over https and I keep getting a crash. "curl -netrc
https://server/repo/HEAD" seems to work fine.
quoted
I'm attaching the output of valgrind and this is the backtrace (not on
the same run):
quoted
#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
[...]
quoted
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.
Indeed, Fedora 10; libcurl 7.18.2.
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
Yes, actually I did that and it works fine. For the record, the new
libcurl with NSS still crashes.
[*] = https://bugzilla.redhat.com/show_bug.cgi?id=483222
Thanks.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help