git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git status & seg.fault

From
Rado Dr. <radodr@gmail.com>
Date
Oct 26, 2010, 09:54 UTC
Message-ID
<AANLkTi=7ZHmN5NU4RGY+xH2=w=5B-0JDbniwn03zCfcO@mail.gmail.com>
In-Reply-To
<AANLkTinpUKP8XaLR6d530BW8DuFqUzettuivin88xwuE@mail.gmail.com>
Here we are:

(gdb) run Starting program: /usr/local/bin/git status [Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x080ed94d in hash_name (name=0xb7c09000 <Address 0xb7c09000 out of
bounds>, namelen=-33580) at name-hash.c:28
28			unsigned char c = *name++;
(gdb) bt full
#0  0x080ed94d in hash_name (name=0xb7c09000 <Address 0xb7c09000 out
of bounds>, namelen=-33580) at name-hash.c:28
        c = 0 '\000'
        hash = 3198509075
#1  0x080ed9d5 in hash_index_entry (istate=0x81b5600, ce=0xb7c00c90)
at name-hash.c:44
        pos = 0x0
        hash = 1031650602
#2  0x080eda52 in lazy_init_name_hash (istate=0x81b5600) at name-hash.c:59
        nr = 16272
#3  0x080edbe3 in index_name_exists (istate=0x81b5600, name=0xbfffb36b
"src/FotoPlusServer/build.xml", namelen=28, icase=0) at
name-hash.c:108
        hash = 842511099
        ce = 0xbfffb358
#4  0x080dbea1 in dir_add_name (dir=0xbfffe4f4, pathname=0xbfffb36b
"src/FotoPlusServer/build.xml", len=28) at dir.c:449
No locals.
#5  0x080dc916 in read_directory_recursive (dir=0xbfffe4f4,
base=0xbfffc3cb "src/FotoPlusServer/", baselen=19, check_only=0,
simplify=0x0) at dir.c:809
        len = 28
        de = 0x84a9bf0
        path = "src/FotoPlusServer/build.xml", '\000' <repeats 481
times>, "s\232\352\267Q\275\377\277\250\316\377\277\026\000\000\000\\\273\377\277\v\000\000\000\360\273\377\277\v\000\000\000\364_\371\267\\\273\377\277\360\273\377\277(\273\377\277\036\315\347\267\\\273\377\277Z\031\026\b\v",
'\000' <repeats 91 times>"\377, \377\377\377", '\000' <repeats 28
times>, " ", '\000' <repeats 31 times>"\200,
\272\377\277\000\000\000\000v\373\377\377", '\000' <repeats 16
times>"\352, \377\377\377\000\000\000\000\000\000\000\000\202\357\347\267\000\000\000\000j\031\026\b\340V\371\267j\031\026\b\360\273\377\277\002\000\000\000e\031\026\b\000\000\000\000\204\274\377\277Z\031\026\b\v",
'\000' <repeats 963 times>,
"s\232\352\267A\302\377\277\230\323\377\277\026\000\000\000L\300\377\277\v\000\000\000\340\300\377\277\v\000\000\000\364_\371\267L\300\377\277\340\300\377\277\030\300\377\277\036\315\347\267L\300\377\277Z\031\026\b\v",
'\000' <repeats 91 times>"\377,
\377\377\377\000\000\000\000\000\000\000\000\364"...
        fdir = 0x84a9bd8
        contents = 1
#6  0x080dc8df in read_directory_recursive (dir=0xbfffe4f4,
base=0xbfffd42b "src/", baselen=4, check_only=0, simplify=0x0) at
dir.c:797
        len = 19
        de = 0x8435168
        path = "src/FotoPlusServer/", '\000' <repeats 874 times>,
"s\232\352\267", '\000' <repeats 16 times>,
"\005\000\000\000\320\315\377\277\005\000\000\000\364_\371\267<\315\377\277;\032\026\b\b\315\377\277\"\322\347\267<\315\377\277\066\032\026\b\005",
'\000' <repeats 23 times>, "\005", '\000' <repeats 67 times>"\377,
\377\377\377", '\000' <repeats 28 times>, " ", '\000' <repeats 31
times>, "`\314\377\277\000\000\000\000v\373\377\377\000\000\000\000\065\032\026\b\000\000\000\000\000\000\000\000\374\377\377\377\000\000\000\000\000\000\000\000\202\357\347\267\000\000\000\000\066\032\026\b\340V\371\267;\032\026\b\320\315\377\277\002\000\000\000\062\032\026\b\000\000\000\000t\316\377\277%\032\026\b\026",
'\000' <repeats 395 times>, "q\a\347\267", '\000' <repeats 40
times>"\377, \377\377\377\000\000\000\000\005\000\000\000\240\312\377\277",
'\000' <repeats 12 times>"\231"...
        fdir = 0x8435150
        contents = 0
