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

Re: git clone http://git.savannah.gnu.org/cgit/xboard.git segfaults

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 17, 2009, 14:22 UTC
Message-ID
<alpine.DEB.1.00.0908171620160.4991@intel-tinevez-2-302>
In-Reply-To
<alpine.DEB.1.00.0908171616340.4991@intel-tinevez-2-302>
Hi,
On Mon, 17 Aug 2009, Johannes Schindelin wrote:
Show 19 quoted lines
> On Mon, 17 Aug 2009, Ali Polatel wrote:
> 
> > Here's what gdb has to say about it:
> >
> > [...]
> 
> Here's what valgrind has to say about it (with a current 'next' + 
> patches):
> 
> ==25434== Invalid read of size 8
> ==25434==    at 0x407433: process_object_response (http-walker.c:91)
> ==25434==    by 0x405713: finish_active_slot (http.c:657)
> ==25434==    by 0x40448F: process_curl_messages (http.c:119)
> ==25434==    by 0x40546A: step_active_slots (http.c:571)
> ==25434==    by 0x4080E8: fetch_object (http-walker.c:476)
> ==25434==    by 0x408316: fetch (http-walker.c:526)
> ==25434==    by 0x42876C: loop (walker.c:176)
> ==25434==    by 0x428C65: walker_fetch (walker.c:287)
> ==25434==    by 0x40401F: main (remote-curl.c:111)
Oops, forgot the more important part:

==25434== Address 0x87a7bd0 is 0 bytes inside a block of size 64 free'd ==25434== at 0x4C265AF: free (vg_replace_malloc.c:323) ==25434== by 0x4075F5: release_object_request (http-walker.c:128) ==25434== by 0x408022: abort_object_request (http-walker.c:452) ==25434== by 0x4080D7: fetch_object (http-walker.c:470) ==25434== by 0x408316: fetch (http-walker.c:526) ==25434== by 0x42876C: loop (walker.c:176) ==25434== by 0x428C65: walker_fetch (walker.c:287) ==25434== by 0x40401F: main (remote-curl.c:111)

Seems that an object request is aborted, but the slot, and therefore the callback, is called nevertheless. Tay, does that ring a bell?

Ciao, Dscho

Previous: Johannes SchindelinNext: Tay Ray Chuan
Message 3 of 11 in “git clone http://git.savannah.gnu.org/cgit/xboard.git segfaults”
  1. Ali PolatelAug 17, 2009
  2. Johannes SchindelinAug 17, 2009
  3. Johannes SchindelinAug 17, 2009
  4. Tay Ray ChuanAug 26, 2009
  5. Ali PolatelAug 26, 2009
  6. Johannes SchindelinAug 27, 2009
  7. Tay Ray ChuanAug 29, 2009
  8. Junio C HamanoAug 29, 2009
  9. Junio C HamanoAug 29, 2009
  10. Tay Ray ChuanAug 29, 2009
  11. Lars HjemliAug 17, 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.