From: Ævar Arnfjörð Bjarmason Date: Tue, 26 Oct 2010 09:47:30 GMT Subject: Re: git status & seg.fault Message-ID: In-Reply-To: On Tue, Oct 26, 2010 at 11:45, Rado Dr. wrote: > there is output: > Reading symbols from /usr/local/bin/git...done. > (gdb) run > Starting program: /usr/local/bin/git status > [Thread debugging using libthread_db enabled] > > Program received signal SIGSEGV, Segmentation fault. > hash_index_entry (istate=, ce=0xb7c00c90) at name-hash.c:44 > 44              hash = hash_name(ce->name, ce_namelen(ce)); > (gdb) bt full > #0  hash_index_entry (istate=, ce=0xb7c00c90) at > name-hash.c:44 >        pos = >        hash = 3198509075 > #1  0x080dde47 in lazy_init_name_hash (istate=0x8194180, > name=0xbfffb34b "src/FotoPlusServer/build.xml", namelen=28, icase=0) >    at name-hash.c:59 >        nr = 16273 > #2  index_name_exists (istate=0x8194180, name=0xbfffb34b > "src/FotoPlusServer/build.xml", namelen=28, icase=0) at > name-hash.c:108 >        hash = >        ce = > #3  0x080cf190 in dir_add_name (dir=, base= optimized out>, baselen=, check_only=0, >    simplify=0x0) at dir.c:449 > No locals. I haven't tried to grok all that, but you'd get a better backtrace if you compiled git with debug flags, e.g.: make CFLAGS="-O0 -ggdb3" And then did gdb ./git .... Sorry for not mentioning it to begin with.