#7  0x080dc8df in read_directory_recursive (dir=0xbfffe4f4,
base=0x815dbde "", baselen=0, check_only=0, simplify=0x0) at dir.c:797
        len = 4
        de = 0x842d148
        path = "src/\000vl\276\267I\000\000\000\000\200\000\000ܻ2\b\307E\353\267\000\000\000\000\244\327\377\277\022\322\017\b~l\276\267\267\314A\b\a\000\000\000\000\000\000\000vl\276\267\000\000\000\000\a\000\000\000[\000//dk\276\267\026\000\000\000\310\324\377\277\224\237\022\b~l\276\267A\000\000\000\000\200\000\000\267\314A\b\307E\353\267\000\000\000\000\244\327\377\277\022\322\017\b\206l\276\267~GD\b\a\000\000\000\000\000\000\000~l\276\267\000\000\000\000\a\000\000\000[\000//\001\000\000\000\000\000\000\000\030\325\377\277\224\237\022\b\206l\276\267\071\000\000\000\000\200\000\000~GD\b\307E\353\267\000\000\000\000\244\327\377\277\022\322\017\b\216l\276\267\024\362D\b\b\000\000\000\000\000\000\000\206l\276\267\000\000\000\000\b\000\000\000[\000//#\227\067\b\270\325\377\277h\325\377\277\224\237\022\b\216l\276\267\061\000\000\000\000\200\000\000\024\362D\b\307E\353\267\000\000\000\000\244\327\377\277\022\322\017\b\227l\276\267d\t%\b\b\000\000\000\000\000\000\000\216l\276"...
        fdir = 0x842d130
        contents = 0
#8  0x080dcd3b in read_directory (dir=0xbfffe4f4, path=0x815dbde "",
len=0, pathspec=0x0) at dir.c:916
        simplify = 0x0
#9  0x080db157 in fill_directory (dir=0xbfffe4f4, pathspec=0x0) at dir.c:70
        path = 0x815dbde ""
          basebuf = "src/FotoPlusServer/\000gitignore", '\000'
