{"thread":{"id":"17615","subject":"Malformed network data","startedAt":"2009-02-06T15:29:27Z","lastAt":"2009-02-11T10:23:29Z","messageCount":2,"participants":["Josh Sharpe","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"103502","messageId":"6a7129610902060729ta73d8d6leb4dc64ce2bb7fe3@mail.gmail.com","threadId":"17615","inReplyTo":null,"subject":"Malformed network data","fromName":"Josh Sharpe","fromEmail":"josh.m.sharpe@gmail.com","sentAt":"2009-02-06T15:29:27Z","receivedAt":"2009-02-06T15:29:27Z","isPatch":false,"sender":{"key":"josh.m.sharpe@gmail.com","avatar":null},"body":"I was originally using ubuntu's package of git and git-svn (1.5.6.3)\nand had the following Malformed Network Data error occuring at the\nsame spot.\n\nI've since built svn and git so that I'm using the latest versions of\neach svn: 1.5.5 and git: 1.6.1.2.390.gba743\n\nWith the latest version I got a new error during the initial clone\nfollowed by the original error.\n\nOne thing to note that I thought was odd.  The clone starts at ~r977\nand proceeded through about ~r1100 before starting over at r1 and\nrunning all the way up to the code you see below (r1116)\n\nIs this a git issues or is it possible the svn repo is corrupted\nsomehow?  Any way I can get around this?\n\nThanks!\n\n$ git svn clone -s svn+ssh://.../community_\nservice\n\nr1116 = 890ff1e819be8ae0a752f53ba2103171de41fc69 (trunk)\n    M    sample_data/activities.yml\nr1117 = ab725a6c32905b6d007fcd8fd4723058d9487706 (trunk)\nFound possible branch point: svn+ssh://.../community_service/trunk =>\nsvn+ssh://.../community_service/branches/current_demo, 1118\nFound branch parent: (current_demo) ab725a6c32905b6d007fcd8fd4723058d9487706\nIndex mismatch: e8075b5d0694a738392d84016922eca87db65dcd !=\n44b21b4a4fa70455621da3ac159cdf42c8c59987\nrereading ab725a6c32905b6d007fcd8fd4723058d9487706\nFollowing parent with do_switch\nFilesystem has no item: File not found: revision 1036, path\n'/branches/current_demo/sample_data/email_templates.yml' at\n/usr/local/libexec/git-core/git-svn line 3288\n\n$ cd community_service/\n$ git svn fetch\n\nFound possible branch point: svn+ssh://.../community_service/trunk =>\nsvn+ssh://.../community_service/branches/current_demo, 1118\nFound branch parent: (current_demo) ab725a6c32905b6d007fcd8fd4723058d9487706\nIndex mismatch: e8075b5d0694a738392d84016922eca87db65dcd !=\n44b21b4a4fa70455621da3ac159cdf42c8c59987\nrereading ab725a6c32905b6d007fcd8fd4723058d9487706\nFollowing parent with do_switch\nMalformed network data: Malformed network data at\n/usr/local/libexec/git-core/git-svn line 3288\n"},{"id":"104167","messageId":"20090211102329.GA10762@dcvr.yhbt.net","threadId":"17615","inReplyTo":"6a7129610902060729ta73d8d6leb4dc64ce2bb7fe3@mail.gmail.com","subject":"Re: Malformed network data","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-02-11T10:23:29Z","receivedAt":"2009-02-11T10:23:29Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Josh Sharpe <josh.m.sharpe@gmail.com> wrote:\n> I was originally using ubuntu's package of git and git-svn (1.5.6.3)\n> and had the following Malformed Network Data error occuring at the\n> same spot.\n> \n> I've since built svn and git so that I'm using the latest versions of\n> each svn: 1.5.5 and git: 1.6.1.2.390.gba743\n> \n> With the latest version I got a new error during the initial clone\n> followed by the original error.\n> \n> One thing to note that I thought was odd.  The clone starts at ~r977\n> and proceeded through about ~r1100 before starting over at r1 and\n> running all the way up to the code you see below (r1116)\n\nHi,\n\nThis could be the way branching/tagging is done with the repo.\ngit-svn does not handle non-standard branching/tagging practices\nvery well.\n\n> Following parent with do_switch\n> Filesystem has no item: File not found: revision 1036, path\n> '/branches/current_demo/sample_data/email_templates.yml' at\n> /usr/local/libexec/git-core/git-svn line 3288\n\nHmm.. this is new. Is email_templates.yml an empty file by any chance?\nIf it's an empty file, can you try pulling the latest from\ngit://git.bogomips.org/git-svn and see if that fixes at least this for\nyou?  There was a bug that slipped in recently with trying to handle\nempty files better to workaround a bug in SVN.\n\n> $ cd community_service/\n> $ git svn fetch\n> \n> Found possible branch point: svn+ssh://.../community_service/trunk =>\n> svn+ssh://.../community_service/branches/current_demo, 1118\n> Found branch parent: (current_demo) ab725a6c32905b6d007fcd8fd4723058d9487706\n> Index mismatch: e8075b5d0694a738392d84016922eca87db65dcd !=\n> 44b21b4a4fa70455621da3ac159cdf42c8c59987\n> rereading ab725a6c32905b6d007fcd8fd4723058d9487706\n> Following parent with do_switch\n> Malformed network data: Malformed network data at\n> /usr/local/libexec/git-core/git-svn line 3288\n\nThe malformed network data error has not been consistently reproducible\nfor me.  I've seen it occasionally on overloaded servers, but it always\ngoes away when I restarted git-svn or tried to reproduce it.  I'm\nguessing it is FD mangling and/or refcount mismanagement in the SVN perl\nlibraries (which don't seem to be able to handle multiple connections to\na server well at all).\n\n-- \nEric Wong\n"}]}