From owner-freebsd-questions@freebsd.org Fri Aug 13 17:32:06 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06F8565BFDF for ; Fri, 13 Aug 2021 17:32:06 +0000 (UTC) (envelope-from dvoich@optonline.net) Received: from mta1.srv.hcvlny.cv.net (mta1.srv.hcvlny.cv.net [167.206.4.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.optonline.net", Issuer "DigiCert Global CA G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GmVx123GPz4Zdn for ; Fri, 13 Aug 2021 17:32:05 +0000 (UTC) (envelope-from dvoich@optonline.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=optonline.net; s=dkim-001; t=1628875924; bh=lmOpPEU3TvC+gaqsA7Pf0PWegOS8XE7qpLebz+ccVmo=; h=Date:From:To:Subject:Message-Id; b=Vzb0PUN1IE1usX6GF6zNWmMcXiE020bYDUQiuQscBoMKuFuBkhqMGDYt4ImkqvN1A WQ+5aEeHP7wdJ6xZgasJvkm0sskdG55n+3R5rcV8B28mJqyQpoSQ3m5rJeiZod/tvR p+9lC7pltQA9Wlt9rO5Wo/M5YGqh573oAfWJGzlbQ1ZC2KznNYt7tO54PqdaCiBlGW CYVJbat8YaAr4zX6pVfvvYSqd5D1b6cnKauQ2wrIBk+3ErI5ujSIg5AajmJ1JNFkdd 8UcWgSWeLf8i+ra5xgNONX4vGNmG37v3+vfDFpjkH/pXmefrVIOXaoWnEqfWKnuKLd ig15V/rdLv3kw== X-Content-Analysis: v=2.3 cv=KI3B8GNo c=1 sm=1 tr=0 a=HwdfnXRxwAscIlw0plT8Bw==:117 a=HwdfnXRxwAscIlw0plT8Bw==:17 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=s9oXJcMGAAAA:8 a=dRjuHGetk34f6FNnDXMA:9 a=wPNLvfGTeEIA:10 a=cNNliUDrGJfcKjVfkxUC:22 Received: from [24.185.145.223] ([24.185.145.223:59008] helo=happy.dwarf7.net) by mta1.srv.hcvlny.cv.net (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 35/6A-01746-49CA6116; Fri, 13 Aug 2021 13:32:04 -0400 Date: Fri, 13 Aug 2021 13:32:02 -0400 From: Vlad Markov To: freebsd-questions@freebsd.org Subject: Re: gitup is dumping core Message-Id: <20210813133202.200858a5f2ffd59177d96a13@optonline.net> In-Reply-To: References: <20210812230535.89ca0a1e6133b1330840d10c@optonline.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4GmVx123GPz4Zdn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=optonline.net header.s=dkim-001 header.b=Vzb0PUN1; dmarc=none; spf=pass (mx1.freebsd.org: domain of dvoich@optonline.net designates 167.206.4.196 as permitted sender) smtp.mailfrom=dvoich@optonline.net X-Spamd-Result: default: False [-3.88 / 15.00]; FREEMAIL_FROM(0.00)[optonline.net]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:167.206.4.192/27]; DKIM_TRACE(0.00)[optonline.net:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[24.185.145.223:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[optonline.net]; ASN(0.00)[asn:6128, ipnet:167.206.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.78)[-0.781]; R_DKIM_ALLOW(-0.20)[optonline.net:s=dkim-001]; RCVD_IN_DNSWL_LOW(-0.10)[167.206.4.196:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[optonline.net]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[optonline.net:dkim]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2021 17:32:06 -0000 On Fri, 13 Aug 2021 07:17:05 +0100 Graham Perrin 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, b=3D0x00000008057c0350) at gitup.c:196:10 frame #2: 0x000000000021004c gitup`load_object [inlined] Tree_Local_Pat= h_RB_FIND(head=3D, elm=3D) 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= ) at gitup.c:2432:4 frame #5: 0x000000000020b807 gitup`main(argc=3D, argv=3D) at gitup.c:3896:3 frame #6: 0x00000000002060f0 gitup`_start(ap=3D, cleanup= =3D) at crt1_c.c:75:7 (lldb)=20