gitup is dumping core
Vlad Markov
dvoich at optonline.net
Fri Aug 13 17:32:06 UTC 2021
On Fri, 13 Aug 2021 07:17:05 +0100
Graham Perrin <grahamperrin at gmail.com> wrote:
> On 13/08/2021 04:05, Vlad Markov wrote:
> > happy$ uname -a
> > FreeBSD happy 13.0-RELEASE ?
>
> Try a system update.
>
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 at amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/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 at happy:/usr/ports/net/gitup/work/gitup-0.95 # lldb -c gitup.core -- gitup
(lldb) target create "gitup" --core "gitup.core"
Core file '/usr/ports/net/gitup/work/gitup-0.95/gitup.core' (x86_64) was loaded.
(lldb) thread backtrace all
* thread #1, name = 'gitup', stop reason = signal SIGSEGV
* frame #0: 0x0000000800794b2c libc.so.7`strcmp + 60
frame #1: 0x0000000000210058 gitup`load_object [inlined] file_node_compare_path(a=<unavailable>, b=0x00000008057c0350) at gitup.c:196:10
frame #2: 0x000000000021004c gitup`load_object [inlined] Tree_Local_Path_RB_FIND(head=<unavailable>, elm=<unavailable>) at gitup.c:249
frame #3: 0x0000000000210030 gitup`load_object(session=0x00007fffffff8860, hash="dcd24b8b8198561695a2d600e64013d04a8c438c", path=0x0000000000000000) at gitup.c:1078
frame #4: 0x000000000020d5ff gitup`apply_deltas(session=<unavailable>) at gitup.c:2432:4
frame #5: 0x000000000020b807 gitup`main(argc=<unavailable>, argv=<unavailable>) at gitup.c:3896:3
frame #6: 0x00000000002060f0 gitup`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1_c.c:75:7
(lldb)
More information about the freebsd-questions
mailing list