From owner-freebsd-ports-bugs@freebsd.org Mon Sep 23 12:57:32 2019 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 38092F429C for ; Mon, 23 Sep 2019 12:57:32 +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 46cPVh0pMLz40Sv for ; Mon, 23 Sep 2019 12:57:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1B8A0F429B; Mon, 23 Sep 2019 12:57:32 +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 1B512F429A for ; Mon, 23 Sep 2019 12:57:32 +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) server-signature RSA-PSS (4096 bits) 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 46cPVg709yz40Ss for ; Mon, 23 Sep 2019 12:57:31 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D427FF2B5 for ; Mon, 23 Sep 2019 12:57:31 +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 x8NCvVuV012227 for ; Mon, 23 Sep 2019 12:57:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8NCvVQw012226 for ports-bugs@FreeBSD.org; Mon, 23 Sep 2019 12:57:31 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 240770] editors/hnb: Fixes runtime segfaults in amd64 platform Date: Mon, 23 Sep 2019 12:57:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: fox@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: amdmi3@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: 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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Sep 2019 12:57:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240770 Bug ID: 240770 Summary: editors/hnb: Fixes runtime segfaults in amd64 platform Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: amdmi3@FreeBSD.org Reporter: fox@FreeBSD.org CC: amdmi3@FreeBSD.org Assignee: amdmi3@FreeBSD.org Flags: maintainer-feedback?(amdmi3@FreeBSD.org) Attachment #207740 maintainer-approval?(amdmi3@FreeBSD.org) Flags: CC: amdmi3@FreeBSD.org Flags: maintainer-feedback?(amdmi3@FreeBSD.org) Created attachment 207740 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207740&action= =3Dedit Patch to fix runtime segfaults in amd64 platform I have managed to fix the runtime segfault caused when trying to run hnb in amd6 systems. This causes hnb to run normally in amd64 systems and the=20 ONLY_FOR_ARCHS=3D i386 Can be taken out. The root cause of the segfaults were they were using direct 32bit pointer dereferencing which has been fixed to correctly type cast now. I tested this out in FreeBSD 12.0-RELEASE-p10 (i386 and amd64) and noticed = that it works as expected. A minor issue is in displaying unicode characters and= it seems to fail at that and I do not know how to fix this at the moment. I have attached a patch which fixes the above runtime segfault issue. Thank you. --=20 You are receiving this mail because: You are the assignee for the bug.=