/usr/bin/git:11:try_to_follow_renames:diff_tree_oid:queue_diffs:process_ranges_ordinary_commit:process_ranges_arbitrary_commit

Bug #1879961 reported by errors.ubuntu.com bug bridge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
git (Ubuntu)
Confirmed
High
Unassigned

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/.

Changed in git (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in git (Ubuntu):
status: New → Confirmed
Revision history for this message
suside (suside) wrote :

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@entry=0x5555558ef8bc, new_oid=new_oid@entry=0x5555558ef424, base=base@entry=0x7fffffffc7b0, opt=opt@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@entry=0x5555558ef8bc, new_oid=new_oid@entry=0x5555558ef424, base=base@entry=0x7fffffffc7b0, opt=opt@entry=0x7fffffffd098) at tree-diff.c:616
#1 0x000055555578039e in diff_tree_oid (old_oid=old_oid@entry=0x5555558ef8bc, new_oid=new_oid@entry=0x5555558ef424, base_str=base_str@entry=0x5555557fe1f2 "", opt=opt@entry=0x7fffffffd098) at tree-diff.c:710
#2 0x00005555556bcf9d in queue_diffs (range=range@entry=0x555555d78860, opt=opt@entry=0x7fffffffd098, queue=queue@entry=0x7fffffffc8a0, commit=commit@entry=0x5555558dd410, parent=parent@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@entry=0x7fffffffcb30, commit=commit@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@entry=0x7fffffffcb30, commit=commit@entry=0x5555558dd410) at revision.c:3917
#7 0x0000555555734439 in get_revision_1 (revs=revs@entry=0x7fffffffcb30) at revision.c:3995
#8 0x000055555573485b in get_revision_internal (revs=revs@entry=0x7fffffffcb30) at revision.c:4102
#9 0x00005555557349ae in get_revision (revs=revs@entry=0x7fffffffcb30) at revision.c:4176
#10 0x00005555555cc8b1 in cmd_log_walk (rev=rev@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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.