Git repository for hostapd/wpa_supplicant

Jouni Malinen j at w1.fi
Sun Feb 25 00:35:37 EST 2007


On Sat, Feb 24, 2007 at 10:57:59PM -0500, Pavel Roskin wrote:

> > Using HTTP (if git protocol is firewalled):
> > http://w1.fi/hostap.git
> 
> The funny thing is that it crashes git:

> $ git clone http://w1.fi/hostap.git
> Initialized empty Git repository in /home/proski/tmp/hostap/.git/
> got d3c506b2ab0c8b0f0b649866c44c2af9afa5fdeb
> walk d3c506b2ab0c8b0f0b649866c44c2af9afa5fdeb
> got abb1e4981d831aab57b5172cb2bd8ed1014e1544
> Getting alternates list for http://w1.fi/hostap.git/
> got ddfb47766d8b188c2149aed43afc17181677fdea
> got 5ad3352189c6fdc1aa771592ec2765335fc255fe
> /home/proski/bin/git-clone: line 33: 14151 Segmentation fault      (core dumped)
> git-http-fetch -v -a -w "$tname" "$name" "$1/"

Interesting.. Which version of git are you using? I used quite recent
version (as in 1.5.0) to import the repository and also for pushing it
to the server. I cannot reproduce this segfault.

> The object starting with 60549 is indeed missing.  The crash is in the curl
> library, which has been a problem before.  I don't want hostap to be the
> testbed, so please go ahead and fix it.

Hmm.. Can you clone the repository from git://w1.fi/srv/git/hostap.git
without this issue? I don't see any problems in my tests and I don't
really know what to fix or how even if there were something wrong here.
Unless this is more widespread issue, I have no problems with keeping
this as a testbed if someone is interested in fixing git not to crash
here.. Anyway, I made a copy of the current version to
http://w1.fi/hostap-test.git so that the version that triggered segfault
remain available.

> You could try running git-gc, which does many maintenance operations on the
> repository.  Please let me know if you need help fixing this problem.

git-fsck did not complain about anything and neither did git-gc. Anyway,
git-gc was now run, so you could re-try cloning this over HTTP to verify
whether that had any affect to the crash.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list