threads / bug / 32661

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

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

## tl;dr

2 messages between Jan 18, 2013 and Jan 19, 2013.

replies: 1people: 2as markdown or json

Durham Goode· Jan 18, 2013, 04:14 UTC · lore

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.

Let me know if there's a better place to report this.
-Durham
Eric Wong· Jan 19, 2013, 11:51 UTC · re: Durham Goode · lore

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

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.

← back to recent threads