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

Re: seg fault in "git format-patch"

From
Bruce Korb <bruce.korb@gmail.com>
Date
May 31, 2015, 20:41 UTC
Message-ID
<CAKRnqNKVfzt_qMqoxsjMpunUYDNYd8C0jACM69HxGhJHEeVY-Q@mail.gmail.com>
In-Reply-To
<CAP8UFD0Pi3_hF0+S3AXktD5NkBL_Q1mU_oN4fULyZemDEUr8Jg@mail.gmail.com>
bt won't help much:

Program received signal SIGSEGV, Segmentation fault. 0x000000000047e62f in ?? () (gdb) bt #0 0x000000000047e62f in ?? () #1 0x000000000047e6ba in ?? () #2 0x000000000043cb9a in ?? () #3 0x000000000043e9cc in ?? () #4 0x000000000040647d in ?? () #5 0x0000000000405863 in ?? () #6 0x00007ffff6fc3be5 in __libc_start_main () from /lib64/libc.so.6 #7 0x0000000000405cd5 in ?? ()

$ git --version git version 1.8.4.5 $ rpm -q -a|grep '^git' git-email-1.8.4.5-3.8.4.x86_64 gitg-0.2.7-3.1.4.x86_64 git-cvs-1.8.4.5-3.8.4.x86_64 git-svn-1.8.4.5-3.8.4.x86_64 git-web-1.8.4.5-3.8.4.x86_64 git-gui-1.8.4.5-3.8.4.x86_64 gitg-lang-0.2.7-3.1.4.noarch git-1.8.4.5-3.8.4.x86_64 git-core-1.8.4.5-3.8.4.x86_64 gitk-1.8.4.5-3.8.4.x86_64

$ head -n 300 /etc/*eleas* ==> /etc/SuSE-release <== openSUSE 13.1 (x86_64) VERSION = 13.1 CODENAME = Bottle # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead

==> /etc/lsb-release <== LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"

==> /etc/lsb-release.d <== head: error reading '/etc/lsb-release.d': Is a directory

==> /etc/os-release <== NAME=openSUSE VERSION="13.1 (Bottle)" VERSION_ID="13.1" PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:13.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse"

On Sun, May 31, 2015 at 1:26 PM, Christian Couder <christian.couder@gmail.com> wrote:

Show 28 quoted lines
> On Sun, May 31, 2015 at 9:13 PM, Bruce Korb <bruce.korb@gmail.com> wrote:
>> $ git format-patch -o patches --ignore-if-in-upstream
>> 14949fa8f39d29e44b43f4332ffaf35f11546502..2de9eef391259dfc8748dbaf76a5d55427f37b0d
>> Segmentation fault
>> /u/gnu/proj/gnu-pw-mgr
>> $ git format-patch -o patches
>> 14949fa8f39d29e44b43f4332ffaf35f11546502..2de9eef391259dfc8748dbaf76a5d55427f37b0d
>> patches/0001-remove-dead-code.patch
>> patches/0002-dead-code-removal.patch
>> patches/0003-add-sort-pw-cfg-program.patch
>> patches/0004-add-doc-for-sort-pw-cfg.patch
>> patches/0005-clean-up-doc-makefile.patch
>> patches/0006-clean-up-doc-makefile.patch
>> patches/0007-happy-2015-and-add-delete-option.patch
>> patches/0008-fix-doc-Makefile.am.patch
>> patches/0009-re-fix-copyright.patch
>> patches/0010-finish-debugging-remove_pwid.patch
>> patches/0011-only-update-file-if-something-was-removed.patch
>> patches/0012-update-NEWS.patch
>> patches/0013-bootstrap-cleanup.patch
>
> Could you tell us which git version you are using? You can use "git --version".
> The operating system you are using could also be useful.
> And maybe you could also run git under gdb and give us the output of
> the "bt" (backtrace) gdb command when it crashes?
>
> Thanks,
> Christian.
Previous: Christian CouderNext: Bruce Korb
Message 3 of 21 in “seg fault in "git format-patch"”
  1. Bruce KorbMay 31, 2015
  2. Christian CouderMay 31, 2015
  3. Bruce KorbMay 31, 2015
  4. Bruce KorbMay 31, 2015
  5. Christian CouderMay 31, 2015
  6. Christian CouderMay 31, 2015
  7. Christian CouderJun 1, 2015
  8. format-patch: dereference tags with --ignore-if-in-upstreambrian m. carlson, Jun 1, 2015
  9. Jeff KingJun 1, 2015
  10. brian m. carlsonJun 1, 2015
  11. Jeff KingJun 1, 2015
  12. Junio C HamanoJun 1, 2015
  13. Junio C HamanoJun 1, 2015
  14. Jeff KingJun 1, 2015
  15. Junio C HamanoJun 1, 2015
  16. brian m. carlsonJun 1, 2015
  17. Junio C HamanoJun 1, 2015
  18. Junio C HamanoJun 1, 2015
  19. Christian CouderJun 1, 2015
  20. Christian CouderJun 1, 2015
  21. Bruce KorbJun 1, 2015

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.