Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2019 12:57:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240770] editors/hnb: Fixes runtime segfaults in amd64 platform
Message-ID:  <bug-240770-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



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