[Bug 240770] editors/hnb: Fixes runtime segfaults in amd64 platform

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 23 12:57:32 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240770

            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 at FreeBSD.org
          Reporter: fox at FreeBSD.org
                CC: amdmi3 at FreeBSD.org
          Assignee: amdmi3 at FreeBSD.org
             Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)
 Attachment #207740 maintainer-approval?(amdmi3 at FreeBSD.org)
             Flags:
                CC: amdmi3 at FreeBSD.org
             Flags: maintainer-feedback?(amdmi3 at FreeBSD.org)

Created attachment 207740
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207740&action=edit
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 

ONLY_FOR_ARCHS=        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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list