From: Alex Riesen <alexander.riesen@cetitec.com>
To: <git@vger.kernel.org>
Subject: Crashes in t/t4058-diff-duplicates.sh
Date: Thu, 5 May 2022 10:53:45 +0200 [thread overview]
Message-ID: <YnOQmVFVRuqnanMi@pflmari> (raw)
Hi,
the test t4058-diff-duplicates reliably dumps core here:
CORE-OF: /home/xxx/yyyyyyy/git/git
DUMPCORE_ARGS:
9975
9975
11
!home!xxx!yyyyyyy!git!git
DUMPCORE_ARGS_END
PROC-9975:
root -> /
cwd -> /home/xxx/yyyyyyy/git/t/trash directory.t4058-diff-duplicates
fd/0 -> /dev/null
fd/1 -> /dev/pts/7
fd/2 -> /dev/pts/7
fd/3 -> /dev/pts/7
fd/4 -> /dev/pts/7
fd/5 -> /dev/pts/7
fd/6 -> /dev/pts/7
fd/7 -> /dev/pts/7
fd/8 -> /home/xxx/yyyyyyy/git/t/trash directory.t4058-diff-duplicates/.git/index.lock
PROC-9975_END
ENVIRONMENT:
GIT_COMMITTER_NAME=C O Mitter
USER=xxx
GIT_AUTHOR_EMAIL=author@example.com
GIT_TEMPLATE_DIR=/home/xxx/yyyyyyy/git/templates/blt
XDG_SEAT=seat0
TAR_OPTIONS=--atime-preserve
GIT_TEST_DISALLOW_ABBREVIATED_OPTIONS=true
_x05=[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]
GIT_EXEC_PATH=/home/xxx/yyyyyyy/git
SSH_AGENT_PID=3796
XDG_SESSION_TYPE=x11
GIT_CEILING_DIRECTORIES=/home/xxx/yyyyyyy/git/t/trash directory.t4058-diff-duplicates/..
USER_HOME=/home/xxx
SHLVL=1
LESS=RSX
HOME=/home/xxx/yyyyyyy/git/t/trash directory.t4058-diff-duplicates
OLDPWD=/home/xxx/yyyyyyy/git/t
GIT_AUTHOR_DATE=1112354055 +0200
_x35=[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]
DESKTOP_SESSION=lightdm-xsession
ZERO_OID=0000000000000000000000000000000000000000
OID_REGEX=[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
PAGER=cat
GIT_AUTHOR_NAME=A U Thor
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qjoVRmyD3o,guid=8cdc53ee0598990a001ad838627364a4
u200c=
COLORTERM=rxvt-xpm
test_prereq=
GNOME_KEYRING_CONTROL=/run/user/1000/keyring
GIT_TEST_MERGE_ALGORITHM=ort
EMPTY_BLOB=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GITPERLLIB=/home/xxx/yyyyyyy/git/perl/build/lib:/home/xxx/yyyyyyy/git/perl/build/lib
LOGNAME=xxx
GIT_ATTR_NOSYSTEM=1
WINDOWID=56623113
_=./t4058-diff-duplicates.sh
GIT_TEST_CHECK_CACHE_TREE=false
XDG_SESSION_CLASS=user
COLORFGBG=15;default
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
TERM=dumb
XDG_SESSION_ID=2
COLUMNS=80
GIT_TRACE_BARE=1
USER_TERM=rxvt-unicode-256color
GIT_MERGE_VERBOSITY=5
PATH=/home/xxx/yyyyyyy/git/bin-wrappers:/home/xxx/yyyyyyy/git/bin-wrappers:/home/xxx/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
LESSCHARSET=latin1
GDM_LANG=en_US.utf8
GIT_CONFIG_NOSYSTEM=1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=:0
GIT_DEFAULT_HASH=sha1
LANG=C
LSAN_OPTIONS=fast_unwind_on_malloc=0:strip_path_prefix=/home/xxx/yyyyyyy/git/:abort_on_error=1
GIT_TRACE2_EVENT_NESTING=100
GNUPGHOME=/home/xxx/yyyyyyy/git/t/trash directory.t4058-diff-duplicates/gnupg-home-not-used
SHELL=/bin/bash
MALLOC_CHECK_=3
GIT_TEXTDOMAINDIR=/home/xxx/yyyyyyy/git/po/build/locale
EMPTY_TREE=4b825dc642cb6eb9a060e54bf8d69288fbee4904
MALLOC_PERTURB_=165
OSTYPE=linux-gnu
ASAN_OPTIONS=detect_leaks=0:strip_path_prefix=/home/xxx/yyyyyyy/git/:abort_on_error=1
GIT_COMMITTER_EMAIL=committer@example.com
PWD=/home/xxx/yyyyyyy/git/t/trash directory.t4058-diff-duplicates
SHELL_PATH=/bin/sh
PERL_PATH=/usr/bin/perl
LC_ALL=C
GIT_MERGE_AUTOEDIT=no
LC_NUMERIC=C
TZ=UTC
GIT_COMMITTER_DATE=1112354055 +0200
LF=\n
MANPATH=:/home/xxx/share/man
EDITOR=:
GIT_TEST_FSYNC=0
ENVIRONMENT_END
PID_TRACE:
9975 (git) S /home/xxx/yyyyyyy/git/git merge update
cwd: /home/xxx/yyyyyyy/git/t/trash directory.t4058-diff-duplicates
9653 (t4058-diff-dupl) S /bin/sh ./t4058-diff-duplicates.sh -d -v -i
cwd: /home/xxx/yyyyyyy/git/t/trash directory.t4058-diff-duplicates
4932 (bash) S bash
cwd: /home/xxx/yyyyyyy/git/t
4924 (urxvt) S urxvt
cwd: /home/xxx
1 (init) S init [2]
cwd: /
PID_TRACE_END
GDB:
Reading symbols from /home/xxx/yyyyyyy/git/git...
[New LWP 9975]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/xxx/yyyyyyy/git/git merge update'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00005629e52f4a00 in traverse_by_cache_tree (info=0x7fff27e7dba8,
info=0x7fff27e7dba8, nr_names=2, nr_entries=4, pos=0)
at unpack-trees.c:807
807 len = ce_namelen(src[0]);
Threads:
Id Target Id Frame
* 1 Thread 0x7f408feb8740 (LWP 9975) 0x00005629e52f4a00 in traverse_by_cache_tree (info=0x7fff27e7dba8, info=0x7fff27e7dba8, nr_names=2, nr_entries=4, pos=0) at unpack-trees.c:807
Stack:
new_ce_len = <optimized out>
len = <optimized out>
rc = <optimized out>
o = 0x7fff27e7e930
tree_ce = 0x5629e596e7d0
ce_len = 240
i = 1
src = {0x5629e594a518, 0x5629e596e7d0, 0x5629e596e7d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
d = <optimized out>
src = {<optimized out>, <optimized out>, <optimized out>, <optimized out>, <optimized out>, <optimized out>, <optimized out>, <optimized out>, <optimized out>}
o = <optimized out>
tree_ce = <optimized out>
ce_len = <optimized out>
i = <optimized out>
d = <optimized out>
new_ce_len = <optimized out>
len = <optimized out>
rc = <optimized out>
#0 0x00005629e52f4a00 in traverse_by_cache_tree (info=0x7fff27e7dba8, info=0x7fff27e7dba8, nr_names=2, nr_entries=4, pos=0) at unpack-trees.c:807
#1 traverse_trees_recursive (n=n@entry=2, dirmask=dirmask@entry=3, df_conflicts=df_conflicts@entry=0, names=names@entry=0x7fff27e7df80, info=info@entry=0x7fff27e7e420) at unpack-trees.c:872
#2 0x00005629e52f5668 in unpack_callback (n=<optimized out>, mask=3, dirmask=3, names=0x7fff27e7df80, info=<optimized out>) at unpack-trees.c:1479
#3 0x00005629e52f3162 in traverse_trees (istate=0x5629e541c980 <the_index>, n=n@entry=2, t=t@entry=0x7fff27e7e6f0, info=info@entry=0x7fff27e7e420) at tree-walk.c:532
#4 0x00005629e52f82fa in unpack_trees (len=len@entry=2, t=t@entry=0x7fff27e7e6f0, o=o@entry=0x7fff27e7e930) at unpack-trees.c:1882
#5 0x00005629e523d2ae in checkout_fast_forward (r=0x5629e541caa0 <the_repo>, head=head@entry=0x5629e594be24, remote=remote@entry=0x5629e594be6c, overwrite_ignore=1) at merge.c:94
#6 0x00005629e5135742 in cmd_merge (argc=<optimized out>, argv=<optimized out>, prefix=<optimized out>) at builtin/merge.c:1578
#7 0x00005629e50c921b in run_builtin (argv=0x7fff27e7f9c0, argc=2, p=0x5629e53ead48 <commands+1608>) at git.c:465
#8 handle_builtin (argc=2, argv=0x7fff27e7f9c0) at git.c:719
#9 0x00005629e50ca53d in run_argv (argv=0x7fff27e7f700, argcp=0x7fff27e7f70c) at git.c:786
#10 cmd_main (argc=<optimized out>, argc@entry=3, argv=<optimized out>, argv@entry=0x7fff27e7f9b8) at git.c:917
#11 0x00005629e50c8f03 in main (argc=3, argv=0x7fff27e7f9b8) at common-main.c:56
GDB_END
end
P.S. dumpcore (the tool which produced this trace) is this: https://github.com/raalkml/dumpcore
next reply other threads:[~2022-05-05 8:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-05 8:53 Alex Riesen [this message]
[not found] ` <YnSWgDdxgm+XWiLt@nand.local>
2022-05-06 10:18 ` Crashes in t/t4058-diff-duplicates.sh Alex Riesen
2022-05-06 16:30 ` Junio C Hamano
2022-05-07 4:14 ` Elijah Newren
2022-05-09 15:23 ` Taylor Blau
2022-05-10 3:50 ` Elijah Newren
2022-05-09 12:51 ` Alex Riesen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YnOQmVFVRuqnanMi@pflmari \
--to=alexander.riesen@cetitec.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).