Package: git Version: 1:2.11.0-4 Severity: important Hi.
I am keeping my dotfiles on a git repository and I just tried to cherry-pick a commit from one branch to another and, to my surprise, it consistently segfaults (and leaves a lock file on the git repository). This is what running git under gdb with debug symbols give me: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - rbrito@g4:~/.dotfiles/config$ gdb git GNU gdb (Debian 7.12-6) 7.12.0.20161007-git Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "powerpc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from git...Reading symbols from /usr/lib/debug/.build-id/30/3bab2a397b912a0229aa38a3d8574d5d245624.debug...done. done. (gdb) set args cherry-pick -x 7eb3540b6e58735ff56e50d403ec0892f8878e2a (gdb) run Starting program: /usr/bin/git cherry-pick -x 7eb3540b6e58735ff56e50d403ec0892f8878e2a [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1". [New Thread 0xb75d2460 (LWP 29473)] [New Thread 0xb6dd2460 (LWP 29474)] [Thread 0xb75d2460 (LWP 29473) exited] [Thread 0xb6dd2460 (LWP 29474) exited] Thread 1 "git" received signal SIGSEGV, Segmentation fault. add_index_entry_with_check (option=0, ce=0x0, istate=0x10237348 <the_index>) at read-cache.c:1012 1012 read-cache.c: No such file or directory. (gdb) bt #0 add_index_entry_with_check (option=0, ce=0x0, istate=0x10237348 <the_index>) at read-cache.c:1012 #1 add_index_entry (istate=0x10237348 <the_index>, ce=0x0, option=0) at read-cache.c:1061 #2 0x100f7b70 in merge_content (o=o@entry=0xbfffe55c, path=path@entry=0x103d40c0 "xbmc/userdata/sources.xml", o_oid=<optimized out>, o_oid@entry=0x102e724c, o_mode=o_mode@entry=33188, a_oid=a_oid@entry=0x102e7264, a_mode=a_mode@entry=33188, b_oid=b_oid@entry=0x102e727c, b_mode=<optimized out>, rename_conflict_info=0x102a72c0) at merge-recursive.c:1727 #3 0x100f8594 in process_entry (entry=<optimized out>, path=<optimized out>, o=0xbfffe55c) at merge-recursive.c:1885 #4 merge_trees (o=o@entry=0xbfffe55c, head=head@entry=0x102493e0, merge=<optimized out>, merge@entry=0x102493c0, common=<optimized out>, common@entry=0x10249400, result=result@entry=0xbfffe550) at merge-recursive.c:1948 #5 0x10148f64 in do_recursive_merge (opts=0xbfffea48, msgbuf=0xbfffe544, head=0xbfffe5e4 "\364dK\257{\310-D\025\373\361\370\264id\274⦧\243\020#\243\300\020#\243\300\277\377\346\060(", next_label=<optimized out>, base_label=<optimized out>, next=<optimized out>, base=<optimized out>) at sequencer.c:389 #6 do_pick_commit (command=TODO_PICK, commit=commit@entry=0x1023e3b0, opts=opts@entry=0xbfffea48) at sequencer.c:757 #7 0x1014ab48 in single_pick (opts=0xbfffea48, cmit=0x1023e3b0) at sequencer.c:1329 #8 sequencer_pick_revisions (opts=0xbfffea48) at sequencer.c:1378 #9 0x1007568c in run_sequencer (argc=<optimized out>, argc@entry=3, argv=argv@entry=0xbfffef08, opts=<optimized out>, opts@entry=0xbfffea48) at builtin/revert.c:178 #10 0x10075b10 in cmd_cherry_pick (argc=3, argv=0xbfffef08, prefix=<optimized out>) at builtin/revert.c:203 #11 0x100046c8 in run_builtin (argv=<optimized out>, argc=<optimized out>, p=<optimized out>) at git.c:373 #12 handle_builtin (argc=3, argv=0xbfffef08) at git.c:572 #13 0x10004b54 in run_argv (argv=0xbfffeb58, argcp=0xbfffeb5c) at git.c:630 #14 cmd_main (argc=<optimized out>, argc@entry=4, argv=<optimized out>, argv@entry=0xbfffef04) at git.c:707 #15 0x10003894 in main (argc=4, argv=0xbfffef04) at common-main.c:40 (gdb) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - If there is any extra information that yout want me to provide, please let me know and I will do my best. Thanks, Rogério Brito. -- System Information: Debian Release: 9.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 4.9.0-3-powerpc Locale: LANG=en_US.utf-8, LC_CTYPE=pt_BR.utf-8 (charmap=UTF-8), LANGUAGE=en_US.utf-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages git depends on: ii dpkg 1.18.24 ii git-man 1:2.11.0-4 ii libc6 2.24-11 ii libcurl3-gnutls 7.52.1-5 ii liberror-perl 0.17024-1 ii libexpat1 2.2.0-2 ii libpcre3 2:8.39-3 ii perl 5.24.1-3 ii zlib1g 1:1.2.8.dfsg-5 Versions of packages git recommends: ii less 481-2.1 ii openssh-client [ssh-client] 1:7.4p1-11 ii patch 2.7.5-1+b2 Versions of packages git suggests: ii gettext-base 0.19.8.1-2 pn git-arch <none> pn git-cvs <none> pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el <none> ii git-email 1:2.11.0-4 pn git-gui <none> pn git-mediawiki <none> pn git-svn <none> ii gitk 1:2.11.0-4 pn gitweb <none> -- no debconf information -- Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

