[Bug 1879961] Re: /usr/bin/git:11:try_to_follow_renames:diff_tree_oid:queue_diffs:process_ranges_ordinary_commit:process_ranges_arbitrary_commit
suside
1879961 at bugs.launchpad.net
Thu Oct 29 12:54:25 UTC 2020
Steps to reproduce
1. commit newfile.txt with at least one line
2. git log --follow -L 1,1:newfile.txt -- newfile.txt
Stack trace on git rev f9b6481a:
Program received signal SIGSEGV, Segmentation fault.
try_to_follow_renames (old_oid=old_oid at entry=0x5555558ef8bc, new_oid=new_oid at entry=0x5555558ef424, base=base at entry=0x7fffffffc7b0, opt=opt at entry=0x7fffffffd098) at tree-diff.c:616
616 diff_opts.single_follow = opt->pathspec.items[0].match;
(gdb) bt
#0 try_to_follow_renames (old_oid=old_oid at entry=0x5555558ef8bc, new_oid=new_oid at entry=0x5555558ef424, base=base at entry=0x7fffffffc7b0, opt=opt at entry=0x7fffffffd098) at tree-diff.c:616
#1 0x000055555578039e in diff_tree_oid (old_oid=old_oid at entry=0x5555558ef8bc, new_oid=new_oid at entry=0x5555558ef424, base_str=base_str at entry=0x5555557fe1f2 "", opt=opt at entry=0x7fffffffd098) at tree-diff.c:710
#2 0x00005555556bcf9d in queue_diffs (range=range at entry=0x555555d78860, opt=opt at entry=0x7fffffffd098, queue=queue at entry=0x7fffffffc8a0, commit=commit at entry=0x5555558dd410, parent=parent at entry=0x5555558dd458) at line-log.c:859
#3 0x00005555556bee40 in process_ranges_ordinary_commit (range=0x555555d78860, commit=0x5555558dd410, rev=0x7fffffffcb30) at line-log.c:1192
#4 line_log_process_ranges_arbitrary_commit (rev=rev at entry=0x7fffffffcb30, commit=commit at entry=0x5555558dd410) at line-log.c:1274
#5 0x000055555573421b in get_commit_action (revs=0x7fffffffcb30, commit=0x5555558dd410) at revision.c:3817
#6 0x00005555557342c9 in simplify_commit (revs=revs at entry=0x7fffffffcb30, commit=commit at entry=0x5555558dd410) at revision.c:3917
#7 0x0000555555734439 in get_revision_1 (revs=revs at entry=0x7fffffffcb30) at revision.c:3995
#8 0x000055555573485b in get_revision_internal (revs=revs at entry=0x7fffffffcb30) at revision.c:4102
#9 0x00005555557349ae in get_revision (revs=revs at entry=0x7fffffffcb30) at revision.c:4176
#10 0x00005555555cc8b1 in cmd_log_walk (rev=rev at entry=0x7fffffffcb30) at builtin/log.c:415
#11 0x00005555555cd788 in cmd_log (argc=7, argv=0x7fffffffd9d0, prefix=0x0) at builtin/log.c:753
#12 0x00005555555721a5 in run_builtin (argv=<optimized out>, argc=<optimized out>, p=<optimized out>) at git.c:450
#13 handle_builtin (argc=<optimized out>, argv=<optimized out>) at git.c:700
#14 0x0000555555573314 in run_argv (argv=0x7fffffffd720, argcp=0x7fffffffd72c) at git.c:767
#15 cmd_main (argc=<optimized out>, argv=<optimized out>) at git.c:898
#16 0x0000555555571d3e in main (argc=8, argv=0x7fffffffd9c8) at common-main.c:52
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1879961
Title:
/usr/bin/git:11:try_to_follow_renames:diff_tree_oid:queue_diffs:process_ranges_ordinary_commit:process_ranges_arbitrary_commit
Status in git package in Ubuntu:
Confirmed
Bug description:
The Ubuntu Error Tracker has been receiving reports about a problem regarding git. This problem was most recently seen with package version 1:2.25.1-1ubuntu3, the problem page at https://errors.ubuntu.com/problem/529e094804f4dfbef971163327e1f17044af7985 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1879961/+subscriptions
More information about the foundations-bugs
mailing list