git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* segfault during clone via http
@ 2009-02-04 16:10 Adam Thorsen
  2009-02-04 18:00 ` Jay Soffian
  0 siblings, 1 reply; 5+ messages in thread
From: Adam Thorsen @ 2009-02-04 16:10 UTC (permalink / raw)
  To: git

Git is segfaulting when downloading from a repo via http.  Here's what the
output looks like: http://gist.github.com/58167.  Anybody seen this before or
know how I can debug it?  I've made sure my git (1.6.1) is compiled with libcurl.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: segfault during clone via http
  2009-02-04 16:10 segfault during clone via http Adam Thorsen
@ 2009-02-04 18:00 ` Jay Soffian
  2009-02-04 18:35   ` Adam Thorsen
  0 siblings, 1 reply; 5+ messages in thread
From: Jay Soffian @ 2009-02-04 18:00 UTC (permalink / raw)
  To: Adam Thorsen; +Cc: git

On Wed, Feb 4, 2009 at 11:10 AM, Adam Thorsen <adam.thorsen@gmail.com> wrote:
> Git is segfaulting when downloading from a repo via http.  Here's what the
> output looks like: http://gist.github.com/58167.  Anybody seen this before or
> know how I can debug it?  I've made sure my git (1.6.1) is compiled with libcurl.

Please run git under gdb so that there is a stacktrace to work from. Here is an
example of running git under gdb and providing a trace:

http://article.gmane.org/gmane.comp.version-control.git/107860

j.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: segfault during clone via http
  2009-02-04 18:00 ` Jay Soffian
@ 2009-02-04 18:35   ` Adam Thorsen
  2009-02-04 20:34     ` Johannes Schindelin
  0 siblings, 1 reply; 5+ messages in thread
From: Adam Thorsen @ 2009-02-04 18:35 UTC (permalink / raw)
  To: git


Here is the stack trace:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00494000
0x0015bb04 in multi_runsingle ()
(gdb) bt
#0  0x0015bb04 in multi_runsingle ()
#1  0x0015d5af in curl_multi_perform ()
#2  0x000b8782 in step_active_slots () at http.c:450
#3  0x000b881c in run_active_slot (slot=0x50a450) at http.c:474
#4  0x000bac5c in fetch (walker=0x5008d0, 
sha1=0x4a791c "?u^?9l?\003?5??#??X\"?XL") at http-walker.c:846

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: segfault during clone via http
  2009-02-04 18:35   ` Adam Thorsen
@ 2009-02-04 20:34     ` Johannes Schindelin
  2009-02-04 21:39       ` Mike Hommey
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2009-02-04 20:34 UTC (permalink / raw)
  To: Adam Thorsen; +Cc: git, Mike Hommey

Hi,

On Wed, 4 Feb 2009, Adam Thorsen wrote:

> 
> Here is the stack trace:
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0x00494000
> 0x0015bb04 in multi_runsingle ()
> (gdb) bt
> #0  0x0015bb04 in multi_runsingle ()
> #1  0x0015d5af in curl_multi_perform ()
> #2  0x000b8782 in step_active_slots () at http.c:450
> #3  0x000b881c in run_active_slot (slot=0x50a450) at http.c:474
> #4  0x000bac5c in fetch (walker=0x5008d0, 
> sha1=0x4a791c "?u^?9l?\003?5??#??X\"?XL") at http-walker.c:846

FWIW I think the issue is related to the double cleanup I mentioned to 
Mike Hommey earlier.  At least when I undo the double cleanup, I do not 
get any segfaults anymore.

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: segfault during clone via http
  2009-02-04 20:34     ` Johannes Schindelin
@ 2009-02-04 21:39       ` Mike Hommey
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Hommey @ 2009-02-04 21:39 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: Adam Thorsen, git

On Wed, Feb 04, 2009 at 09:34:36PM +0100, Johannes Schindelin wrote:
> Hi,
> 
> On Wed, 4 Feb 2009, Adam Thorsen wrote:
> 
> > 
> > Here is the stack trace:
> > 
> > Program received signal EXC_BAD_ACCESS, Could not access memory.
> > Reason: KERN_INVALID_ADDRESS at address: 0x00494000
> > 0x0015bb04 in multi_runsingle ()
> > (gdb) bt
> > #0  0x0015bb04 in multi_runsingle ()
> > #1  0x0015d5af in curl_multi_perform ()
> > #2  0x000b8782 in step_active_slots () at http.c:450
> > #3  0x000b881c in run_active_slot (slot=0x50a450) at http.c:474
> > #4  0x000bac5c in fetch (walker=0x5008d0, 
> > sha1=0x4a791c "?u^?9l?\003?5??#??X\"?XL") at http-walker.c:846
> 
> FWIW I think the issue is related to the double cleanup I mentioned to 
> Mike Hommey earlier.  At least when I undo the double cleanup, I do not 
> get any segfaults anymore.

I thought it was not applied, in the end ?

Mike

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-02-04 21:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-04 16:10 segfault during clone via http Adam Thorsen
2009-02-04 18:00 ` Jay Soffian
2009-02-04 18:35   ` Adam Thorsen
2009-02-04 20:34     ` Johannes Schindelin
2009-02-04 21:39       ` Mike Hommey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).