<repeats 4066 times>}
#11 0x081307a2 in wt_status_collect (s=0xbffff5a8) at wt-status.c:423
No locals.
#12 0x0806632d in cmd_status (argc=0, argv=0xbffff968, prefix=0x0) at
builtin/commit.c:1104
        s = {is_initial = 0, branch = 0x81b62a0
"refs/heads/uploadFiles", reference = 0x8167a22 "HEAD", pathspec =
0x0, verbose = 0, amend = 0, in_merge = 0, nowarn = 0, use_color = -1,
          relative_paths = 1, submodule_summary = 0,
show_ignored_files = 0, show_untracked_files =
SHOW_NORMAL_UNTRACKED_FILES, ignore_submodule_arg = 0x0, color_palette
= {'\000' <repeats 39 times>,
            "\033[33m", '\000' <repeats 34 times>, "\033[32m", '\000'
<repeats 34 times>, "\033[36m", '\000' <repeats 34 times>, "\033[31m",
'\000' <repeats 34 times>,
            "\033[31m", '\000' <repeats 34 times>, "\033[32m", '\000'
<repeats 34 times>, "\033[31m", '\000' <repeats 34 times>}, commitable
= 0, workdir_dirty = 1,
          index_file = 0x81b61a0 ".git/index", fp = 0xb7f964e0, prefix
= 0x0, change = {items = 0x8498228, nr = 430, alloc = 448,
strdup_strings = 1}, untracked = {items = 0x0, nr = 0, alloc = 0,
            strdup_strings = 1}, ignored = {items = 0x0, nr = 0, alloc
= 0, strdup_strings = 1}}
        fd = 5
        sha1 = "j\201\033YO;}d\323\v\313\062\372\205\264{A\353Hh"
        builtin_status_options = {{type = OPTION_BOOLEAN, short_name =
118, long_name = 0x8145c5d "verbose", value = 0x8179434, argh = 0x0,
help = 0x8145c65 "be verbose", flags = 2, callback = 0,
            defval = 0}, {type = OPTION_SET_INT, short_name = 115,
long_name = 0x8145f97 "short", value = 0x8179484, argh = 0x0, help =
0x8145f9d "show status concisely", flags = 2, callback = 0,
            defval = 1}, {type = OPTION_BOOLEAN, short_name = 98,
long_name = 0x8145fb3 "branch", value = 0x8179488, argh = 0x0, help =
0x8145fba "show branch information", flags = 2, callback = 0,
            defval = 0}, {type = OPTION_SET_INT, short_name = 0,
long_name = 0x8145fd2 "porcelain", value = 0x8179484, argh = 0x0, help
= 0x8145fdc "show porcelain output format", flags = 2,
            callback = 0, defval = 2}, {type = OPTION_BOOLEAN,
short_name = 122, long_name = 0x8145ff9 "null", value = 0x8179480,
argh = 0x0, help = 0x8145ffe "terminate entries with NUL", flags = 2,
            callback = 0, defval = 0}, {type = OPTION_STRING,
short_name = 117, long_name = 0x814605e "untracked-files", value =
0x8179450, argh = 0x814606e "mode",
            help = 0x8146d78 "show untracked files, optional modes:
all, normal, no. (Default: all)", flags = 1, callback = 0, defval =
135552702}, {type = OPTION_BOOLEAN, short_name = 0,
            long_name = 0x8146dbe "ignored", value = 0x817946c, argh =
0x0, help = 0x8146dc6 "show ignored files", flags = 2, callback = 0,
defval = 0}, {type = OPTION_STRING, short_name = 0,
            long_name = 0x8146dd9 "ignore-submodules", value =
0x8179458, argh = 0x8146deb "when",
            help = 0x8146df0 "ignore changes to submodules, optional
when: all, dirty, untracked. (Default: all)", flags = 1, callback = 0,
defval = 135552702}, {type = OPTION_END, short_name = 0,
            long_name = 0x0, value = 0x0, argh = 0x0, help = 0x0,
flags = 0, callback = 0, defval = 0}}
#13 0x0804bbb4 in run_builtin (p=0x816a760, argc=1, argv=0xbffff968)
at git.c:275
        status = -1209323120
        help = 0
        st = {st_dev = 7165064483209180463, __pad1 = 50624, __st_ino =
3086589952, st_mode = 1920169263, st_nlink = 4294967295, st_uid =
3087003636, st_gid = 134519560, st_rdev = 13258579662338732358,
          __pad2 = 1699, st_size = -5189937631567283536, st_blksize =
1, st_blocks = 1, st_atim = {tv_sec = 1, tv_nsec = 134517876}, st_mtim
= {tv_sec = 135701220, tv_nsec = 0}, st_ctim = {
            tv_sec = -1209743936, tv_nsec = -1208393740}, st_ino = 0}
        prefix = 0x0
