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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html