Re: [ANNOUNCE] tig-0.14

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tilo Schwarz
Date: Saturday, February 21, 2009 - 10:35 am

On Sat, 21 Feb 2009 00:35:59 +0100, Jonas Fonseca  
<jonas.fonseca@gmail.com> wrote:

[...]

That's really nice!


Ok, here we go ;-).

I can trigger a SIGSEGV in da8b99da8f4dc5512c23154ec6c0aa7d3c313555
like this, using the tig repo itself:

- Start ./tig --all
- Enter the new branch view pressing 'H'
- Add a new branch foo using git checkout -b foo on some
   console or in tig using ':checkout -b foo'
- Press F5 in the branch view to reload
- Move cursor on the new branch foo
- Press ENTER

Then I get a SIGSEGV in line

6150                            if (ref->head)

(gdb) print *ref
Cannot access memory at address 0x2d676974

#0  0x08056427 in main_draw (view=0x8060500, line=0x9b61638, lineno=0) at  
tig.c:6150
#1  0x0804d19d in draw_view_line (view=0x8060500, lineno=0) at tig.c:2111
#2  0x0804d269 in redraw_view_from (view=0x8060500, lineno=0) at tig.c:2141
#3  0x0804d2bf in redraw_view (view=0x8060500) at tig.c:2152
#4  0x0804f70b in open_view (prev=0x8062fa8, request=REQ_VIEW_MAIN,  
flags=OPEN_SPLIT) at tig.c:3055
#5  0x08053241 in branch_request (view=0x8062fa8, request=REQ_ENTER,  
line=0x9b6b038) at tig.c:4783
#6  0x0804f9df in view_driver (view=0x8062fa8, request=REQ_ENTER) at  
tig.c:3142
#7  0x080594a3 in main (argc=Cannot access memory at address 0x3

I tried to track this down, but was not successful yet (having seen tig.c  
the first time today). I looked in get_refs and read_ref, but couldn't  
nail it down up to now. It feels, as if the refresh does find and update  
the new branch foo, but the corresponding commit->refs are not properly  
updated (just guessing).

Best regards & thank you for tig!

     Tilo
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ANNOUNCE] tig-0.14, Jonas Fonseca, (Thu Feb 5, 1:44 pm)
Re: [ANNOUNCE] tig-0.14, bill lam, (Fri Feb 6, 3:49 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Fri Feb 6, 7:29 am)
Re: [ANNOUNCE] tig-0.14, Jeff King, (Fri Feb 6, 12:15 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Fri Feb 6, 3:10 pm)
Re: [ANNOUNCE] tig-0.14, Jakub Narebski, (Fri Feb 6, 3:53 pm)
Re: [ANNOUNCE] tig-0.14, Mikael Magnusson, (Fri Feb 6, 7:48 pm)
Re: [ANNOUNCE] tig-0.14, Jeff King, (Sat Feb 7, 12:10 am)
Re: [ANNOUNCE] tig-0.14, Junio C Hamano, (Sat Feb 7, 12:28 am)
Re: [ANNOUNCE] tig-0.14, david, (Sat Feb 7, 1:55 am)
Re: [ANNOUNCE] tig-0.14, Jeff King, (Sat Feb 7, 4:26 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Sun Feb 8, 3:13 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Sun Feb 8, 3:31 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Sun Feb 8, 3:47 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Sun Feb 8, 3:55 am)
Re: [ANNOUNCE] tig-0.14, Jeff King, (Sun Feb 8, 4:00 am)
Re: [ANNOUNCE] tig-0.14, Jeff King, (Sun Feb 8, 4:06 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Sun Feb 8, 4:49 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Sun Feb 8, 4:52 am)
Re: [ANNOUNCE] tig-0.14, Peter Baumann, (Mon Feb 9, 3:07 pm)
Re: [ANNOUNCE] tig-0.14, Jeff King, (Mon Feb 9, 3:22 pm)
Re: [ANNOUNCE] tig-0.14, Peter Baumann, (Mon Feb 9, 3:30 pm)
Re: [ANNOUNCE] tig-0.14, Ted Pavlic, (Tue Feb 10, 6:29 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Tue Feb 10, 11:29 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Tue Feb 10, 11:42 am)
Re: [ANNOUNCE] tig-0.14, Brian Gernhardt, (Tue Feb 10, 12:07 pm)
Re: [ANNOUNCE] tig-0.14, Stefan Karpinski, (Tue Feb 10, 12:29 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Tue Feb 10, 1:41 pm)
Re: [ANNOUNCE] tig-0.14, Brian Gernhardt, (Tue Feb 10, 1:49 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Tue Feb 10, 2:13 pm)
Re: [ANNOUNCE] tig-0.14, Brian Gernhardt, (Tue Feb 10, 2:18 pm)
Re: [ANNOUNCE] tig-0.14, Jari Aalto, (Tue Feb 10, 2:23 pm)
Re: [ANNOUNCE] tig-0.14, Ted Pavlic, (Wed Feb 11, 7:03 am)
Re: [ANNOUNCE] tig-0.14, Ted Pavlic, (Wed Feb 11, 7:06 am)
Re: [ANNOUNCE] tig-0.14, Ted Pavlic, (Wed Feb 11, 7:12 am)
Re: [ANNOUNCE] tig-0.14, Ted Pavlic, (Wed Feb 11, 7:19 am)
Re: [ANNOUNCE] tig-0.14, Ted Pavlic, (Wed Feb 11, 10:47 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Wed Feb 11, 6:08 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Wed Feb 11, 6:30 pm)
Re: [ANNOUNCE] tig-0.14, Tilo Schwarz, (Thu Feb 12, 2:48 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Thu Feb 12, 3:24 pm)
Re: [ANNOUNCE] tig-0.14, Tilo Schwarz, (Thu Feb 12, 4:14 pm)
Re: [ANNOUNCE] tig-0.14, bill lam, (Thu Feb 12, 7:31 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Fri Feb 13, 4:57 pm)
Re: [ANNOUNCE] tig-0.14, bill lam, (Fri Feb 13, 8:31 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Sun Feb 15, 4:22 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Sun Feb 15, 4:47 pm)
Re: [ANNOUNCE] tig-0.14, Tilo Schwarz, (Mon Feb 16, 2:12 pm)
Re: [ANNOUNCE] tig-0.14, Tilo Schwarz, (Mon Feb 16, 2:55 pm)
Re: [ANNOUNCE] tig-0.14, Ted Pavlic, (Fri Feb 20, 10:24 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Fri Feb 20, 11:34 am)
Re: [ANNOUNCE] tig-0.14, Ted Pavlic, (Fri Feb 20, 1:36 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Fri Feb 20, 4:31 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Fri Feb 20, 4:35 pm)
Re: [ANNOUNCE] tig-0.14, Tilo Schwarz, (Sat Feb 21, 10:35 am)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Sat Feb 21, 10:41 am)
Re: [ANNOUNCE] tig-0.14, Tilo Schwarz, (Sat Feb 21, 1:18 pm)
Re: [ANNOUNCE] tig-0.14, Jonas Fonseca, (Wed Feb 25, 2:54 pm)