{"thread":{"id":"3793","subject":"[BUG] git-http-fetch segfault","startedAt":"2006-04-04T17:11:40Z","lastAt":"2006-04-04T20:25:26Z","messageCount":4,"participants":["Radoslaw Szkodzinski","Nick Hengeveld"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"18348","messageId":"4432A8CC.5020200@o2.pl","threadId":"3793","inReplyTo":null,"subject":"[BUG] git-http-fetch segfault","fromName":"Radoslaw Szkodzinski","fromEmail":"astralstorm@o2.pl","sentAt":"2006-04-04T17:11:40Z","receivedAt":"2006-04-04T17:11:40Z","isPatch":false,"sender":{"key":"astralstorm@o2.pl","avatar":null},"body":"I have some problems cloning stgit repository (maybe something's broken there).\n\nThe repository seems to be using symlink HEAD.\nPossibly the problem is because of a non-existent tag commit.\n\nYes, it has that broken HTTP error message bug.\n\nGit version:\nastralstorm@zen /home/devel/git $ git log -n 1 | head -n 1\ncommit fc9957b0052df6a8248420395bc9febd66194252\n\nSession log (slightly linewrapped):\n\nastralstorm@zen /home/devel $ git clone\nhttp://homepage.ntlworld.com/cmarinas/stgit.git stgit\ngot 52f3900c0c7dec8581fa907495a09c900a3d39d7\nwalk 52f3900c0c7dec8581fa907495a09c900a3d39d7\ngot c82395b46d238948882045e76e7770319a4f40e8\ngot aa78d4ed34d262b6f811e7e47415c8c4ac6d80a2\nwalk c82395b46d238948882045e76e7770319a4f40e8\ngot 098c1d3e9fe5c39b859ccff6c7d36d2c193d1b62\ngot 4ebca0e1cabe90ecdcd29aab6fa16521d4999fb5\ngot 8d2bebd9d1824f1b7af5cfe6fbd11f9cbfde6d74\ngot 184ded8e08cb92a14b79c79f9919469ba352ab70\ngot d60c31a97a544b53039088d14fe9114583c0efc3\ngot e5affe07bf8b39e2aa0309299dbc9532e05940b5\ngot c2514fd418472dc173a5fef09c82ccf666c9555f\ngot 3c900ce9dae0959a9e4479b55b8a71d1b92d170d\ngot 7888f29f97452f8db39f4a9e857b7f1d2c913765\ngot 4359033a665b7943f2a7579e8329a715fd2fdc57\ngot def843c5d5fd4dee9a54504512b4308cb3a84018\ngot 0c3ad3951bb8cf368c70b13240665495e19a98a9\ngot 32977d8fae38a542b15dd9c5e39d64076a35227b\ngot 8847a11b3bbf5406f37a360e5466f0e392c56383\ngot 07704b8331d6d78a132c731874f66749dfa0f85c\ngot 5b8d95f20b8989fde6b0731c55b3f985ed01630a\ngot 6a8557477abde3f1368304e6fb8d890e2982267e\ngot de7bd13bae9eec619ae4baf46e65475602d52979\ngot 5899c38225df2244c7b09015f5b754d9735415d5\ngot ebd09f908d165c7aa3a135ddc8bbd5a05787df93\nwalk 8847a11b3bbf5406f37a360e5466f0e392c56383\ngot 6480a2a7f279002c3daf5a56ece16636cd5df26f\ngot 568bc169d53ee40ef5dc7481e7cab8078141fa9e\nGetting alternates list for http://homepage.ntlworld.com/cmarinas/stgit.git/\ngot 4b03e3a6440883cf8ef6092426b3d932b8b0c73a\ngot ee90cfb41de9e3a589fc688ba1350e9c8b846c20\ngot c394572a81d9b3322a7a7cdccec0c1846d445dcc\ngot 66e9f41044631264c2740f61ddafbc4bd01ec71a\ngot c603ff88fcd21f1e4b806413d195c90f29ea547f\ngot a0569457816c345e8c7fa92135fd664dd67ea97c\ngot 5749b3bd8476df9e2808a3723e23d7acd4e4c71d\ngot f4d749004ac695720ab883c338fdc3df5da394bb\ngot e7f3481a23600c969a3cdf9bf793e8239546c1d1\ngot 1317788c088c3f621f83ceae657e0d1f6f34af54\ngot 7881993b68ead8678545516fa8e04f8919569b8e\ngot 44cd19e162f9ff976df475bccecd63a42e04a244\nGetting pack list for http://homepage.ntlworld.com/cmarinas/stgit.git/\ngot 694ea0c23cc88422d923104b04832df48865dae6\ngot 938ce9bb5812cac4d0902ae6f87a276d51a58cd9\ngot 9534f1c94a19e5521bbb7a5664d587400eb55905\ngot fc9c5a73a29673f06b683a85134531ad6d9520ea\ngot f80bef4918840e4290f03f291d8b4dbb98b12d80\nerror: Unable to find adad46f365219e9bcc1a212826ca65eaac09729c under\nhttp://homepage.ntlworld.com/cmarinas/stgit.git/\nCannot obtain needed blob adad46f365219e9bcc1a212826ca65eaac09729c\nwhile processing commit 8847a11b3bbf5406f37a360e5466f0e392c56383.\nWaiting for\nhttp://homepage.ntlworld.com/cmarinas/stgit.git/objects/d5/68cd60c5759cfd84d4148f3c3d5bf9f5b85d41\n/usr/bin/git-clone: line 29: 13000 Naruszenie ochrony pamięci   git-http-fetch\n-v -a -w \"$tname\" \"$name\" \"$1/\"\n\n(Naruszenie ochrony pamięci = Segmentation fault)\n\n-- \nGPG Key id:  0xD1F10BA2\nFingerprint: 96E2 304A B9C4 949A 10A0  9105 9543 0453 D1F1 0BA2\n\nAstralStorm\n\n"},{"id":"18354","messageId":"20060404184935.GG14967@reactrix.com","threadId":"3793","inReplyTo":"4432A8CC.5020200@o2.pl","subject":"Re: [BUG] git-http-fetch segfault","fromName":"Nick Hengeveld","fromEmail":"nickh@reactrix.com","sentAt":"2006-04-04T18:49:36Z","receivedAt":"2006-04-04T18:49:36Z","isPatch":false,"sender":{"key":"nickh@reactrix.com","avatar":null},"body":"On Tue, Apr 04, 2006 at 07:11:40PM +0200, Radoslaw Szkodzinski wrote:\n\n> I have some problems cloning stgit repository (maybe something's broken there).\n> \n> astralstorm@zen /home/devel $ git clone\n> http://homepage.ntlworld.com/cmarinas/stgit.git stgit\n> error: Unable to find adad46f365219e9bcc1a212826ca65eaac09729c under\n> http://homepage.ntlworld.com/cmarinas/stgit.git/\n> Cannot obtain needed blob adad46f365219e9bcc1a212826ca65eaac09729c\n> while processing commit 8847a11b3bbf5406f37a360e5466f0e392c56383.\n\nThat host name resolves to multiple IP addresses, is it possible that\none of the servers was out of sync?  I tried cloning directly from each\naddress and couldn't reproduce the problem.\n\n-- \nFor a successful technology, reality must take precedence over public\nrelations, for nature cannot be fooled.\n"},{"id":"18357","messageId":"4432CF04.1020606@o2.pl","threadId":"3793","inReplyTo":"20060404184935.GG14967@reactrix.com","subject":"Re: [BUG] git-http-fetch segfault","fromName":"Radoslaw Szkodzinski","fromEmail":"astralstorm@o2.pl","sentAt":"2006-04-04T19:54:44Z","receivedAt":"2006-04-04T19:54:44Z","isPatch":false,"sender":{"key":"astralstorm@o2.pl","avatar":null},"body":"Nick Hengeveld wrote:\n> On Tue, Apr 04, 2006 at 07:11:40PM +0200, Radoslaw Szkodzinski wrote:\n> \n>> I have some problems cloning stgit repository (maybe something's broken there).\n>>\n>> astralstorm@zen /home/devel $ git clone\n>> http://homepage.ntlworld.com/cmarinas/stgit.git stgit\n>> error: Unable to find adad46f365219e9bcc1a212826ca65eaac09729c under\n>> http://homepage.ntlworld.com/cmarinas/stgit.git/\n>> Cannot obtain needed blob adad46f365219e9bcc1a212826ca65eaac09729c\n>> while processing commit 8847a11b3bbf5406f37a360e5466f0e392c56383.\n> \n> That host name resolves to multiple IP addresses, is it possible that\n> one of the servers was out of sync?  I tried cloning directly from each\n> address and couldn't reproduce the problem.\n> \n\nAnyhow, git-http-fetch shouldn't segfault.\n\nIt's not my server, I don't know the exact configuration.\nAlso the repository is not mine.\n\nIt is reproducible here 100% of the time.\n\nHere, it resolves like that:\nastralstorm@zen $ resolveip homepage.ntlworld.com\nIP address of homepage.ntlworld.com is 62.253.162.12\nIP address of homepage.ntlworld.com is 62.253.162.178\nIP address of homepage.ntlworld.com is 62.253.162.10\nIP address of homepage.ntlworld.com is 62.253.162.11\n\nI have an strace for you, bzipped and attached.\n\nIt is an output of the command:\nstrace -e 'trace=!poll,gettimeofday,select' -o fetch-strace.log git-http-fetch\n-v -a -w heads/master heads/master http://homepage.ntlworld.com/cmarinas/stgit.git/\n\nI hope it is enough to hunt the bug. If you need more info, please just ask.\n\n-- \nGPG Key id:  0xD1F10BA2\nFingerprint: 96E2 304A B9C4 949A 10A0  9105 9543 0453 D1F1 0BA2\n\nAstralStorm\n"},{"id":"18359","messageId":"4432D636.4050407@o2.pl","threadId":"3793","inReplyTo":"20060404184935.GG14967@reactrix.com","subject":"Re: [BUG] git-http-fetch segfault","fromName":"Radoslaw Szkodzinski","fromEmail":"astralstorm@o2.pl","sentAt":"2006-04-04T20:25:26Z","receivedAt":"2006-04-04T20:25:26Z","isPatch":false,"sender":{"key":"astralstorm@o2.pl","avatar":null},"body":"Nick Hengeveld wrote:\n> On Tue, Apr 04, 2006 at 07:11:40PM +0200, Radoslaw Szkodzinski wrote:\n> \n>> I have some problems cloning stgit repository (maybe something's broken there).\n>>\n>> astralstorm@zen /home/devel $ git clone\n>> http://homepage.ntlworld.com/cmarinas/stgit.git stgit\n>> error: Unable to find adad46f365219e9bcc1a212826ca65eaac09729c under\n>> http://homepage.ntlworld.com/cmarinas/stgit.git/\n>> Cannot obtain needed blob adad46f365219e9bcc1a212826ca65eaac09729c\n>> while processing commit 8847a11b3bbf5406f37a360e5466f0e392c56383.\n> \n> That host name resolves to multiple IP addresses, is it possible that\n> one of the servers was out of sync?  I tried cloning directly from each\n> address and couldn't reproduce the problem.\n> \n\nOkay, I've nailed it. It's caused by Privoxy.\nIt seems that Privoxy sends its 404 page with 200 OK reply.\nClearly a broken response.\n\nDoes anyone have any better proxy supporting real SOCKS 4a/5 upstream proxy?\n(for Tor)\nDelegate doesn't count - it has broken HTTP code, 1.0 only and slow too.\n\n-- \nGPG Key id:  0xD1F10BA2\nFingerprint: 96E2 304A B9C4 949A 10A0  9105 9543 0453 D1F1 0BA2\n\nAstralStorm\n\n"}]}