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

Re: bug: git-svn seg fault during 'git svn fetch' due to perl < 5.10

From
EWEric Wong <normalperson@yhbt.net>
Date
Jan 19, 2013, 11:51 UTC
Message-ID
<20130119115101.GA2559@dcvr.yhbt.net>
In-Reply-To
<2B10A89294DA6740AC6155F56842F9CE05234E6C@PRN-MBX01-2.TheFacebook.com>
Durham Goode <durham@fb.com> wrote:
Show 9 quoted lines
> In git 1.8.1, when we do 'git svn fetch' on a large repo, we're seeing a
> seg fault.  It's caused by git-svn trying to parse a large yaml file
> (introduced in 
> https://github.com/git/git/commit/68f532f4ba888f277637a94b4a49136054df0540
> ) which encounters a perl regex stack overflow bug that was present in
> perl < 5.10 (https://bugzilla.redhat.com/show_bug.cgi?id=192400).
> 
> We'll find a work around, but it'd be nice if there was a config setting
> to let us choose not to use the yaml format.

Maybe try a libyaml-based YAML module? I'm not too familiar with YAML parsers in the Perl world. Hopefully Jonathan can help.

> Let me know if there's a better place to report this.

Yes, feel free to Cc: folks who signed-off/acked the change which introduced the problem for you.

Previous: Durham Goode
Message 2 of 2 in “bug: git-svn seg fault during 'git svn fetch' due to perl < 5.10”
  1. Durham GoodeJan 18, 2013
  2. Eric WongJan 19, 2013

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.