"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Mikhail <mp39590@gmail.com>
Subject:
crash in 'got log' (no reliable way to reproduce)
To:
gameoftrees@openbsd.org
Date:
Sat, 1 Apr 2023 13:04:53 +0300

Download raw body.

Thread
core:/sys$ got log -p  dev/pci/if_iwx.c  | less
/updatechan
n
n
(i suspect next pressings should be done quickly)
<ctrl-c>
q

Core is here: https://people.freebsd.org/~misha/got.core

Reading symbols from got...
[New process 31956]
Core was generated by `got'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000030e9bd80ec5 in got_object_blob_close (blob=0x0) at /home/misha/work/got/got/../lib/object.c:360
360             free(blob->read_buf);
gef➤  bt
#0  0x0000030e9bd80ec5 in got_object_blob_close (blob=0x0) at /home/misha/work/got/got/../lib/object.c:360
#1  0x0000030e9bd6427a in diff_blobs (blob_id1=0x3116c2de400, blob_id2=0x3116c2decc0, path=0x310f0af3480 "//sys/dev/pci/if_iwx.c", diff_context=0x3, ignore_whitespace=0x0, force_text_diff=0x0, dsa=0x0,
    repo=0x310bb102460, outfile=0x31158fac818 <__sF+152>) at /home/misha/work/got/got/got.c:3711
#2  0x0000030e9bd63df3 in print_patch (commit=0x3111c3c4d00, id=0x70e3d0f6cfe0, path=0x310f0af3480 "//sys/dev/pci/if_iwx.c", diff_context=0x3, dsa=0x0, repo=0x310bb102460,
    outfile=0x31158fac818 <__sF+152>) at /home/misha/work/got/got/got.c:3929
#3  0x0000030e9bd639b2 in print_commit (commit=0x3111c3c4d00, id=0x70e3d0f6cfe0, repo=0x310bb102460, path=0x310f0af3480 "//sys/dev/pci/if_iwx.c", changed_paths=0x0, diffstat=0x0, show_patch=0x1,
    diff_context=0x3, refs_idmap=0x310f3469400, custom_refs_str=0x0, prefix=0x0) at /home/misha/work/got/got/got.c:4348
#4  0x0000030e9bd624b3 in print_commits (root_id=0x3118b13d920, end_id=0x0, repo=0x310bb102460, path=0x310f0af3480 "//sys/dev/pci/if_iwx.c", show_changed_paths=0x0, show_diffstat=0x0, show_patch=0x1,
    search_pattern=0x0, diff_context=0x3, limit=0x0, log_branches=0x0, reverse_display_order=0x0, refs_idmap=0x310f3469400, one_line=0x0, tmpfile=0x0) at /home/misha/work/got/got/got.c:4469
#5  0x0000030e9bd4f02a in cmd_log (argc=0x1, argv=0x70e3d0f6d360) at /home/misha/work/got/got/got.c:4777
#6  0x0000030e9bd497f3 in main (argc=0x3, argv=0x70e3d0f6d350) at /home/misha/work/got/got/got.c:261