Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Aug 2021 13:32:02 -0400
From:      Vlad Markov <dvoich@optonline.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: gitup is dumping core
Message-ID:  <20210813133202.200858a5f2ffd59177d96a13@optonline.net>
In-Reply-To: <ffefb062-4d90-2281-c7c6-1b593585a205@gmail.com>
References:  <20210812230535.89ca0a1e6133b1330840d10c@optonline.net> <ffefb062-4d90-2281-c7c6-1b593585a205@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Aug 2021 07:17:05 +0100
Graham Perrin <grahamperrin@gmail.com> wrote:

> On 13/08/2021 04:05, Vlad Markov wrote:
> > happy$ uname -a
> > FreeBSD happy 13.0-RELEASE ?
>=20
> Try a system update.
>=20
That did not work.

FreeBSD happy 13.0-RELEASE-p3 FreeBSD 13.0-RELEASE-p3 #0: Tue Jun 29 19:46:=
20 UTC 2021     root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.a=
md64/sys/GENERIC  amd64

I deinstalled and then installed gitup after the update.

It still core dumps. I guess I need to build it with debugging symbols and =
see what strings are being compared. Here is the dump from that effort.


root@happy:/usr/ports/net/gitup/work/gitup-0.95 # lldb -c gitup.core -- git=
up
(lldb) target create "gitup" --core "gitup.core"
Core file '/usr/ports/net/gitup/work/gitup-0.95/gitup.core' (x86_64) was lo=
aded.

(lldb) thread backtrace all
* thread #1, name =3D 'gitup', stop reason =3D signal SIGSEGV
  * frame #0: 0x0000000800794b2c libc.so.7`strcmp + 60
    frame #1: 0x0000000000210058 gitup`load_object [inlined] file_node_comp=
are_path(a=3D<unavailable>, b=3D0x00000008057c0350) at gitup.c:196:10
    frame #2: 0x000000000021004c gitup`load_object [inlined] Tree_Local_Pat=
h_RB_FIND(head=3D<unavailable>, elm=3D<unavailable>) at gitup.c:249
    frame #3: 0x0000000000210030 gitup`load_object(session=3D0x00007fffffff=
8860, hash=3D"dcd24b8b8198561695a2d600e64013d04a8c438c", path=3D0x000000000=
0000000) at gitup.c:1078
    frame #4: 0x000000000020d5ff gitup`apply_deltas(session=3D<unavailable>=
) at gitup.c:2432:4
    frame #5: 0x000000000020b807 gitup`main(argc=3D<unavailable>, argv=3D<u=
navailable>) at gitup.c:3896:3
    frame #6: 0x00000000002060f0 gitup`_start(ap=3D<unavailable>, cleanup=
=3D<unavailable>) at crt1_c.c:75:7
(lldb)=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210813133202.200858a5f2ffd59177d96a13>