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

Re: Malformed network data

From
EWEric Wong <normalperson@yhbt.net>
Date
Feb 11, 2009, 10:23 UTC
Message-ID
<20090211102329.GA10762@dcvr.yhbt.net>
In-Reply-To
<6a7129610902060729ta73d8d6leb4dc64ce2bb7fe3@mail.gmail.com>
Josh Sharpe <josh.m.sharpe@gmail.com> wrote:
Show 13 quoted lines
> I was originally using ubuntu's package of git and git-svn (1.5.6.3)
> and had the following Malformed Network Data error occuring at the
> same spot.
> 
> I've since built svn and git so that I'm using the latest versions of
> each svn: 1.5.5 and git: 1.6.1.2.390.gba743
> 
> With the latest version I got a new error during the initial clone
> followed by the original error.
> 
> One thing to note that I thought was odd.  The clone starts at ~r977
> and proceeded through about ~r1100 before starting over at r1 and
> running all the way up to the code you see below (r1116)
Hi,

This could be the way branching/tagging is done with the repo. git-svn does not handle non-standard branching/tagging practices very well.

> Following parent with do_switch
> Filesystem has no item: File not found: revision 1036, path
> '/branches/current_demo/sample_data/email_templates.yml' at
> /usr/local/libexec/git-core/git-svn line 3288

Hmm.. this is new. Is email_templates.yml an empty file by any chance? If it's an empty file, can you try pulling the latest from git://git.bogomips.org/git-svn and see if that fixes at least this for you? There was a bug that slipped in recently with trying to handle empty files better to workaround a bug in SVN.

Show 12 quoted lines
> $ cd community_service/
> $ git svn fetch
> 
> Found possible branch point: svn+ssh://.../community_service/trunk =>
> svn+ssh://.../community_service/branches/current_demo, 1118
> Found branch parent: (current_demo) ab725a6c32905b6d007fcd8fd4723058d9487706
> Index mismatch: e8075b5d0694a738392d84016922eca87db65dcd !=
> 44b21b4a4fa70455621da3ac159cdf42c8c59987
> rereading ab725a6c32905b6d007fcd8fd4723058d9487706
> Following parent with do_switch
> Malformed network data: Malformed network data at
> /usr/local/libexec/git-core/git-svn line 3288

The malformed network data error has not been consistently reproducible for me. I've seen it occasionally on overloaded servers, but it always goes away when I restarted git-svn or tried to reproduce it. I'm guessing it is FD mangling and/or refcount mismanagement in the SVN perl libraries (which don't seem to be able to handle multiple connections to a server well at all).

-- 
Eric Wong
Previous: Josh Sharpe
Message 2 of 2 in “Malformed network data”
  1. Josh SharpeFeb 6, 2009
  2. Eric WongFeb 11, 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.