[Bug 267760] sysutils/lsof: Segmentation fault

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Nov 2022 16:00:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267760

            Bug ID: 267760
           Summary: sysutils/lsof: Segmentation fault
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler@FreeBSD.org
          Reporter: ronald@FreeBSD.org
          Assignee: ler@FreeBSD.org
             Flags: maintainer-feedback?(ler@FreeBSD.org)

Running lsof without arguments gives an error.

lsof-4.96.4,8

# gdb lsof
Reading symbols from lsof...                                                    
(No debugging symbols found in lsof)                                            
(gdb) run                                                                       
Starting program: /usr/local/sbin/lsof                                          

Program received signal SIGSEGV, Segmentation fault.                            
Invalid permissions for mapped object.                                          
memcpy () at
/home/ronald/dev/freebsd/src/contrib/arm-optimized-routines/string/aarch64/memcpy.S:175 
175             stp     D_l, D_h, [dst, 64]!                                    
(gdb) bt                                                                        
#0  memcpy () at
/home/ronald/dev/freebsd/src/contrib/arm-optimized-routines/string/aarch64/memcpy.S:175
#1  0x0000000000218be4 in ?? ()
#2  0x0000000500000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 


# uname -a
FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1 main-aba921bd9e-dirty: Sat
Oct 29 00:31:53 CEST 2022     GENERIC-NODEBUG arm64

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