From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: segfault in git-remote-http Date: Wed, 10 Apr 2013 00:30:30 -0400 Message-ID: <20130410043030.GD795@sigill.intra.peff.net> References: <20130407093812.cae0e19123f7b6d2061800aa@lavabit.com> <20130409084718.587e99aa7a935296867a84a1@lavabit.com> <20130409171623.GE21972@sigill.intra.peff.net> <20130409104134.a9a42b74ec33b3147cd45c81@lavabit.com> <20130409174735.GA23494@sigill.intra.peff.net> <20130409124044.908c160c718cc357a139354e@lavabit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Wed Apr 10 06:31:02 2013 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPmgW-0002bK-6R for gcvg-git-2@plane.gmane.org; Wed, 10 Apr 2013 06:31:00 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752105Ab3DJEav (ORCPT ); Wed, 10 Apr 2013 00:30:51 -0400 Received: from 75-15-5-89.uvs.iplsin.sbcglobal.net ([75.15.5.89]:37098 "EHLO peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751974Ab3DJEag (ORCPT ); Wed, 10 Apr 2013 00:30:36 -0400 Received: (qmail 32029 invoked by uid 107); 10 Apr 2013 04:32:28 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) (smtp-auth username relayok, mechanism cram-md5) by peff.net (qpsmtpd/0.84) with ESMTPA; Wed, 10 Apr 2013 00:32:28 -0400 Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Wed, 10 Apr 2013 00:30:30 -0400 Content-Disposition: inline In-Reply-To: <20130409124044.908c160c718cc357a139354e@lavabit.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, Apr 09, 2013 at 12:40:44PM -0700, rh wrote: > > does not support hardlinks or symlinks). But I'm not sure which error > > you are talking about. We can figure out inside the program which > > program was invoked by checking argv, but I do not see us printing > > remote-http anywhere. > > I wasn't clear in my initial report....and may have omitted a > significant fact. The "git clone" returned right away and I saw no > error. The error shows up in dmesg via syslog, something like > git-remote-http[1234]: segfault at xxxxxxxx blah blah in libcrypto That message is not generated by git, but rather by the kernel, which pulls the name from argv[0], presumably. E.g., try: echo 'int main() { *(int *)0=0; }' >foo.c gcc foo.c ln a.out alternate ./a.out; ./alternate dmesg | tail -n 2 which should show both program names. Git invokes git-remote-* based on the URL you fed it. So if you are seeing a segfault in git-remote-http, presumably you fed it an http URL (which may still execute SSL code if it redirects to an https URL). -Peff