#14 0x0804bd12 in handle_internal_command (argc=1, argv=0xbffff968) at git.c:431
        p = 0x816a760
        cmd = 0xbffffae4 "status"
        commands = {{cmd = 0x8140240 "add", fn = 0x804cc5c <cmd_add>,
option = 9}, {cmd = 0x8140244 "stage", fn = 0x804cc5c <cmd_add>,
option = 9}, {cmd = 0x814024a "annotate",
            fn = 0x804d210 <cmd_annotate>, option = 1}, {cmd =
0x8140253 "apply", fn = 0x805501a <cmd_apply>, option = 2}, {cmd =
0x8140259 "archive", fn = 0x8055cc9 <cmd_archive>, option = 0}, {
            cmd = 0x8140261 "bisect--helper", fn = 0x8055ea4
<cmd_bisect__helper>, option = 9}, {cmd = 0x8140270 "blame", fn =
0x805a3d8 <cmd_blame>, option = 1}, {cmd = 0x8140276 "branch",
            fn = 0x805c4d1 <cmd_branch>, option = 1}, {cmd = 0x814027d
"bundle", fn = 0x805cc64 <cmd_bundle>, option = 2}, {cmd = 0x8140284
"cat-file", fn = 0x805d798 <cmd_cat_file>, option = 1}, {
            cmd = 0x814028d "checkout", fn = 0x8060b0d <cmd_checkout>,
option = 9}, {cmd = 0x8140296 "checkout-index", fn = 0x805e849
<cmd_checkout_index>, option = 9}, {
            cmd = 0x81402a5 "check-ref-format", fn = 0x805e06b
<cmd_check_ref_format>, option = 0}, {cmd = 0x81402b6 "check-attr", fn
= 0x805dd3a <cmd_check_attr>, option = 1}, {
            cmd = 0x81402c1 "cherry", fn = 0x80830c9 <cmd_cherry>,
option = 1}, {cmd = 0x81402c8 "cherry-pick", fn = 0x80a96f2
<cmd_cherry_pick>, option = 9}, {cmd = 0x81402d4 "clone",
            fn = 0x8062aa5 <cmd_clone>, option = 0}, {cmd = 0x81402da
"clean", fn = 0x80616a4 <cmd_clean>, option = 9}, {cmd = 0x81402e0
"commit", fn = 0x80669b5 <cmd_commit>, option = 9}, {
            cmd = 0x81402e7 "commit-tree", fn = 0x80637c4
<cmd_commit_tree>, option = 1}, {cmd = 0x81402f3 "config", fn =
0x8067d09 <cmd_config>, option = 2}, {cmd = 0x81402fa "count-objects",
            fn = 0x80688b2 <cmd_count_objects>, option = 1}, {cmd =
0x8140308 "describe", fn = 0x80699da <cmd_describe>, option = 1}, {cmd
= 0x8140311 "diff", fn = 0x806b3ab <cmd_diff>, option = 0}, {
            cmd = 0x8140316 "diff-files", fn = 0x8069ed4
<cmd_diff_files>, option = 9}, {cmd = 0x8140321 "diff-index", fn =
0x806a170 <cmd_diff_index>, option = 1}, {cmd = 0x814032c "diff-tree",
            fn = 0x806a735 <cmd_diff_tree>, option = 1}, {cmd =
0x8140336 "fast-export", fn = 0x806d187 <cmd_fast_export>, option =
1}, {cmd = 0x8140342 "fetch", fn = 0x8071ee4 <cmd_fetch>,
            option = 1}, {cmd = 0x8140348 "fetch-pack", fn = 0x806f4e8
<cmd_fetch_pack>, option = 1}, {cmd = 0x8140353 "fmt-merge-msg", fn =
0x8072f63 <cmd_fmt_merge_msg>, option = 1}, {
            cmd = 0x8140361 "for-each-ref", fn = 0x8075280
<cmd_for_each_ref>, option = 1}, {cmd = 0x814036e "format-patch", fn =
0x8081df4 <cmd_format_patch>, option = 1}, {cmd = 0x814037b "fsck",
            fn = 0x8076899 <cmd_fsck>, option = 1}, {cmd = 0x8140380
"fsck-objects", fn = 0x8076899 <cmd_fsck>, option = 1}, {cmd =
0x814038d "gc", fn = 0x807711f <cmd_gc>, option = 1}, {
            cmd = 0x8140390 "get-tar-commit-id", fn = 0x80b0e11
<cmd_get_tar_commit_id>, option = 0}, {cmd = 0x81403a2 "grep", fn =
0x80790a3 <cmd_grep>, option = 2}, {cmd = 0x81403a7 "hash-object",
            fn = 0x807a6ce <cmd_hash_object>, option = 0}, {cmd =
0x814018c "help", fn = 0x807b78f <cmd_help>, option = 0}, {cmd =
0x81403b3 "index-pack", fn = 0x807db0d <cmd_index_pack>, option = 2},
          {cmd = 0x81403be "init", fn = 0x807f55a <cmd_init_db>,
option = 0}, {cmd = 0x81403c3 "init-db", fn = 0x807f55a <cmd_init_db>,
option = 0}, {cmd = 0x81403cb "log", fn = 0x8080ce2 <cmd_log>,
            option = 1}, {cmd = 0x81403cf "ls-files", fn = 0x80846ce
<cmd_ls_files>, option = 1}, {cmd = 0x81403d8 "ls-tree", fn =
0x80857c5 <cmd_ls_tree>, option = 1}, {cmd = 0x81403e0 "ls-remote",
            fn = 0x80850df <cmd_ls_remote>, option = 2}, {cmd =
0x81403ea "mailinfo", fn = 0x8087f61 <cmd_mailinfo>, option = 0}, {cmd
= 0x81403f3 "mailsplit", fn = 0x8088b19 <cmd_mailsplit>,
            option = 0}, {cmd = 0x81403fd "merge", fn = 0x808b8cb
<cmd_merge>, option = 9}, {cmd = 0x8140403 "merge-base", fn =
0x808ca8d <cmd_merge_base>, option = 1}, {cmd = 0x814040e
"merge-file",
            fn = 0x808ccc0 <cmd_merge_file>, option = 2}, {cmd =
0x8140419 "merge-index", fn = 0x808d48f <cmd_merge_index>, option =
1}, {cmd = 0x8140425 "merge-ours", fn = 0x808d5f4 <cmd_merge_ours>,
            option = 1}, {cmd = 0x8140430 "merge-recursive", fn =
0x808d6b6 <cmd_merge_recursive>, option = 9}, {cmd = 0x8140440
"merge-recursive-ours", fn = 0x808d6b6 <cmd_merge_recursive>,
            option = 9}, {cmd = 0x8140455 "merge-recursive-theirs", fn
= 0x808d6b6 <cmd_merge_recursive>, option = 9}, {cmd = 0x814046c
"merge-subtree", fn = 0x808d6b6 <cmd_merge_recursive>,
            option = 9}, {cmd = 0x814047a "merge-tree", fn = 0x808e43a
<cmd_merge_tree>, option = 1}, {cmd = 0x8140485 "mktag", fn =
0x808e9f9 <cmd_mktag>, option = 1}, {cmd = 0x814048b "mktree",
            fn = 0x808f046 <cmd_mktree>, option = 1}, {cmd = 0x8140492
"mv", fn = 0x808f3e4 <cmd_mv>, option = 9}, {cmd = 0x8140495
"name-rev", fn = 0x809040f <cmd_name_rev>, option = 1}, {
            cmd = 0x814049e "notes", fn = 0x8092d45 <cmd_notes>,
option = 1}, {cmd = 0x81404a4 "pack-objects", fn = 0x809779e
<cmd_pack_objects>, option = 1}, {cmd = 0x81404b1 "pack-redundant",
            fn = 0x8099044 <cmd_pack_redundant>, option = 1}, {cmd =
0x81404c0 "patch-id", fn = 0x8099aa7 <cmd_patch_id>, option = 0}, {cmd
= 0x81404c9 "peek-remote", fn = 0x80850df <cmd_ls_remote>,
            option = 2}, {cmd = 0x81404d5 "pickaxe", fn = 0x805a3d8
<cmd_blame>, option = 1}, {cmd = 0x81404dd "prune", fn = 0x809a2d9
<cmd_prune>, option = 1}, {cmd = 0x81404e3 "prune-packed",
            fn = 0x8099d63 <cmd_prune_packed>, option = 1}, {cmd =
0x81404f0 "push", fn = 0x809ac29 <cmd_push>, option = 1}, {cmd =
0x81404f5 "read-tree", fn = 0x809b2e0 <cmd_read_tree>, option = 1}, {
            cmd = 0x81404ff "receive-pack", fn = 0x809d6a6
<cmd_receive_pack>, option = 0}, {cmd = 0x814050c "reflog", fn =
0x809f614 <cmd_reflog>, option = 1}, {cmd = 0x8140513 "remote",
            fn = 0x80a3710 <cmd_remote>, option = 1}, {cmd = 0x814051a
"replace", fn = 0x80a3d9e <cmd_replace>, option = 1}, {cmd = 0x8140522
"repo-config", fn = 0x8067d09 <cmd_config>, option = 2}, {
            cmd = 0x814052e "rerere", fn = 0x80a442a <cmd_rerere>,
option = 1}, {cmd = 0x8140535 "reset", fn = 0x80a4f5e <cmd_reset>,
option = 1}, {cmd = 0x814053b "rev-list",
            fn = 0x80a60c1 <cmd_rev_list>, option = 1}, {cmd =
0x8140544 "rev-parse", fn = 0x80a744a <cmd_rev_parse>, option = 0},
{cmd = 0x814054e "revert", fn = 0x80a96b4 <cmd_revert>, option = 9}, {
            cmd = 0x8140555 "rm", fn = 0x80a9ae5 <cmd_rm>, option =
1}, {cmd = 0x8140558 "send-pack", fn = 0x80aac7e <cmd_send_pack>,
option = 1}, {cmd = 0x8140562 "shortlog",
            fn = 0x80abe10 <cmd_shortlog>, option = 6}, {cmd =
0x814056b "show-branch", fn = 0x80ad6ae <cmd_show_branch>, option =
1}, {cmd = 0x8140577 "show", fn = 0x80806fa <cmd_show>, option = 1}, {
            cmd = 0x814057c "status", fn = 0x8066142 <cmd_status>,
option = 9}, {cmd = 0x8140583 "stripspace", fn = 0x80af2f3
<cmd_stripspace>, option = 0}, {cmd = 0x814058e "symbolic-ref",
            fn = 0x80af479 <cmd_symbolic_ref>, option = 1}, {cmd =
0x814059b "tag", fn = 0x80b0330 <cmd_tag>, option = 1}, {cmd =
0x814059f "tar-tree", fn = 0x80b0c44 <cmd_tar_tree>, option = 0}, {
            cmd = 0x81405a8 "unpack-file", fn = 0x80b1018
<cmd_unpack_file>, option = 1}, {cmd = 0x81405b4 "unpack-objects", fn
= 0x80b2366 <cmd_unpack_objects>, option = 1}, {
            cmd = 0x81405c3 "update-index", fn = 0x80b3c1b
<cmd_update_index>, option = 1}, {cmd = 0x81405d0 "update-ref", fn =
0x80b45af <cmd_update_ref>, option = 1}, {
            cmd = 0x81405db "update-server-info", fn = 0x80b4894
<cmd_update_server_info>, option = 1}, {cmd = 0x81405ee
"upload-archive", fn = 0x80b4d42 <cmd_upload_archive>, option = 0}, {
            cmd = 0x81405fd "var", fn = 0x80b513a <cmd_var>, option =
2}, {cmd = 0x8140601 "verify-tag", fn = 0x80b5cc0 <cmd_verify_tag>,
option = 1}, {cmd = 0x814060c "version",
            fn = 0x80e475f <cmd_version>, option = 0}, {cmd =
0x8140614 "whatchanged", fn = 0x808037e <cmd_whatchanged>, option =
1}, {cmd = 0x8140620 "write-tree", fn = 0x80b5dcc <cmd_write_tree>,
            option = 1}, {cmd = 0x814062b "verify-pack", fn =
0x80b57ac <cmd_verify_pack>, option = 0}, {cmd = 0x8140637 "show-ref",
fn = 0x80aeeda <cmd_show_ref>, option = 1}, {
            cmd = 0x8140640 "pack-refs", fn = 0x8099468
<cmd_pack_refs>, option = 1}}
        i = 88
        ext = ""
