git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 'git -m' dumps core
@ 2011-11-02 14:29 Stefan Näwe
  2011-11-02 15:01 ` [PATCH] branch -m: handle no arg properly Tay Ray Chuan
  2011-11-02 15:07 ` [PATCH] t3200: add test case for 'branch -m' Stefan Naewe
  0 siblings, 2 replies; 6+ messages in thread
From: Stefan Näwe @ 2011-11-02 14:29 UTC (permalink / raw)
  To: git@vger.kernel.org; +Cc: Junio C. Hamano

$ /usr/local/git-v1.7.8-rc0/bin/git version
git version 1.7.8.rc0

$ /usr/local/git-v1.7.8-rc0/bin/git branch -m
Speicherzugriffsfehler (core dumped)

$ /usr/local/git-v1.7.8-rc0/bin/git branch --move
Speicherzugriffsfehler (core dumped)

GDB says:

(gdb) bt
#0  0xb74694f3 in strlen () from /lib/i686/cmov/libc.so.6
#1  0x0810f1ad in strbuf_branchname (sb=0xbfb20bbc, name=0x0) at sha1_name.c:873
#2  0x0810f20e in strbuf_check_branch_ref (sb=0xbfb20bbc, name=0x0) at sha1_name.c:882
#3  0x080b516a in validate_new_branchname (name=0x0, ref=0xbfb20bbc, force=0, attr_only=0) at branch.c:142
#4  0x080b550c in create_branch (head=0x94e32ab "master", name=0x0, start_name=0x94e32ab "master", force=0, reflog=0, track=BRANCH_TRACK_REMOTE)
    at branch.c:177
#5  0x0805a8fe in cmd_branch (argc=0, argv=0xbfb215f8, prefix=0x0) at builtin/branch.c:729
#6  0x0804ba29 in handle_internal_command (argc=2, argv=0xbfb215f8) at git.c:308
#7  0x0804bc67 in main (argc=2, argv=0xbfb215f8) at git.c:512


Stefan
-- 
----------------------------------------------------------------
/dev/random says: If ignorance is bliss, you must be ecstatic.
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')"

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

end of thread, other threads:[~2011-11-02 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 14:29 'git -m' dumps core Stefan Näwe
2011-11-02 15:01 ` [PATCH] branch -m: handle no arg properly Tay Ray Chuan
2011-11-02 15:09   ` Stefan Näwe
2011-11-02 16:17     ` Tay Ray Chuan
2011-11-02 15:07 ` [PATCH] t3200: add test case for 'branch -m' Stefan Naewe
2011-11-02 19:43   ` Junio C Hamano

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).