git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Feb 28, 2009, 16:46 UTC
Message-ID
<94a0d4530902280846mcfd30b1ka4bef4efbfc3240b@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.10.0902250912470.28808@yvahk2.pbagnpgbe.fr>
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 <daniel@haxx.se> wrote:
Show 23 quoted lines
> 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.
Indeed, Fedora 10; libcurl 7.18.2.
Show 8 quoted lines
> 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
Previous: Daniel Stenberg
Message 3 of 3 in “http-push: double free or corruption (!prev): 0x09fedb50”
  1. Felipe ContrerasFeb 24, 2009
  2. Daniel StenbergFeb 25, 2009
  3. Felipe ContrerasFeb 28, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.