From: Pieter de Bie Date: Thu, 21 Feb 2008 17:17:45 GMT Subject: Re: [Bug] Segfault in git status Message-ID: <9E63BCA0-A99A-468D-8DC9-47860D60BB5B@ai.rug.nl> In-Reply-To: <76718490802210853t23b0498fkfb9a14bcd50ca458@mail.gmail.com> On Feb 21, 2008, at 5:53 PM, Jay Soffian wrote: >> > Do that again, but type "bt" at the gdb prompt after the crash > please. :-) > > j. Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x004a2010 index_name_exists (istate=0xeba80, name=0xbfffdc27 "Data/Cache/ Template/Peter_II_of_Yugoslavia.html", namelen=47) at read-cache.c:101 101 if (!(ce->ce_flags & CE_UNHASHED)) { (gdb) backtrace #0 index_name_exists (istate=0xeba80, name=0xbfffdc27 "Data/Cache/ Template/Peter_II_of_Yugoslavia.html", namelen=47) at read-cache.c:101 #1 0x0006fc04 in dir_add_name (dir=0xbfffef68, pathname=0xbfffdc27 "Data/Cache/Template/Peter_II_of_Yugoslavia.html", len=47) at dir.c:374 #2 0x00070d11 in read_directory_recursive (dir=0xbfffef68, path=, base=, baselen=20, check_only=0, simplify=0x8072cc) at dir.c:642 #3 0x00070baf in read_directory_recursive (dir=0xbfffef68, path=, base=, baselen=11, check_only=0, simplify=) at dir.c:627 #4 0x00070baf in read_directory_recursive (dir=0xbfffef68, path=, base=, baselen=5, check_only=0, simplify=) at dir.c:627 #5 0x00070baf in read_directory_recursive (dir=0xbfffef68, path=, base=, baselen=0, check_only=0, simplify=) at dir.c:627 #6 0x00070ed3 in read_directory (dir=0xbfffef68, path=0xc446c ".", base=0xbb080 "", baselen=4857836, pathspec=0x0) at dir.c:715 #7 0x0009d4d6 in wt_status_print (s=0xbffff5ac) at wt-status.c:282 #8 0x000167c3 in run_status (fp=0xa015f5f8, index_file=0x500300 "/ Users/pieter/Documents/Studie/2007-2008/AWT/Project/.git/index", prefix=0x0, nowarn=4857836) at builtin-commit.c:347 #9 0x000171af in cmd_status (argc=1, argv=0x0, prefix=0x500300 "/ Users/pieter/Documents/Studie/2007-2008/AWT/Project/.git/index") at builtin-commit.c:783 #10 0x00002260 in handle_internal_command (argc=1, argv=0xbffff7b8) at git.c:259 #11 0x0000246f in main (argc=1, argv=0xbffff7b8) at git.c:451 There ya go - Pieter