Re: lsof crashes in Arm Optimized Routines

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 18 Nov 2022 00:57:20 UTC
> On Nov 15, 2022, at 03:33, Ronald Klop <ronald-lists@klop.ws> wrote:
> 
> Sorry for the noise.
> 
> But I cannot reproduce this today. I can scroll back in my terminal and see the command and error from yesterday, but running the same again just works.

FYI: 

I do not have specifics any more, but I'll note that I've seen
such lsof behavior of failing at one time and later working
without any installed updates to it or the system between. I
rarely use lsof and, so, this was not recently.

I've no clue how to cause the failure(s) to show up. I've no
clue how common the issue is. But, over time, it is not just
you.

> 
> Van: Ronald Klop <ronald-lists@klop.ws>
> Datum: maandag, 14 november 2022 21:53
> Aan: freebsd-arm@FreeBSD.org, Andrew Turner <andrew@FreeBSD.org>
> Onderwerp: lsof crashes in Arm Optimized Routines
> Hi,
> 
> See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267760 : Segmentation fault in 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]!
> 
> I also remembered this change: https://cgit.freebsd.org/src/log/contrib/arm-optimized-routines?showmsg=1 about Arm Optimized Routines.
> 
> Could this be related? What can I do to help debug this?
> 


  
===
Mark Millard
marklmi at yahoo.com