From owner-freebsd-ports-bugs@freebsd.org Wed Jan 6 01:23:16 2021 Return-Path: Delivered-To: freebsd-ports-bugs@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 2CC9C4D90E2 for ; Wed, 6 Jan 2021 01:23:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9WpC74f0z4SK6 for ; Wed, 6 Jan 2021 01:23:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id F2F374D9047; Wed, 6 Jan 2021 01:23:15 +0000 (UTC) Delivered-To: ports-bugs@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 F2BDD4D9046 for ; Wed, 6 Jan 2021 01:23:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D9WpC5ngtz4SnQ for ; Wed, 6 Jan 2021 01:23:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B9DD01617C for ; Wed, 6 Jan 2021 01:23:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1061NFe1081829 for ; Wed, 6 Jan 2021 01:23:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1061NFir081828 for ports-bugs@FreeBSD.org; Wed, 6 Jan 2021 01:23:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 244204] ports-mgmt/dialog4ports - Segmentation fault after upgrade to 13.x-currrent Date: Wed, 06 Jan 2021 01:23:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kumba@gentoo.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2021 01:23:16 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244204 --- Comment #13 from Joshua Kinard --- > Hi Joshua, > Can you try attached patch? > Need put it into /usr/ports/ports-mgmt/dialog4ports/files and rebuild d4p= like=20 > make -C /usr/ports/ports-mgmt/dialog4ports clean build deinstall install > Actually, I still cant reproduce problem ;( > Thanks in advance. >=20 > --- mixedlist.c_old 2021-01-03 16:01:52.851092000 +0300 > +++ mixedlist.c 2021-01-03 16:06:04.266150000 +0300 > @@ -652,12 +652,12 @@ > break; > case DLGK_ITEM_PREV: > i =3D choice - 1; > + if (choice =3D=3D 0 && scrollamt =3D=3D 0) > + continue; > if (items[scrollamt + i].type =3D=3D ITEM_SEPARATOR && (scrollamt = + i) =3D=3D 0) > i++; > else if (items[scrollamt + i].type =3D=3D ITEM_SEPARATOR) > i--; > - if (choice =3D=3D 0 && scrollamt =3D=3D 0) > - continue; > break; > case DLGK_ITEM_NEXT: > i =3D choice + 1;>=20 > --=20 > With Best Regards, > Ilya A. Arkhipov Just rebuilt dialog4ports with this patch, and the issue is not reproducible anymore. Not sure what's different about my environment, but I can tell you some parameters and maybe one of them is a factor: - PuTTY v0.74 from a Windows desktop to the FreeBSD system - Shell is /usr/local/bin/bash - TERM is xterm-256color - LANG is en_US.ISO8859-15 - MM_CHARSET is ISO-8859-15 - /usr/ports is mounted over NFSv4.1 onto the target system (the NFS serv= er also runs FreeBSD and reproduces the same issue locally) --=20 You are receiving this mail because: You are the assignee for the bug.=