* Possible segfault with `git clone --mirror`
@ 2021-04-25 18:17 Kostya M
2021-04-26 0:39 ` Đoàn Trần Công Danh
0 siblings, 1 reply; 4+ messages in thread
From: Kostya M @ 2021-04-25 18:17 UTC (permalink / raw)
To: git
Git 2.31.1, reproduced on Ubuntu 20.04.01, and Arch Linux.
`git clone -c core.askPass=true --mirror --quiet --
https://github.com/kostya/myhtml.git myhtml`
Segmentation fault (core dumped)
If i remove --mirror argument, it works.
This command generated by crystal language package manager called shards.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Possible segfault with `git clone --mirror`
2021-04-25 18:17 Possible segfault with `git clone --mirror` Kostya M
@ 2021-04-26 0:39 ` Đoàn Trần Công Danh
2021-04-26 12:53 ` Kostya M
0 siblings, 1 reply; 4+ messages in thread
From: Đoàn Trần Công Danh @ 2021-04-26 0:39 UTC (permalink / raw)
To: Kostya M; +Cc: git
On 2021-04-25 21:17:50+0300, Kostya M <kostya27@gmail.com> wrote:
> Git 2.31.1, reproduced on Ubuntu 20.04.01, and Arch Linux.
>
> `git clone -c core.askPass=true --mirror --quiet --
> https://github.com/kostya/myhtml.git myhtml`
> Segmentation fault (core dumped)
>
> If i remove --mirror argument, it works.
> This command generated by crystal language package manager called shards.
Not reproducible.
You may want to check if it's your config or filesystem first?
If I were you, I would run something like this to see if it works:
(Maybe with GIT_TRACE2=1 removed in first run to see if it's your config)
HOME=/tmp/not-exist XDG_CONFIG_HOME=/tmp/not-exist GIT_TRACE2=1 \
/usr/bin/git clone -c core.askPass=true --mirror --quiet -- \
https://github.com/kostya/myhtml.git myhtml
--
Danh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Possible segfault with `git clone --mirror`
2021-04-26 0:39 ` Đoàn Trần Công Danh
@ 2021-04-26 12:53 ` Kostya M
2021-04-26 15:37 ` René Scharfe
0 siblings, 1 reply; 4+ messages in thread
From: Kostya M @ 2021-04-26 12:53 UTC (permalink / raw)
To: Đoàn Trần Công Danh; +Cc: git
Yes, adding `HOME=/tmp/not-exist` fix this.
my ~/.gitconfig is (maybe it have outdated options, it was generated long ago):
[color]
status = auto
branch = auto
diff = auto
[core]
symlinks = false
autocrlf = false
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
quotepath = false
pager = less
editor = "vim"
[pack]
packSizeLimit = 2g
[apply]
whitespace = nowarn
[i18n]
пн, 26 апр. 2021 г. в 03:39, Đoàn Trần Công Danh <congdanhqx@gmail.com>:
>
> On 2021-04-25 21:17:50+0300, Kostya M <kostya27@gmail.com> wrote:
> > Git 2.31.1, reproduced on Ubuntu 20.04.01, and Arch Linux.
> >
> > `git clone -c core.askPass=true --mirror --quiet --
> > https://github.com/kostya/myhtml.git myhtml`
> > Segmentation fault (core dumped)
> >
> > If i remove --mirror argument, it works.
> > This command generated by crystal language package manager called shards.
>
> Not reproducible.
>
> You may want to check if it's your config or filesystem first?
>
> If I were you, I would run something like this to see if it works:
> (Maybe with GIT_TRACE2=1 removed in first run to see if it's your config)
>
> HOME=/tmp/not-exist XDG_CONFIG_HOME=/tmp/not-exist GIT_TRACE2=1 \
> /usr/bin/git clone -c core.askPass=true --mirror --quiet -- \
> https://github.com/kostya/myhtml.git myhtml
>
> --
> Danh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Possible segfault with `git clone --mirror`
2021-04-26 12:53 ` Kostya M
@ 2021-04-26 15:37 ` René Scharfe
0 siblings, 0 replies; 4+ messages in thread
From: René Scharfe @ 2021-04-26 15:37 UTC (permalink / raw)
To: Kostya M, Đoàn Trần Công Danh; +Cc: git
Am 26.04.21 um 14:53 schrieb Kostya M:
> Yes, adding `HOME=/tmp/not-exist` fix this.
>
> my ~/.gitconfig is (maybe it have outdated options, it was generated long ago):
>
> [color]
> status = auto
> branch = auto
> diff = auto
>
> [core]
> symlinks = false
> autocrlf = false
> repositoryformatversion = 0
> filemode = false
> bare = false
That's probably the one. There's a related fix in master:
http://public-inbox.org/git/20210310011120.1151749-1-sandals@crustytoothpaste.net/
> logallrefupdates = true
> symlinks = false
> ignorecase = true
> quotepath = false
> pager = less
> editor = "vim"
>
> [pack]
> packSizeLimit = 2g
>
> [apply]
> whitespace = nowarn
>
> [i18n]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-26 15:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-25 18:17 Possible segfault with `git clone --mirror` Kostya M
2021-04-26 0:39 ` Đoàn Trần Công Danh
2021-04-26 12:53 ` Kostya M
2021-04-26 15:37 ` René Scharfe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.