#15 0x0804bdee in run_argv (argcp=0xbffff8c0, argv=0xbffff8c4) at git.c:475
        done_alias = 0
#16 0x0804bf60 in main (argc=1, argv=0xbffff968) at git.c:548
        done_help = 0
        was_alias = 0
        cmd = 0xbffffae4 "status"
(gdb)
2010/10/26 Ævar Arnfjörð Bjarmason <avarab@gmail.com>:
Show 36 quoted lines
> On Tue, Oct 26, 2010 at 11:45, Rado Dr. <radodr@gmail.com> 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=<value optimized out>, ce=0xb7c00c90) at name-hash.c:44
>> 44              hash = hash_name(ce->name, ce_namelen(ce));
>> (gdb) bt full
>> #0  hash_index_entry (istate=<value optimized out>, ce=0xb7c00c90) at
>> name-hash.c:44
>>        pos = <value optimized out>
>>        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 = <value optimized out>
>>        ce = <value optimized out>
>> #3  0x080cf190 in dir_add_name (dir=<value optimized out>, base=<value
>> optimized out>, baselen=<value optimized out>, 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.
>
-- 
Rado Dr.
Previous: Ævar Arnfjörð BjarmasonNext: Nguyen Thai Ngoc Duy
Message 5 of 7 in “Fwd: git status & seg.fault”
  1. Rado Dr.Oct 26, 2010
  2. Ævar Arnfjörð BjarmasonOct 26, 2010
  3. Rado Dr.Oct 26, 2010
  4. Ævar Arnfjörð BjarmasonOct 26, 2010
  5. Rado Dr.Oct 26, 2010
  6. Nguyen Thai Ngoc DuyNov 7, 2010
  7. Rado Dr.Nov 7, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.